USN-6629-2

Type: Security
Severity: Medium
Published: 2024-02-14
Ubuntu 20.04 LTS (Focal Fossa)

USN-6629-1 fixed vulnerabilities in UltraJSON. This update provides the corresponding updates for Ubuntu 20.04 LTS. Original advisory 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) Update Instructions: Run `sudo pro fix USN-6629-2` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: python3-ujson - 1.35-4ubuntu0.1 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-27T22:47:41.153Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-27T22:47:41.153Z UTC. Last updated 2025-11-26T08:14:43.525Z UTC.

Upstream Advisory

Affected Packages

  • python3-ujson 1.35-4ubuntu0.1-1.35-4ubuntu0.1

Interested in being alerted when there are new versions of python3-ujson? Set up an alert.
USN-6629-2: UltraJSON vulnerability | Package Alert