CVE-2024-25713
Published: 29 February 2024
Summary
CVE-2024-25713 is a high-severity Code Injection (CWE-94) vulnerability in Fedoraproject Fedora. Its CVSS base score is 8.6 (High).
Operationally, ranked in the top 9.3% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
yyjson versions through 0.8.0 contain a double-free vulnerability in the pool allocator's pool_free function, which lacks loop checks when used alongside pool_malloc and pool_realloc. The flaw is tracked as CVE-2024-25713 with a CVSS 3.1 score of 8.6 and is also associated with CWE-94. It affects any application or library that embeds the affected yyjson code for JSON processing.
An unauthenticated remote attacker can supply crafted input over the network to trigger the double free, which may result in remote code execution in certain configurations along with limited confidentiality and availability impacts and high integrity impact.
The primary reference is the GitHub Security Advisory GHSA-q4m7-9pcm-fpxh, which details the issue and is mirrored in subsequent Fedora package-announcement lists that identify affected builds and corrective updates. The current EPSS score of 0.0577 shows no material increase since disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-0754
Vulnerability details
yyjson through 0.8.0 has a double free, leading to remote code execution in some cases, because the pool_free function lacks loop checks. (pool_free is part of the pool series allocator, along with pool_malloc and pool_realloc.)
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Makes persistent code injection into loaded programs impossible when the executable image itself resides on hardware-protected read-only media.
Dynamically generated code can be produced and executed inside the isolated chamber, preventing host compromise from code-injection payloads.
Validates inputs used in dynamic code generation to block injected directives.
Directly prevents execution of attacker-supplied code written into data memory regions.