{"id":"USN-6629-2","summary":"ujson vulnerability","details":"USN-6629-1 fixed vulnerabilities in UltraJSON.\nThis update provides the corresponding updates for Ubuntu 20.04 LTS.\n\nOriginal advisory details:\n\n It was discovered that UltraJSON incorrectly handled certain input with\n a large amount of indentation. An attacker could possibly use this issue\n to crash the program, resulting in a denial of service. (CVE-2021-45958)\n \n Jake Miller discovered that UltraJSON incorrectly decoded certain\n characters. An attacker could possibly use this issue to cause key\n confusion and overwrite values in dictionaries. (CVE-2022-31116)\n \n It was discovered that UltraJSON incorrectly handled an error when\n reallocating a buffer for string decoding. An attacker could possibly\n use this issue to corrupt memory. (CVE-2022-31117)\n","modified":"2026-04-27T17:05:14.979511Z","published":"2024-02-14T02:58:36Z","related":["UBUNTU-CVE-2021-45958"],"upstream":["CVE-2021-45958","UBUNTU-CVE-2021-45958"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6629-2"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-45958"}],"affected":[{"package":{"name":"ujson","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ujson@1.35-4ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.35-4ubuntu0.1"}]}],"versions":["1.35-3build1","1.35-3build2","1.35-4","1.35-4build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.35-4ubuntu0.1","binary_name":"python3-ujson"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6629-2.json","cves_map":{"ecosystem":"Ubuntu:20.04:LTS","cves":[{"id":"CVE-2021-45958","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}]}}}],"schema_version":"1.7.5"}