GitHub Advisory Database
GHSA-pwr2-4v36-6qpr
orjson does not limit recursion for deeply nested JSON documents
Details
orjson.loads in orjson before 3.9.15 does not limit recursion for deeply nested JSON documents.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | orjson | All versions before 3.9.15 (fixed in 3.9.15) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-27454
- https://github.com/ijl/orjson/issues/458
- https://github.com/ijl/orjson/commit/b0e4d2c06ce06c6e63981bf0276e4b7c74e5845e
- https://github.com/ijl/orjson
- https://github.com/ijl/orjson/blob/master/CHANGELOG.md#3915
- https://github.com/pypa/advisory-database/tree/main/vulns/orjson/PYSEC-2024-40.yaml
- https://monicz.dev/CVE-2024-27454