{"id":"USN-6629-3","summary":"ujson vulnerabilities","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:04:58.569237Z","published":"2024-02-14T14:32:36Z","related":["UBUNTU-CVE-2022-31116","UBUNTU-CVE-2022-31117"],"upstream":["CVE-2022-31116","CVE-2022-31117","UBUNTU-CVE-2022-31116","UBUNTU-CVE-2022-31117"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6629-3"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-31116"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-31117"}],"affected":[{"package":{"name":"ujson","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/ujson@1.35-4ubuntu0.1+esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.35-4ubuntu0.1+esm1"}]}],"versions":["1.35-3build1","1.35-3build2","1.35-4","1.35-4build1","1.35-4ubuntu0.1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"python3-ujson","binary_version":"1.35-4ubuntu0.1+esm1"}]},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2022-31116","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2022-31117"}],"ecosystem":"Ubuntu:Pro:20.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6629-3.json"}}],"schema_version":"1.7.5"}