CVE-2019-7617 Elastic APM agent for Python client CGI proxy redirection flaw

High 7.2 Published Updated

Attackers can redirect APM data to a malicious proxy when the Python agent runs as a CGI script with controlled headers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-7617?

CVE-2019-7617 is a high-severity server-side request forgery vulnerability in Elastic APM agent for Python, published on 22 Aug 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-20

Which versions are affected by CVE-2019-7617?

3 open source packages ship an affected version, including elastic-apm. It affects 1 product.

PackageAffectedFixed in
elastic-apm PyPIAll versions5.1.0
elastic-apm PyPIAll versions5.1.0
elastic-apm PyPIAll versions5.1.0

Products include Elastic Apm Agent.

How do I fix CVE-2019-7617?

Upgrade elastic-apm to 5.1.0 or later.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2019-7617 being exploited?

There is no known exploitation of CVE-2019-7617 in the wild and no public exploit code.

Sources

Also known as GHSA-22jh-6gx8-f944, PYSEC-2019-178.

Is CVE-2019-7617 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free