Skip to content

[CVE-2022-48560] Use-after-free in heappushpop() of heapq module #83602

@Dk0n9

Description

@Dk0n9
mannequin
BPO 39421
Nosy @vstinner, @ned-deily, @alex, @methane, @corona10, @pablogsal, @miss-islington, @Dk0n9
PRs
  • bpo-39421: Fix posible crash in heapq with custom comparison operators #18118
  • [3.8] bpo-39421: Fix posible crash in heapq with custom comparison operators (GH-18118) #18144
  • [3.7] bpo-39421: Fix posible crash in heapq with custom comparison operators (GH-18118) #18145
  • [3.6] bpo-39421: Fix posible crash in heapq with custom comparison operators (GH-18118) #18146
  • [3.8] bpo-39421: Fix posible crash in heapq with custom comparison operators (GH-18118) #18149
  • 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 2020-01-23.15:23:27.929>
    created_at = <Date 2020-01-22.15:11:46.489>
    labels = ['extension-modules', '3.7', '3.8', '3.9', 'type-crash']
    title = 'Use-after-free in heappushpop() of heapq module'
    updated_at = <Date 2020-01-23.15:23:27.928>
    user = 'https://github.com/Dk0n9'

    bugs.python.org fields:

    activity = <Date 2020-01-23.15:23:27.928>
    actor = 'pablogsal'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-01-23.15:23:27.929>
    closer = 'pablogsal'
    components = ['Extension Modules']
    creation = <Date 2020-01-22.15:11:46.489>
    creator = 'dk0n9'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 39421
    keywords = ['patch', 'security_issue']
    message_count = 10.0
    messages = ['360474', '360475', '360477', '360478', '360479', '360484', '360557', '360558', '360561', '360564']
    nosy_count = 8.0
    nosy_names = ['vstinner', 'ned.deily', 'alex', 'methane', 'corona10', 'pablogsal', 'miss-islington', 'dk0n9']
    pr_nums = ['18118', '18144', '18145', '18146', '18149']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue39421'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of life3.9 (EOL)end of lifeextension-modulesC modules in the Modules dirtype-crashA hard crash of the interpreter, possibly with a core dump

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions