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.
References (2)
Core 2
Core References
Vendor Advisory x_refsource_confirm
https://github.com/DataDog/dd-trace-cpp/security/advisories/GHSA-rf3p-mg22-qv6w
Release Notes x_refsource_misc
https://github.com/DataDog/dd-trace-cpp/releases/tag/v0.2.2
Scores
CVSS v3
7.5
EPSS
0.0043
EPSS Percentile
34.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-20
CWE-248
Status
published
Products (1)
DataDog/dd-trace-cpp
>= 0.1.12, < 0.2.2
Published
Jun 28, 2024
Tracked Since
Feb 18, 2026