Vulnerability · Published Jun 28, 2024 · Assigned by GitHub_M
CVE-2024-38525dd-trace-cpp malformed unicode header values may cause crash
High 7.5
In plain English
A high-severity improper input validation in dd-trace-cpp from DataDog. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities).
Official description
dd-trace-cpp is the Datadog distributed tracing for C++. When the library fails to extract trace context due to malformed unicode, it logs the list of audited headers and their values using the `nlohmann` JSON library. However, due to the way the JSON library is invoked, it throws an uncaught exception, which results in a crash. This vulnerability has been patched in version 0.2.2.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| DataDog | dd-trace-cpp | >= 0.1.12, < 0.2.2 |
Weakness: CWE-20, CWE-248 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/DataDog/dd-trace-cpp/security/advisories/GHSA-rf3p-mg22-qv6w x_refsource_CONFIRM
- https://github.com/DataDog/dd-trace-cpp/releases/tag/v0.2.2 x_refsource_MISC