7.5high
dd-trace-cpp malformed unicode header values may cause crash
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.43% (higher than 39% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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
| Product or package | Versions | Reported by |
|---|---|---|
| DataDog dd-trace-cpp | >= 0.1.12, < 0.2.2 | CVE List |
| datadoghq dd-trace-cpp | before 0.1.13, before 0.2.2 | CVE List |
Classification
What each source says
CVE List
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.
NVD (es)
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-38525 changed 2024-08-02 | CVE Terms of Use |
| NVD | CVE-2024-38525 changed 2026-06-17 | Public domain |