ADVISORIES

Ubuntu Security Notice

USN-6629-1

ujson vulnerabilities

Details

It was discovered that UltraJSON incorrectly handled certain input with a large amount of indentation. An attacker could possibly use this issue to crash the program, resulting in a denial of service. (CVE-2021-45958)

Jake Miller discovered that UltraJSON incorrectly decoded certain characters. An attacker could possibly use this issue to cause key confusion and overwrite values in dictionaries. (CVE-2022-31116)

It was discovered that UltraJSON incorrectly handled an error when reallocating a buffer for string decoding. An attacker could possibly use this issue to corrupt memory. (CVE-2022-31117)

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:16.04:LTSujson
All versions before 1.33-1ubuntu0.1~esm2 (fixed in 1.33-1ubuntu0.1~esm2)
Ubuntu:Pro:18.04:LTSujson
All versions before 1.35-2ubuntu0.1~esm1 (fixed in 1.35-2ubuntu0.1~esm1)
Ubuntu:Pro:22.04:LTSujson
All versions before 5.1.0-1ubuntu0.1~esm1 (fixed in 5.1.0-1ubuntu0.1~esm1)

References