{"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-08-12T03:51:12.357539161Z","published":"2024-06-28T21:10:57.138Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-20","CWE-248"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38525.json"},"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":"5c531434587196b9da86b992c39675df42e89b4d"},{"fixed":"26e666f995d8d214e6d3c3d7a35342f8c544c008"}],"database_specific":{"extracted_events":[{"introduced":"0.1.12"},{"fixed":"0.2.2"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v0.2.1","v0.2.0","v0.1.12"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38525.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}