Skip to content

[CVE-2018-20406] memory exhaustion in Modules/_pickle.c:1393 #78837

@httpsgithubcomxcainiao

Description

@httpsgithubcomxcainiao
BPO 34656
Nosy @vstinner, @larryhastings, @ned-deily
PRs
  • bpo-34656: Avoid relying on signed overflow in _pickle memos. #9261
  • [3.7] closes bpo-34656: Avoid relying on signed overflow in _pickle memos. (GH-9261) #9465
  • [3.6] closes bpo-34656: Avoid relying on signed overflow in _pickle memos. (GH-9261) #9466
  • [3.5] bpo-34656: Avoid relying on signed overflow in _pickle memos (GH-9261) #11869
  • [3.4] bpo-34656: Avoid relying on signed overflow in _pickle memos (GH-9261) #11870
  • Files
  • poc
  • pk.py
  • CVE-2018-20406-pickle_LONG_BINPUT.patch: Patch updated for Python 3.4.*
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2019-02-26.00:41:36.072>
    created_at = <Date 2018-09-13.04:38:46.962>
    labels = ['type-security', '3.8', '3.7', 'library']
    title = '[CVE-2018-20406] memory exhaustion in Modules/_pickle.c:1393'
    updated_at = <Date 2019-05-10.18:14:59.140>
    user = 'https://github.com/httpsgithubcomxcainiao'

    bugs.python.org fields:

    activity = <Date 2019-05-10.18:14:59.140>
    actor = 'ned.deily'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-02-26.00:41:36.072>
    closer = 'larry'
    components = ['Library (Lib)']
    creation = <Date 2018-09-13.04:38:46.962>
    creator = 'shuoz'
    dependencies = []
    files = ['47801', '47802', '48073']
    hgrepos = []
    issue_num = 34656
    keywords = ['patch']
    message_count = 18.0
    messages = ['325230', '325231', '325430', '325937', '325938', '325939', '333292', '333294', '334108', '334179', '334183', '334208', '334209', '334267', '336381', '336508', '336568', '336589']
    nosy_count = 4.0
    nosy_names = ['vstinner', 'larry', 'ned.deily', 'dfmz77669']
    pr_nums = ['9261', '9465', '9466', '11869', '11870']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'security'
    url = 'https://bugs.python.org/issue34656'
    versions = ['Python 3.4', 'Python 3.5', 'Python 3.6', 'Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-securityA security issue

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions