What’s Vulnerable › Vulnerabilities

CVE-2024-38525: dd-trace-cpp malformed unicode header values may cause crash

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

How to fix

Upgrade to a fixed version: DataDog dd-trace-cpp 0.1.13, 0.2.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-38525 or the next vulnerability affects your stack