FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.13] gh-126037: fix UAF in `xml.etree.ElementTree.Element.find*` when current mutations happen (#127964) by picnixz · Pull Request #131931 · python/cpython · GitHub

/ cpython Public

[3.13] gh-126037: fix UAF in xml.etree.ElementTree.Element.find* when current mutations happen (#127964) - #131931

Merged
picnixz merged 1 commit into
python:3.13from
picnixz:bp-313/c57623c221d46daeaedfbf2b32d041fde0c882de/xml-evil-find-126037
Mar 31, 2025
Merged

[3.13] gh-126037: fix UAF in xml.etree.ElementTree.Element.find* when current mutations happen (#127964)#131931
picnixz merged 1 commit into
python:3.13from
picnixz:bp-313/c57623c221d46daeaedfbf2b32d041fde0c882de/xml-evil-find-126037

Conversation

picnixz commented Mar 31, 2025
edited
Loading

Copy link
Copy Markdown
Member

We fix a use-after-free in the find, findtext and findall methods of xml.etree.ElementTree.Element objects that can be triggered when the tag to find implements an __eq__ method that mutates the element being queried.
(cherry picked from commit c57623c)

…n concurrent mutations happen (python#127964)

We fix a use-after-free in the `find`, `findtext` and `findall` methods of `xml.etree.ElementTree.Element`
objects that can be triggered when the tag to find implements an `__eq__` method that mutates the
element being queried.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL