{"id":"USN-8189-1","summary":"rapidjson vulnerability","details":"It was discovered that RapidJSON did not properly protect against integer\noverflows in certain instances when parsing JSON text. A remote attacker\ncould possibly use this issue to craft a malicious JSON file, that when\nread by RapidJSON, would lead to an elevation of privilege, resulting in\nthe potential disclosure of sensitive information.","modified":"2026-05-20T16:04:01.460841261Z","published":"2026-04-20T13:49:01Z","related":["UBUNTU-CVE-2024-39684"],"upstream":["UBUNTU-CVE-2024-39684"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8189-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-39684"}],"affected":[{"package":{"name":"rapidjson","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/rapidjson?arch=source&distro=esm-infra-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12~git20141031-3ubuntu0.1~esm2"}]}],"versions":["0.12~git20141031-3","0.12~git20141031-3ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.12~git20141031-3ubuntu0.1~esm2","binary_name":"rapidjson-dev"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8189-1.json","cves_map":{"cves":[],"ecosystem":"Ubuntu:Pro:16.04:LTS"}}},{"package":{"name":"rapidjson","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/rapidjson?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0+dfsg2-3ubuntu0.1~esm2"}]}],"versions":["0.12~git20141031+dfsg-1","1.1.0+dfsg2-3","1.1.0+dfsg2-3ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.1.0+dfsg2-3ubuntu0.1~esm2","binary_name":"rapidjson-dev"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8189-1.json","cves_map":{"cves":[{"severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-39684"}],"ecosystem":"Ubuntu:Pro:18.04:LTS"}}},{"package":{"name":"rapidjson","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/rapidjson?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0+dfsg2-5ubuntu1+esm2"}]}],"versions":["1.1.0+dfsg2-5","1.1.0+dfsg2-5ubuntu1","1.1.0+dfsg2-5ubuntu1+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.1.0+dfsg2-5ubuntu1+esm2","binary_name":"rapidjson-dev"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8189-1.json","cves_map":{"cves":[{"severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-39684"}],"ecosystem":"Ubuntu:Pro:20.04:LTS"}}},{"package":{"name":"rapidjson","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/rapidjson?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0+dfsg2-7ubuntu0.1~esm2"}]}],"versions":["1.1.0+dfsg2-7","1.1.0+dfsg2-7ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.1.0+dfsg2-7ubuntu0.1~esm2","binary_name":"rapidjson-dev"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8189-1.json","cves_map":{"cves":[{"severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-39684"}],"ecosystem":"Ubuntu:Pro:22.04:LTS"}}},{"package":{"name":"rapidjson","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/rapidjson?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0+dfsg2-7.2ubuntu0.1~esm2"}]}],"versions":["1.1.0+dfsg2-7.1","1.1.0+dfsg2-7.2","1.1.0+dfsg2-7.2ubuntu0.1~esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"1.1.0+dfsg2-7.2ubuntu0.1~esm2","binary_name":"rapidjson-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8189-1.json","cves_map":{"cves":[{"severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-39684"}],"ecosystem":"Ubuntu:Pro:24.04:LTS"}}}],"schema_version":"1.7.5"}