hjson stack exhaustion vulnerability
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | laktak/hjson | < 2.3.0 | 2.3.0 |
| Java / Kotlin (Maven) | org.hjson:hjson | < 3.0.1 | 3.0.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-34620
- https://github.com/hjson/hjson-java/issues/24
- https://github.com/hjson/hjson-cpp/pull/54
- https://github.com/hjson/hjson-go/pull/67
- https://github.com/hjson/hjson-php/pull/45
- https://github.com/hjson/hjson-go/commit/326599cebc6ef759892f473bf1439b98466a99fa
- https://github.com/hjson/hjson-php/commit/2d1b8b4b158a8d841f3a228f267c7cd84fe5a4fa
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Weakness (CWE)
CWE-400, CWE-674, CWE-787- Platform
- Composer, Java / Kotlin (Maven)
- Package
laktak/hjson, org.hjson:hjson- Disclosed
- 14.06.2023
- Updated
- 11.10.2026 13:17
Sources and licenses
OSV / GitHub Advisory Database - GHSA-5wfc-hjrc-gq87 - CC BY 4.0
Vulnerability history: org.hjson:hjson
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 06.2023 09.2023
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 2
Disclosures per year
- 2023: 2
- 2024: 0
- 2025: 0
- 2026: 0
-
hjson stack exhaustion vulnerability this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.