CVE-2020-13482 Improper Certificate Validation in EM-HTTP-Request
Attackers can perform man-in-the-middle attacks against users of the EM-HTTP-Request library due to missing TLS hostname verification.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-13482?
CVE-2020-13482 is a high-severity vulnerability in Fedoraproject Fedora, published on 25 May 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
EM-HTTP-Request 1.1.5 uses the library eventmachine in an insecure way that allows an attacker to perform a man-in-the-middle attack against users of the library. The hostname in a TLS server certificate is not verified.
Weakness: CWE-295
Which versions are affected by CVE-2020-13482?
2 open source packages ship an affected version, including em-http-request. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
em-http-request RubyGems | All versions | 1.1.6 |
em-http-request RubyGems | All versions | 1.1.6 |
Linux distribution packages (2)
rubygem-em-http-request Red Hat:openstack-optools:13::el7 | All versions | 0:1.1.5-4.el7ost |
rubygem-em-http-request-debuginfo Red Hat:openstack-optools:13::el7 | All versions | 0:1.1.5-4.el7ost |
Products include Em-Http-Request Project Em-Http-Request, Fedoraproject Fedora.
How do I fix CVE-2020-13482?
Upgrade em-http-request to 1.1.6 or later.
Is CVE-2020-13482 being exploited?
There is no known exploitation of CVE-2020-13482 in the wild and no public exploit code.
Sources
Also known as GHSA-q27f-v3r6-9v77, MGASA-2021-0172, RHSA-2021:0937.