{"id":"CVE-2024-47855","details":"util/JSONTokener.java in JSON-lib before 3.1.0 mishandles an unbalanced comment string.","aliases":["GHSA-wwcp-26wc-3fxm"],"modified":"2026-04-12T09:58:17.521001Z","published":"2024-10-04T06:15:04.093Z","related":["CGA-rx7p-7mhg-2w93","SUSE-SU-2024:3543-1"],"references":[{"type":"WEB","url":"https://github.com/kordamp/json-lib/compare/v3.0.3...v3.1.0"},{"type":"FIX","url":"https://github.com/kordamp/json-lib/commit/a0c4a0eae277130e22979cf307c95dec4005a78e"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/kordamp/json-lib","events":[{"introduced":"0"},{"fixed":"54fa5e835b2f63b2c63f29928818c6b5fdb91655"},{"fixed":"a0c4a0eae277130e22979cf307c95dec4005a78e"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"3.1.0"}]}}],"versions":["v3.0.0","v3.0.1","v3.0.2","v3.0.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-47855.json","vanir_signatures":[{"target":{"file":"subprojects/json-lib-core/src/test/java/org/kordamp/json/TestJSONSerializer.java"},"source":"https://github.com/kordamp/json-lib/commit/a0c4a0eae277130e22979cf307c95dec4005a78e","id":"CVE-2024-47855-b2bbe459","digest":{"threshold":0.9,"line_hashes":["197291523983295737734271464513073660746","62669435015532448767532558793295068853","154919849927951727549894146070302998090"]},"deprecated":false,"signature_version":"v1","signature_type":"Line"},{"target":{"file":"subprojects/json-lib-core/src/main/java/org/kordamp/json/util/JSONTokener.java"},"source":"https://github.com/kordamp/json-lib/commit/a0c4a0eae277130e22979cf307c95dec4005a78e","id":"CVE-2024-47855-db9d2098","digest":{"threshold":0.9,"line_hashes":["253530847883034251750646509875080463743","65041413491615279291654897483189278716","101158591008347409130222533897417586314","158093784903415834091418167248633513137"]},"deprecated":false,"signature_version":"v1","signature_type":"Line"},{"target":{"function":"nextClean","file":"subprojects/json-lib-core/src/main/java/org/kordamp/json/util/JSONTokener.java"},"source":"https://github.com/kordamp/json-lib/commit/a0c4a0eae277130e22979cf307c95dec4005a78e","id":"CVE-2024-47855-fff696ad","digest":{"length":601,"function_hash":"90112362575370850781151435865751939006"},"deprecated":false,"signature_version":"v1","signature_type":"Function"}],"vanir_signatures_modified":"2026-04-12T09:58:17Z"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}