{"id":"CVE-2023-34620","aliases":["CVE-2023-34620","GHSA-5wfc-hjrc-gq87","GO-2026-5157"],"related":[],"kind":"vulnerability","state":"published","title":"hjson stack exhaustion vulnerability","summary":"An issue was discovered hjson thru 3.0.0 allows attackers to cause a denial of service or other unspecified impacts via crafted object that uses cyclic dependencies.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered hjson thru 3.0.0 allows attackers to cause a denial of service or other unspecified impacts via crafted object that uses cyclic dependencies.","source":"cvelist"},{"lang":"en","text":"An issue was discovered hjson through 3.0.0 allows attackers to cause a denial of service or other unspecified impacts via crafted objects that deeply nested structures.","format":"markdown","source":"ghsa"},{"lang":"en","text":"hjson stack exhaustion vulnerability in github.com/hjson/hjson-go","format":"markdown","source":"go"}],"published":"2023-06-14T00:00:00.000Z","modified":"2026-09-10T03:50:02.120Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-400","CWE-674","CWE-787"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.0.1"}],"ecosystem":"Maven","package":"org.hjson:hjson","purl":"pkg:maven/org.hjson/hjson","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.3.0"}],"ecosystem":"Packagist","package":"laktak/hjson","purl":"pkg:composer/laktak/hjson","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.5.0"}],"ecosystem":"Go","package":"github.com/hjson/hjson-go/v4","purl":"pkg:golang/github.com/hjson/hjson-go/v4","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/hjson/hjson-go","purl":"pkg:golang/github.com/hjson/hjson-go","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.5.0"}],"ecosystem":"Go","package":"github.com/hjson/hjson-go/v4","purl":"pkg:golang/github.com/hjson/hjson-go/v4","source":"go"},{"ranges":[{"status":"affected","lastAffected":"3.0.0"}],"vendor":"hjson_project","product":"hjson","cpe":"cpe:2.3:a:hjson_project:hjson:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/hjson/hjson-java/issues/24","tags":["exploit","issue-tracking","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34620","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/hjson/hjson-cpp/pull/54","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/hjson/hjson-go/pull/67","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/hjson/hjson-php/pull/45","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/hjson/hjson-go/commit/326599cebc6ef759892f473bf1439b98466a99fa","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/hjson/hjson-php/commit/2d1b8b4b158a8d841f3a228f267c7cd84fe5a4fa","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/advisories/GHSA-5wfc-hjrc-gq87","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-01-03T15:21:50.211Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-34620","url":"https://www.cve.org/CVERecord?id=CVE-2023-34620","licence":"CVE Terms of Use","modified":"2025-01-03T15:21:56.262Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5wfc-hjrc-gq87","url":"https://github.com/advisories/GHSA-5wfc-hjrc-gq87","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:02.120Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5157","url":"https://pkg.go.dev/vuln/GO-2026-5157","licence":"CC-BY-4.0","modified":"2026-06-25T18:45:13.500Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-34620","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34620","licence":"Public domain","modified":"2026-06-17T06:03:52.720Z"}],"updatedAt":"2026-11-25T22:58:24.835Z","epss":{"score":0.00778,"percentile":0.57052,"date":"2026-12-01T12:00:22.000Z"}}