CVE-2021-22133 json
Information Disclosure in go.elastic.co/apm
published 2021-02-10 5 y ago modified 2026-06-17 4 mo ago also GHSA-qqc5-rgcc-cjqh , GO-2022-0706 , EUVD-2021-1171
- cvss
- 2.4
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go go.elastic.co/apm 1.11.0
- elastic apm_agent 1.11.0
- github.com/elastic/apm-agent-go@c5c7e21 commit
- github.com/elastic/apm-agent-go@dd3e8c5 commit
- github.com/elastic/apm-agent-go#888 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-22133 updated cvss 2.4
go.elastic.co/apm: leaks sensitive HTTP headers during panic
-
Red Hat OpenStack Platform 16.2 osp-director-provisioner-container, rhosp-rhel8-tech-preview/osp-director-operator, rhosp-rhel8-tech-preview/osp-director-downloaderaffected: no fix planned “Will not fix”
-
Red Hat OpenShift Container Platform 4.8 openshift4/ose-thanos-rhel8 v4.8.0-202106291913.p0.git.c358e96.assembly.streamfixed: vendor fix RHSA-2021:2438
-
Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/search-rhel8, rhacm2/thanos-rhel7, rhacm2/acm-grafana-rhel8, rhacm2/openshift-hive-rhel8, rhacm2/rcm-controller-rhel8, rhacm2/multiclusterhub-rhel8, +22 more Red Hat OpenShift Container Platform 4 openshift4/cnf-tests-rhel8, assisted-installer-container, assisted-installer-agent-container, openshift4/compliance-rhel8-operator, assisted-installer-reporter-container, openshift4/file-integrity-rhel8-operator, +2 more Red Hat OpenShift Container Platform 4.8 openshift4/ose-cli v4.8.0-202106291725.p0.git.1077b05.assembly.stream, openshift4/ose-pod v4.8.0-202107161820.p0.git.051ac4f.assembly.stream, openshift4/ose-etcd v4.8.0-202106152230.p0.git.aefa6bf.assembly.stream, openshift4/ose-tests v4.8.0-202107131424.p0.git.0d958c3.assembly.stream, openshift4/ose-console v4.8.0-202107010336.p0.git.188a490.assembly.stream, openshift4/ose-coredns v4.8.0-202106291913.p0.git.642b46e.assembly.stream, +135 more Red Hat Openshift Container Storage 4 ocs4/mcg-rhel8-operator, ocs4/ocs-rhel8-operator, ocs4/ocs-must-gather-rhel8 Red Hat OpenShift Virtualization 2 vm-import-virtv2v-container, vm-import-operator-container, node-maintenance-operator-container, kubernetes-nmstate-handler-container, hyperconverged-cluster-webhook-container, cluster-network-addons-operator-container, +2 more Red Hat OpenShift Virtualization 4 container-native-virtualization/vm-import-virtv2v-rhel8, container-native-virtualization/vm-import-operator-rhel8, container-native-virtualization/node-maintenance-operator, container-native-virtualization/vm-import-controller-rhel8, container-native-virtualization/cluster-network-addons-operator, container-native-virtualization/hyperconverged-cluster-operator, +2 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.53% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 2.4 | CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 2.7 | AV:A/AC:L/Au:S/C:P/I:N/A:N |
| GitHub | 3.1 | 2.4 | CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | go.elastic.co/apm | <1.11.0 |
1.11.0 |
Affected products
- Elastic Elastic APM Agent for Go
Classification
- Weakness
-
- CWE-532 Insertion of Sensitive Information into Log File
References
-
github.com
/elastic/apm-agent-go/pull/888
web, patch
-
github.com
/elastic/apm-agent-go/commit/c5c7e21aa26a6def7790f74fbceed792ad47ef35
web
-
github.com
/elastic/apm-agent-go/commit/dd3e8c593580e7b80a98b57e1cc6e017e56747b4
web, patch
-
discuss.elastic.co
/t/elastic-apm-agent-for-go-1-11-0-security-update/263252
web, release-notes, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-22133
advisory
-
github.com
/elastic/apm-agent-go
package
-
github.com
/elastic/apm-agent-go/compare/v1.10.0...v1.11.0
web
-
pkg.go.dev
/vuln/GO-2022-0706
web
Sources
- CVE List CVE-2021-22133
- GitHub Advisory GHSA-qqc5-rgcc-cjqh
- NVD CVE-2021-22133
- OSV GO-2022-0706
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.