Advisory

USN-6629-2

Also known as: CVE-2021-45958

Summary

ujson vulnerability

Details

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)

Severity

Not rated by the source.

Dates

Published
2024-02-14 02:58 UTC
Modified
2026-04-27 17:05 UTC

Affected packages and fixes

ujson

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 1.35-4ubuntu0.1 (ecosystem)

Fixed versions

1.35-4ubuntu0.1

Fix

  • Fixed version 1.35-4ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

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: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences