Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. orjson
  4. ›
  5. CVE-2024-27454

CVE-2024-27454: orjson does not limit recursion for deeply nested JSON documents

February 26, 2024

orjson.loads in orjson before 3.9.15 does not limit recursion for deeply nested JSON documents.

References

  • github.com/advisories/GHSA-pwr2-4v36-6qpr
  • github.com/ijl/orjson
  • github.com/ijl/orjson/blob/master/CHANGELOG.md
  • github.com/ijl/orjson/commit/b0e4d2c06ce06c6e63981bf0276e4b7c74e5845e
  • github.com/ijl/orjson/issues/458
  • github.com/pypa/advisory-database/tree/main/vulns/orjson/PYSEC-2024-40.yaml
  • monicz.dev/CVE-2024-27454
  • nvd.nist.gov/vuln/detail/CVE-2024-27454

Code Behaviors & Features

Detect and mitigate CVE-2024-27454 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.9.15

Fixed versions

  • 3.9.15

Solution

Upgrade to version 3.9.15 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-674: Uncontrolled Recursion

Source file

pypi/orjson/CVE-2024-27454.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:18 +0000.