{"schema_version":"1.7.5","id":"GHSA-wwcp-26wc-3fxm","published":"2024-10-04T06:30:45Z","modified":"2026-08-07T08:12:22.255683148Z","aliases":["CVE-2024-47855"],"summary":"JSON-lib mishandles an unbalanced comment string","details":"util/JSONTokener.java in JSON-lib before 3.1.0 mishandles an unbalanced comment string.","affected":[{"package":{"name":"org.kordamp.json:json-lib-core","ecosystem":"Maven","purl":"pkg:maven/org.kordamp.json/json-lib-core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.0"}]}],"versions":["3.0.1","3.0.2","3.0.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/10/GHSA-wwcp-26wc-3fxm/GHSA-wwcp-26wc-3fxm.json"}},{"package":{"name":"net.sf.json-lib:json-lib","ecosystem":"Maven","purl":"pkg:maven/net.sf.json-lib/json-lib"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.4"}]}],"versions":["0.7.1","0.8","0.9","1.0","1.0.1","1.1","2.0","2.1","2.2","2.2.1","2.2.2","2.2.3","2.3","2.4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/10/GHSA-wwcp-26wc-3fxm/GHSA-wwcp-26wc-3fxm.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47855"},{"type":"WEB","url":"https://github.com/kordamp/json-lib/commit/a0c4a0eae277130e22979cf307c95dec4005a78e"},{"type":"PACKAGE","url":"https://github.com/kordamp/json-lib"},{"type":"WEB","url":"https://github.com/kordamp/json-lib/blob/35a1f2aa22bac260438c0cf2399549311b5a21aa/pom.xml"},{"type":"WEB","url":"https://github.com/kordamp/json-lib/compare/v3.0.3...v3.1.0"},{"type":"WEB","url":"https://sourceforge.net/projects/json-lib"}],"database_specific":{"cwe_ids":[],"github_reviewed":true,"github_reviewed_at":"2024-10-04T18:51:45Z","nvd_published_at":"2024-10-04T06:15:04Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}]}