dd-trace-cpp malformed unicode header values may cause crash
CVE-2024-38525
7.5HIGH
What is CVE-2024-38525?
The distributed tracing library for C++ provided by Datadog, known as dd-trace-cpp, exhibits a vulnerability related to the improper handling of malformed unicode. Specifically, when the library fails to accurately extract trace context, it logs information using the nlohmann
JSON library, which can trigger an uncaught exception and subsequently cause the application to crash. This issue has significant implications for software stability and was resolved in version 0.2.2 of the library.
Affected Version(s)
dd-trace-cpp >= 0.1.12, < 0.2.2