Exposure of Sensitive Information in Elastic APM .NET Agent
The Elastic APM .NET Agent can leak sensitive HTTP header information when logging the details during an application error. Normally, the APM agent will sanitize sensitive HTTP header details before sending the information to the APM server. During an application error it is possible the headers will not be sanitized before being sent.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| .NET (NuGet) | Elastic.Apm | < 1.10.0 | 1.10.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-22143
- https://github.com/elastic/apm-agent-dotnet/pull/1286
- https://github.com/elastic/apm-agent-dotnet/commit/c2b519aaa0fe5e5044b736cfec695342f124bf30
- https://discuss.elastic.co/t/elastic-apm-net-agent-1-10-0-security-update/274668
- https://github.com/elastic/apm-agent-dotnet
- https://www.elastic.co/community/security
- CVSS vector
CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:U/C:L/I:N/A:N- Weakness (CWE)
CWE-200, CWE-532- Platform
- .NET (NuGet)
- Package
Elastic.Apm- Disclosed
- 22.11.2023
- Updated
- 11.10.2026 11:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-hx93-gc73-5rpr - CC BY 4.0
Vulnerability history: Elastic.Apm
All published vulnerabilities of this package (.NET (NuGet)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.