CVE-2024-38525
Amazon Linux vulnerability analysis and mitigation

Overview

dd-trace-cpp, the Datadog distributed tracing library for C++, contains a vulnerability in versions prior to 0.2.2 where malformed unicode in trace context can trigger an uncaught exception. The vulnerability was discovered and disclosed in June 2024, affecting versions v0.1.12, v0.2.0, and v0.2.1. When the library fails to extract trace context due to malformed unicode, it attempts to log the list of audited headers and their values using the nlohmann JSON library, which can result in an uncaught exception and subsequent crash (GitHub Advisory).

Technical details

The vulnerability stems from code introduced in pull request #72, where the library creates a nlohmann::json instance for each key-value pair in the list of audited headers using the format stream << nlohmann::json(it->first + ": " + it->second). This implementation is problematic as exceptions can be thrown by both the JSON library while parsing the input and the implicit call to dump(). The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (High) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating a high impact on availability (NVD).

Impact

This vulnerability affects any downstream applications that rely on dd-trace-cpp for tracing. When triggered, it can cause the application to crash due to the uncaught exception, potentially leading to service disruption (GitHub Advisory).

Exploitability

The vulnerability can be triggered when processing malformed unicode in trace context headers. It requires local access to exploit, with low attack complexity and no privileges or user interaction required, as indicated by the CVSS metrics (NVD).

Mitigation and workarounds

The vulnerability has been patched in dd-trace-cpp version 0.2.2. As a workaround, users can filter out header values that are not valid UTF-8 strings. It is recommended to upgrade to the patched version to fully address the vulnerability (GitHub Release).

Additional resources


SourceThis report was generated using AI

Related Amazon Linux vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-78030CRITICAL9.8
  • Linux Debian logoLinux Debian
  • perl-DBI-tests
NoYesSep 19, 2026
CVE-2026-69184HIGH7.5
  • Node.js logoNode.js
  • c-ares
NoYesSep 18, 2026
CVE-2026-84451MEDIUM6.5
  • Linux Debian logoLinux Debian
  • libheif
NoYesSep 18, 2026
CVE-2026-93653MEDIUM5.5
  • Linux Debian logoLinux Debian
  • compat-poppler022-cpp
NoYesSep 18, 2026
CVE-2026-84450MEDIUM4.3
  • Linux Debian logoLinux Debian
  • libheif
NoYesSep 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management