Advisory

GHSA-pwr2-4v36-6qpr

Also known as: CVE-2024-27454, PYSEC-2024-40

Summary

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-02-26 18:30 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

orjson

PyPI · All systems

Affected

  • introduced 0, fixed 3.9.15 (ecosystem)

Fixed versions

3.9.15

Fix

  • Fixed version 3.9.15
    pip install --upgrade orjson==3.9.15

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences