Skip to content

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

HighCVSS 7.5 EPSS 0.43%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
datadoghq dd-trace-cpp < 0.1.13; < 0.2.2 0.1.13, 0.2.2 Fixed
Datadog dd-trace-cpp = >= 0.1.12, < 0.2.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
Datadog dd-trace-cpp = >= 0.1.12, < 0.2.2 No fix listed
datadoghq dd-trace-cpp < 0.1.13 0.1.13
datadoghq dd-trace-cpp < 0.2.2 0.2.2

References