ADVISORIES

PyPA Advisory Database

PYSEC-2022-25

Details

UltraJSON (aka ujson) through 5.1.0 has a stack-based buffer overflow in Buffer_AppendIndentUnchecked (called from encode). Exploitation can, for example, use a large amount of indentation.

Affected packages

EcosystemPackageAffected versions
PyPIujson
From 4.0.2 before 5.1.0 (fixed in 5.1.0)

References