Double Free in Hjiang JSON\+\+
CVE-2022-23459
Jsonxx or Json++ is a JSON parser, writer and reader written in C++. In affected versions of jsonxx use of the Value class may lead to memory corruption via a double free or via a use after free. The value class has a default assignment operator which may be used with pointer types which may point to alterable data where the pointer itself is not updated. This issue exists on the current commit of the jsonxx project. The project itself has been archived and updates are not expected. Users are advised to find a replacement.
Vulnerability class: Double Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.010, 63.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Hjiang JSON\+\+ — versions 1.0.0, 1.0.1
- Hjiang Jsonxx — versions unspecified
Weakness classification (CWE)
References
- securitylab.github.com/advisories/GHSL-2022-048_Jsonxx (Broken Link)