{"id":"CVE-2024-38525","aliases":["CVE-2024-38525"],"related":[],"kind":"vulnerability","state":"published","title":"dd-trace-cpp malformed unicode header values may cause crash","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"dd-trace-cpp es el seguimiento distribuido de Datadog para C++. Cuando la librería no puede extraer el contexto de seguimiento debido a un Unicode con formato incorrecto, registra la lista de encabezados auditados y sus valores utilizando la librería JSON `nlohmann`. Sin embargo, debido a la forma en que se invoca la librería JSON, genera una excepción no detectada, lo que provoca un bloqueo. Esta vulnerabilidad ha sido parcheada en la versión 0.2.2.","source":"nvd"}],"published":"2024-06-28T21:10:57.138Z","modified":"2026-06-17T07:40:28.293Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-20","CWE-248"],"affected":[{"ranges":[{"version":">= 0.1.12, < 0.2.2","status":"affected"}],"vendor":"DataDog","product":"dd-trace-cpp","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"0.1.13","status":"affected"},{"type":"custom","introduced":"0","fixed":"0.2.2","status":"affected"}],"vendor":"datadoghq","product":"dd-trace-cpp","cpe":"cpe:2.3:a:datadoghq:dd-trace-cpp:*:*:*:*:*:*:*:*","source":"cvelist"}],"references":[{"url":"https://github.com/DataDog/dd-trace-cpp/security/advisories/GHSA-rf3p-mg22-qv6w","tags":["x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/DataDog/dd-trace-cpp/releases/tag/v0.2.2","tags":["x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-07-02T15:43:21.179Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-38525","url":"https://www.cve.org/CVERecord?id=CVE-2024-38525","licence":"CVE Terms of Use","modified":"2024-08-02T04:12:25.118Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-38525","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38525","licence":"Public domain","modified":"2026-06-17T07:40:28.293Z"}],"updatedAt":"2026-11-25T22:58:42.328Z","epss":{"score":0.00431,"percentile":0.39168,"date":"2026-12-01T12:00:22.000Z"}}