CVE-2024-38525 HIGH

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

Vendor Datadog
Product dd-trace-cpp
Weakness CWE-20 · Input validation
Published June 28, 2024
Last update August 2, 2024

CVSS base score

7.5/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

June 28, 2024 CVE published
August 2, 2024 Record updated