ADVISORIES

GitHub Advisory Database

GHSA-cqmh-mpx2-g633

Improper Restriction of Operations within the Bounds of a Memory Buffer in python-cjson

Details

Buffer overflow in Dan Pascu python-cjson 1.0.5, when UCS-4 encoding is enabled, allows context-dependent attackers to cause a denial of service (application crash) or possibly have unspecified other impact via vectors involving crafted Unicode input to the cjson.encode function.

Affected packages

EcosystemPackageAffected versions
PyPIpython-cjson
All versions before 1.0.5.1 (fixed in 1.0.5.1)

References