Double Free in yyjson - CVE-2024-25713

 

Double Free in yyjson - CVE-2024-25713

Published: April 9, 2024


Vulnerability identifier: #VU88220
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-25713
CWE-ID: CWE-415
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the pool_free() function. A remote attacker can pass specially crafted JSON data to the application, trigger a double free error and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

yyjson
Fedora
yyjson

How to mitigate CVE-2024-25713

Install updates from vendor's website.

yyjson - update to 0.9.0
yyjson - addressed in versions 0.9.0-1.fc38, 0.9.0-1.fc39, 0.9.0-1.fc40, 0.9.0-1.fc41, 0.10.0-2.el10_0

External References

Related Security Bulletins