# Exposure of Sensitive Information in Elastic APM .NET Agent

Advisory record · `GHSA-hx93-gc73-5rpr`

- **Identifiers:** `GHSA-hx93-gc73-5rpr` · `CVE-2021-22143`
- **State:** Confirmed
- **Severity:** CVSS 2.1 Low
- **Critical:** No
- **Weakness (CWE):** [CWE-200](https://cwe.mitre.org/data/definitions/200.html) · [CWE-532](https://cwe.mitre.org/data/definitions/532.html)
- **Tags:** [Information disclosure](https://agentprime.io/advisories/tag/info-disclosure.md)
- **Published:** 22 Nov 2023
- **Updated:** 16 Feb 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 22 Nov 2023, 03:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `Elastic.Apm` (NuGet): affected `<1.10.0`; fixed in `1.10.0`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Elastic.Apm versions before 1.10.0 can leak sensitive HTTP header values in logs when an application error occurs, because headers may not be sanitized before being sent to the APM server. An attacker would need access to that APM data, and the advisory describes a disclosure of sensitive information rather than code execution. Upgrade Elastic.Apm to version 1.10.0 or later.

Written 9 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 2.1 Low, CVSS 3.1: `CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:U/C:L/I:N/A:N`, from CNA (elastic)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0066, the 52nd percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:24 UTC: First seen by agentprime
- 31 Oct 2026, 15:24 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-hx93-gc73-5rpr)

## Sources

- [GitHub Advisory Database: GHSA-hx93-gc73-5rpr](https://github.com/advisories/GHSA-hx93-gc73-5rpr)
- [OSV: GHSA-hx93-gc73-5rpr](https://osv.dev/vulnerability/GHSA-hx93-gc73-5rpr)
- <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>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-hx93-gc73-5rpr>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-hx93-gc73-5rpr/>. Everything for agents: <https://agentprime.io/llms.txt>.
