{"schema_version":"1.9.0","id":"CVE-2024-47855","published":"2024-10-04T00:00:00Z","modified":"2026-08-12T14:52:17.226690Z","aliases":["GHSA-wwcp-26wc-3fxm"],"related":["SUSE-SU-2024:3543-1"],"details":"util/JSONTokener.java in JSON-lib before 3.1.0 mishandles an unbalanced comment string.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/kordamp/json-lib","events":[{"introduced":"0"},{"fixed":"54fa5e835b2f63b2c63f29928818c6b5fdb91655"},{"fixed":"a0c4a0eae277130e22979cf307c95dec4005a78e"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"3.1.0"}],"source":["DESCRIPTION","REFERENCES"]}}],"versions":["v3.0.3","v3.0.2","v3.0.1","v3.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-47855.json","vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["197291523983295737734271464513073660746","62669435015532448767532558793295068853","154919849927951727549894146070302998090"],"threshold":0.9},"id":"CVE-2024-47855-b2bbe459","signature_type":"Line","signature_version":"v1","source":"https://github.com/kordamp/json-lib/commit/a0c4a0eae277130e22979cf307c95dec4005a78e","target":{"file":"subprojects/json-lib-core/src/test/java/org/kordamp/json/TestJSONSerializer.java"}},{"deprecated":false,"digest":{"line_hashes":["253530847883034251750646509875080463743","65041413491615279291654897483189278716","101158591008347409130222533897417586314","158093784903415834091418167248633513137"],"threshold":0.9},"id":"CVE-2024-47855-db9d2098","signature_type":"Line","signature_version":"v1","source":"https://github.com/kordamp/json-lib/commit/a0c4a0eae277130e22979cf307c95dec4005a78e","target":{"file":"subprojects/json-lib-core/src/main/java/org/kordamp/json/util/JSONTokener.java"}},{"deprecated":false,"digest":{"function_hash":"90112362575370850781151435865751939006","length":601},"id":"CVE-2024-47855-fff696ad","signature_type":"Function","signature_version":"v1","source":"https://github.com/kordamp/json-lib/commit/a0c4a0eae277130e22979cf307c95dec4005a78e","target":{"file":"subprojects/json-lib-core/src/main/java/org/kordamp/json/util/JSONTokener.java","function":"nextClean"}}],"vanir_signatures_modified":"2026-08-12T14:52:17Z"}}],"references":[{"type":"WEB","url":"https://github.com/kordamp/json-lib/compare/v3.0.3...v3.1.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47855.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47855"},{"type":"FIX","url":"https://github.com/kordamp/json-lib/commit/a0c4a0eae277130e22979cf307c95dec4005a78e"}],"database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47855.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}