GitHub Advisory Database
GHSA-qqc5-rgcc-cjqh
Information Disclosure in go.elastic.co/apm
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | go.elastic.co/apm | All versions before 1.11.0 (fixed in 1.11.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-22133
- https://github.com/elastic/apm-agent-go/pull/888
- https://github.com/elastic/apm-agent-go/commit/c5c7e21aa26a6def7790f74fbceed792ad47ef35
- https://github.com/elastic/apm-agent-go/commit/dd3e8c593580e7b80a98b57e1cc6e017e56747b4
- https://discuss.elastic.co/t/elastic-apm-agent-for-go-1-11-0-security-update/263252
- https://github.com/elastic/apm-agent-go
- https://github.com/elastic/apm-agent-go/compare/v1.10.0...v1.11.0
- https://pkg.go.dev/vuln/GO-2022-0706