CVE-2024-38525

dd-trace-cpp malformed unicode header values may cause crash

HIGH
7.5
CVSS Score
Published: June 28, 2024 at 09:10 PM UTC
Updated: June 17, 2026 at 07:40 AM UTC
2 products affected across 2 vendorsDd Trace CppDd Trace Cpp

Using dd-trace-cpp by DataDog?

Get instant alerts when new vulnerabilities affect dd-trace-cpp - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 0.2.2
Affected range stops below 0.2.2, so it looks safe — our inference, not a vendor statement
v < 0.1.13v < 0.2.2
Affected range stops below 0.1.13, so it looks safe — our inference, not a vendor statement
Affected range stops below 0.2.2, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.5HIGHGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-20CWE-248

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card