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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-22133
- https://github.com/elastic/apm-agent-go/commit/c5c7e21aa26a6def7790f74fbceed792ad47ef35
- https://discuss.elastic.co/t/elastic-apm-agent-for-go-1-11-0-security-update/263252
- https://github.com/elastic/apm-agent-go/compare/v1.10.0…v1.11.0
- https://github.com/elastic/apm-agent-go/pull/888
- https://github.com/elastic/apm-agent-go/commit/dd3e8c593580e7b80a98b57e1cc6e017e56747b4
- https://github.com/advisories/GHSA-qqc5-rgcc-cjqh