Title: [3.11] gh-115398: Expose Expat >=2.6.0 reparse deferral API (CVE-2023-52425) (GH-115623) by hartwork · Pull Request #116268 · python/cpython · GitHub
Open Graph Title: [3.11] gh-115398: Expose Expat >=2.6.0 reparse deferral API (CVE-2023-52425) (GH-115623) by hartwork · Pull Request #116268 · python/cpython
X Title: [3.11] gh-115398: Expose Expat >=2.6.0 reparse deferral API (CVE-2023-52425) (GH-115623) by hartwork · Pull Request #116268 · python/cpython
Description: 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) . Please treat as a security fix related to CVE-2023-52425. Includes code suggested-by: Snild Dolkow snild@sony.com and by core dev Serhiy Storchaka. (cherry picked from commit 6a95676) Issue: gh-115398 📚 Documentation preview 📚: https://cpython-previews--116268.org.readthedocs.build/
Open Graph Description: 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.x...
X Description: 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.exp...
Opengraph URL: https://github.com/python/cpython/pull/116268
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:4964b260-7ad3-2273-1bf3-e8be561f69a0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D782:CB088:B24255:10331C8:6A576318 |
| html-safe-nonce | 36182a06fa53aefb2a7c2cb83b7eac9ecf772ae2abfecdd72ecc0d7f9d6e72fd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzgyOkNCMDg4OkIyNDI1NToxMDMzMUM4OjZBNTc2MzE4IiwidmlzaXRvcl9pZCI6IjI2NTU2ODE3OTM5MDc3MTI3OTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 91f0433f557c9d16d078b155a072ce075264ed74fd460423dec3316c057bd761 |
| hovercard-subject-tag | pull_request:1753422578 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/116268/files |
| twitter:image | https://avatars.githubusercontent.com/u/1577132?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1577132?s=400&v=4 |
| og:image:alt | 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.x... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4e7a7296a3830877cf21a6ad2a972c9e618a48915e03966cf0c53eb08e5aad98 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1b5a9c55f39dd27607a574cdc272552f20236b44 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width