GitHub Advisory Database
GHSA-5wfc-hjrc-gq87
hjson stack exhaustion vulnerability
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.hjson:hjson | All versions before 3.0.1 (fixed in 3.0.1) |
| Packagist | laktak/hjson | All versions before 2.3.0 (fixed in 2.3.0) |
| Go | github.com/hjson/hjson-go/v4 | All versions before 4.5.0 (fixed in 4.5.0) |
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