CVE-2019-7617Elastic Apm Agent
High 7.2 No auth needed
Follow: this CVE · Elastic · Elastic Apm Agent We alert you by email or Slack (account required).
- Priority
- 58
- CVSS 3.0
- 7.2
- EPSS
- 1.6% probability of exploitation in 30 days · percentile 75
- Auth required
- No
- Published
- Aug 22, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
What happens
When the Elastic APM agent for Python versions before 5.1.0 is run as a CGI script, there is a variable name clash flaw if a remote attacker can control the proxy header. This could result in an attacker redirecting collected APM data to a proxy of their choosing.
What to do
- Apply the vendor's security update for Apm Agent.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | elastic-apm |
< 5.1.0 |
5.1.0 |
pip install "elastic-apm>=5.1.0" |
| PyPI | elastic-apm |
< 5.1.0 |
5.1.0 |
pip install "elastic-apm>=5.1.0" |
Per OSV / GitHub Advisories (GHSA-22jh-6gx8-f944, PYSEC-2019-178). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| elastic | apm_agent | < 5.1.0 |
Official sources
References
Links published by the sources. Open them with care.
- discuss.elastic.co Vendor Advisory
- www.elastic.co Vendor Advisory