CVE-2024-38525
published high CVSS 3.1 · 7.5dd-trace-cpp malformed unicode header values may cause crash
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| DataDog | — | dd-trace-cpp>= 0.1.12, < 0.2.2 | Affected | Not stated | GitHub_M |
| datadoghq | — | dd-trace-cpp0 to < 0.1.13 · 0 to < 0.2.2 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluationALAS2ECS-2024-038 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-655 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | ecs-service-connect-agentaarch64 | Listed in advisory | Not stated | ALAS2ECS-2024-038 |
| Amazon Linux | AL2 | ecs-service-connect-agentsrc | Listed in advisory | Not stated | ALAS2ECS-2024-038 |
| Amazon Linux | AL2 | ecs-service-connect-agentx86_64 | Listed in advisory | Not stated | ALAS2ECS-2024-038 |
| Amazon Linux | AL2023 | ecs-service-connect-agentaarch64 | Listed in advisory | Not stated | ALAS2023-2024-655 |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | ecs-service-connect-agentsrc | Listed in advisory | Not stated | ALAS2023-2024-655 |
| Amazon Linux | AL2023 | ecs-service-connect-agentx86_64 | Listed in advisory | Not stated | ALAS2023-2024-655 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| DataDog | dd-trace-cpp | >= 0.1.12, < 0.2.2 (affected) | GitHub_M · cna |
| datadoghq | dd-trace-cpp | 0 to < 0.1.13 (affected · custom)0 to < 0.2.2 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-20 CWE-20: Improper Input Validation
- CWE-248 CWE-248: Uncaught Exception
References
2Provider assertions
3GitHub_M · cna
dd-trace-cpp malformed unicode header values may cause crash
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0e2e111ab2eeb10dbd6d0288d3a18eb7c2167015d9edb220413c556c987efb2a
- Ingested
- 23 Sep 2026, 08:24:49 UTC
- Source record
- Official CVE record