CVE-2021-22143Elastic Apm .net Agent
Medium 4.3
Follow: this CVE · Elastic · Elastic Apm .net Agent We alert you by email or Slack (account required).
- Priority
- 26
- CVSS 3.1
- 4.3
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 53
- Auth required
- Yes
- Published
- Nov 22, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Apm .net Agent.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| NuGet | Elastic.Apm |
< 1.10.0 |
1.10.0 |
dotnet add package Elastic.Apm --version 1.10.0 |
Per OSV / GitHub Advisories (GHSA-hx93-gc73-5rpr). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| elastic | apm_.net_agent | < 1.10.0 |
Official sources
References
Links published by the sources. Open them with care.
- discuss.elastic.co Vendor Advisory
- www.elastic.co Vendor Advisory