Vulnerability · Published Aug 19, 2022 · Assigned by GitHub_M

CVE-2022-23459Double free or Use after Free in Value class of Jsonxx

High 8.1

In plain English

A high-severity use-after-free in Jsonxx from hjiang. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 63% of all known vulnerabilities).

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)1.0%top 37.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected products (as reported)

VendorProductVersions
hjiang Jsonxx unspecified – through 1.0.1

Weakness: CWE-416, CWE-415 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References