Skip to content

UAF when writing to a bytearray with an element implementing __index__ with side-effects #91153

Open
@JelleZijlstra

Description

@JelleZijlstra
BPO 46997
Nosy @gvanrossum, @JelleZijlstra

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 = None created_at = <Date 2022-03-13.02:05:03.024> labels = ['interpreter-core', '3.9', '3.10', '3.11'] title = 'Invalid memory write in bytearray' updated_at = <Date 2022-03-13.02:14:01.825> user = 'https://github.com/JelleZijlstra'

bugs.python.org fields:

activity = <Date 2022-03-13.02:14:01.825> actor = 'JelleZijlstra' assignee = 'none' closed = False closed_date = None closer = None components = ['Interpreter Core'] creation = <Date 2022-03-13.02:05:03.024> creator = 'JelleZijlstra' dependencies = [] files = [] hgrepos = [] issue_num = 46997 keywords = [] message_count = 2.0 messages = ['415021', '415022'] nosy_count = 2.0 nosy_names = ['gvanrossum', 'JelleZijlstra'] pr_nums = [] priority = 'normal' resolution = None stage = None status = 'open' superseder = None type = None url = 'https://bugs.python.org/issue46997' versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

Linked PRs

Metadata

Metadata

Assignees

Labels

interpreter-core(Objects, Python, Grammar, and Parser dirs)type-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