# CVE-2021-22133: Information Disclosure in go.elastic.co/apm

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 2.4
- **CVSS:** 2.4 (v3.1, NVD) `CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.53% (percentile 38, 2026-11-26)
- **CWE:** CWE-532
- **Aliases:** GHSA-qqc5-rgcc-cjqh, GO-2022-0706
- **Published:** 2021-02-10T18:55:15.000Z
- **Modified:** 2026-06-17T03:36:40.487Z

## Who should check

- Projects that depend on Go package go.elastic.co/apm (\< 1.11.0)
- Anyone running Elastic APM Agent for Go before 1.11.0

## Description

The Elastic APM agent for Go versions before 1.11.0 can leak sensitive HTTP header information when logging the details during an application panic. Normally, the APM agent will sanitize sensitive HTTP header details before sending the information to the APM server. During an application panic it is possible the headers will not be sanitized before being sent.

## Affected and fixed versions

- Go `go.elastic.co/apm`: affected \< 1.11.0; fixed 1.11.0 (osv)
- Elastic APM Agent for Go: before 1.11.0 (cvelist)

## Mitigation

- Upgrade go.elastic.co/apm to 1.11.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-22133. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-22133.md
Affected: go.elastic.co/apm < 1.11.0
Fixed in: 1.11.0

Steps:
1. Search this machine and project for go.elastic.co/apm (Go), Elastic APM Agent for Go: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-22133 being exploited?

There is no confirmed exploitation: CVE-2021-22133 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.53% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-22133?

Low: CVSS 2.4 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2021-22133?

go.elastic.co/apm \< 1.11.0.

### Is there a fix for CVE-2021-22133?

Yes. Fixed in 1.11.0. Upgrade go.elastic.co/apm to 1.11.0 or later.

### How do I check if I'm affected by CVE-2021-22133?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://discuss.elastic.co/t/elastic-apm-agent-for-go-1-11-0-security-update/263252>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2021-22133>
- patch: <https://github.com/elastic/apm-agent-go/pull/888>
- patch: <https://github.com/elastic/apm-agent-go/commit/c5c7e21aa26a6def7790f74fbceed792ad47ef35>
- patch: <https://github.com/elastic/apm-agent-go/commit/dd3e8c593580e7b80a98b57e1cc6e017e56747b4>
- other: <https://github.com/elastic/apm-agent-go>
- other: <https://github.com/elastic/apm-agent-go/compare/v1.10.0...v1.11.0>
- other: <https://pkg.go.dev/vuln/GO-2022-0706>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-22133>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-qqc5-rgcc-cjqh> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2022-0706> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2021-22133> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-22133>
