CVE-2020-13163Em-imap Project Em-imap
High 7.4 No auth needed
Follow: this CVE · Em-imap Project · Em-imap Project Em-imap We alert you by email or Slack (account required).
- Priority
- 59
- CVSS 3.1
- 7.4
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 57
- Auth required
- No
- Published
- May 19, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-295
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
em-imap 0.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.
What to do
- Apply the vendor's security update for Em-imap.
- 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 |
|---|---|---|---|---|
| RubyGems | em-imap |
≤ 0.5 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-4f68-49qq-h392). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| em-imap_project | em-imap | 0.5 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory
- securitylab.github.com Exploit Third Party Advisory