Skip to content
OpenAdvisories
High · 7.5 CVE-2024-38525 EUVD-2024-37393

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

Published Jun 28, 2024 · Updated Aug 2, 2024 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
DataDog dd-trace-cpp >= 0.1.12, < 0.2.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 ecs-service-connect-agent v1.29.6.0-1.amzn2023 ALAS2023-2024-655

Advisories 1

References