USN-6784-1: cJSON vulnerabilities
23 May 2024
cJSON could be made to crash if it received specially crafted input.
Releases
Packages
- cjson - Ultralightweight JSON parser in ANSI C (development files)
Details
It was discovered that cJSON incorrectly handled certain input. An
attacker could possibly use this issue to cause cJSON to crash, resulting
in a denial of service. This issue only affected Ubuntu 22.04 LTS and
Ubuntu 23.10. (CVE-2023-50471, CVE-2023-50472)
Luo Jin discovered that cJSON incorrectly handled certain input. An
attacker could possibly use this issue to cause cJSON to crash, resulting
in a denial of service. (CVE-2024-31755)
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 24.04
-
libcjson1
-
1.7.17-1ubuntu0.1~esm2
Available with Ubuntu Pro
Ubuntu 23.10
Ubuntu 22.04
-
libcjson1
-
1.7.15-1ubuntu0.1~esm2
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.