{"id":"CVE-2024-38525","summary":"dd-trace-cpp malformed unicode header values may cause crash","details":"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.","aliases":["GHSA-rf3p-mg22-qv6w"],"modified":"2026-04-02T12:17:07.913212Z","published":"2024-06-28T21:10:57.138Z","database_specific":{"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38525.json","cwe_ids":["CWE-20","CWE-248"]},"references":[{"type":"WEB","url":"https://github.com/DataDog/dd-trace-cpp/releases/tag/v0.2.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38525.json"},{"type":"ADVISORY","url":"https://github.com/DataDog/dd-trace-cpp/security/advisories/GHSA-rf3p-mg22-qv6w"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38525"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/datadog/dd-trace-cpp","events":[{"introduced":"0"},{"fixed":"26e666f995d8d214e6d3c3d7a35342f8c544c008"}]},{"type":"GIT","repo":"https://github.com/datadog/dd-trace-cpp","events":[{"introduced":"0"},{"fixed":"26e666f995d8d214e6d3c3d7a35342f8c544c008"}]}],"versions":["v0.1.0","v0.1.1","v0.1.10","v0.1.11","v0.1.12","v0.1.2","v0.1.3","v0.1.4","v0.1.5","v0.1.6","v0.1.7","v0.1.8","v0.1.9","v0.2.0","v0.2.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38525.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}