diff --git a/advisories/github-reviewed/2025/01/GHSA-gmj9-h825-chq2/GHSA-gmj9-h825-chq2.json b/advisories/github-reviewed/2025/01/GHSA-gmj9-h825-chq2/GHSA-gmj9-h825-chq2.json new file mode 100644 index 00000000000..fa67bc9ba18 --- /dev/null +++ b/advisories/github-reviewed/2025/01/GHSA-gmj9-h825-chq2/GHSA-gmj9-h825-chq2.json @@ -0,0 +1,61 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-gmj9-h825-chq2", + "modified": "2025-01-23T17:19:34Z", + "published": "2025-01-23T17:19:34Z", + "aliases": [ + "CVE-2025-22153" + ], + "summary": "try/except* clauses could allow bypass RestrictedPython via type confusion bug in the CPython interpreter", + "details": "### Impact\nVia a type confusion bug in the CPython interpreter when using `try/except*` RestrictedPython could be bypassed.\n\nWe believe this should be fixed upstream in Python itself until that we remove support for `try/except*` from RestrictedPython.\n(It has been fixed for some Python versions.)\n\n### Patches\nPatched in version 8.0 by removing support for `try/except*` clauses\n\n### Workarounds\nThere is no workaround.\n\n### References\nnone\n", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:L" + } + ], + "affected": [ + { + "package": { + "ecosystem": "PyPI", + "name": "RestrictedPython" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "6.0" + }, + { + "fixed": "8.0" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/zopefoundation/RestrictedPython/security/advisories/GHSA-gmj9-h825-chq2" + }, + { + "type": "WEB", + "url": "https://github.com/zopefoundation/RestrictedPython/commit/48a92c5bb617a647cffd0dadd4d5cfe626bcdb2f" + }, + { + "type": "PACKAGE", + "url": "https://github.com/zopefoundation/RestrictedPython" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-843" + ], + "severity": "HIGH", + "github_reviewed": true, + "github_reviewed_at": "2025-01-23T17:19:34Z", + "nvd_published_at": null + } +} \ No newline at end of file