Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.11] gh-115398: Expose Expat >=2.6.0 reparse deferral API (CVE-2023-52425) (GH-115623)#116268

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
gpshead merged 3 commits intopython:3.11fromhartwork:backport-6a95676-3.11
Mar 6, 2024

Conversation

hartwork
Copy link
Contributor

@hartworkhartwork commentedMar 3, 2024
edited by github-actionsbot
Loading

Allow controlling Expat >=2.6.0 reparse deferral (CVE-2023-52425) by adding five new methods:

  • xml.etree.ElementTree.XMLParser.flush
  • xml.etree.ElementTree.XMLPullParser.flush
  • xml.parsers.expat.xmlparser.GetReparseDeferralEnabled
  • xml.parsers.expat.xmlparser.SetReparseDeferralEnabled
  • xml.sax.expatreader.ExpatParser.flush

Based on the "flush" idea from#115138 (comment) .

Includes code suggested-by: Snild Dolkowsnild@sony.com
and by core dev Serhiy Storchaka.

(cherry picked from commit6a95676)


📚 Documentation preview 📚:https://cpython-previews--116268.org.readthedocs.build/

…52425) (pythonGH-115623)Allow controlling Expat >=2.6.0 reparse deferral (CVE-2023-52425) by adding five new methods:- `xml.etree.ElementTree.XMLParser.flush`- `xml.etree.ElementTree.XMLPullParser.flush`- `xml.parsers.expat.xmlparser.GetReparseDeferralEnabled`- `xml.parsers.expat.xmlparser.SetReparseDeferralEnabled`- `xml.sax.expatreader.ExpatParser.flush`Based on the "flush" idea frompython#115138 (comment) .- Please treat as a security fix related toCVE-2023-52425.Includes code suggested-by: Snild Dolkow <snild@sony.com>and by core dev Serhiy Storchaka.(cherry picked from commit6a95676)
hartworkand others added2 commitsMarch 6, 2024 22:18
…t API availability (pythonGH-116278)Suggest use of "hasattr" with checking for 3.13 Expat API availability(cherry picked from commit73807eb)
(cherry picked from commiteda2963)
@hartworkhartworkforce-pushed thebackport-6a95676-3.11 branch frome2108d7 to8b338a9CompareMarch 6, 2024 21:20
@gpsheadgpshead merged commitfc9da96 intopython:3.11Mar 6, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@gpsheadgpsheadgpshead approved these changes

Assignees
No one assigned
Labels
type-featureA feature request or enhancementtype-securityA security issue
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@hartwork@gpshead

[8]ページ先頭

©2009-2025 Movatter.jp