CVE-2019-7615 Elastic APM agent for Ruby vulnerable to Improper Certificate Validation
Attackers can intercept traffic via man-in-the-middle attacks if custom CA certificates are configured, bypassing TLS validation in the Ruby APM agent.
- 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-7615?
CVE-2019-7615 is a high-severity vulnerability in Elastic APM agent for Ruby, published on 30 Jul 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A TLS certificate validation flaw was found in Elastic APM agent for Ruby versions before 2.9.0. When specifying a trusted server CA certificate via the 'server_ca_cert' setting, the Ruby agent would not properly verify the certificate returned by the APM server. This could result in a man in the middle style attack against the Ruby agent.
Weakness: CWE-295
Which versions are affected by CVE-2019-7615?
2 open source packages ship an affected version, including elastic-apm. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
elastic-apm RubyGems | All versions | 2.9.0 |
elastic-apm RubyGems | All versions | 2.9.0 |
Products include Elastic Apm-Agent-Ruby.
How do I fix CVE-2019-7615?
Upgrade elastic-apm to 2.9.0 or later.
Is CVE-2019-7615 being exploited?
There is no known exploitation of CVE-2019-7615 in the wild and no public exploit code.
Sources
Also known as GHSA-35j2-p8fh-x966.