{"id":"CVE-2020-13482","aliases":["EUVD-2021-1157","GHSA-q27f-v3r6-9v77","MGASA-2021-0172","RHSA-2021:0937"],"status":"published","title":"Improper Certificate Validation in EM-HTTP-Request","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.","severity":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.00928,"percentile":0.60832,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-295"],"published":"2020-05-25T21:49:30Z","modified":"2026-10-20T10:51:47Z","fixes":[{"ecosystem":"RubyGems","package":"em-http-request","fixed_in":["1.1.6"],"sources":["ghsa","osv"]},{"ecosystem":"Mageia:7","package":"ruby-em-http-request","fixed_in":["1.1.7-1.mga7"],"sources":["osv"]},{"ecosystem":"Red Hat:openstack-optools:13::el7","package":"rubygem-em-http-request","fixed_in":["0:1.1.5-4.el7ost"],"sources":["osv"]},{"ecosystem":"Red Hat:openstack-optools:13::el7","package":"rubygem-em-http-request-debuginfo","fixed_in":["0:1.1.5-4.el7ost"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"em-http-request","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.1.5"},{"fixed":"1.1.6"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"em-http-request","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.6"}]}],"versions":["0.2.0","0.2.1","0.2.10","0.2.11","0.2.12","0.2.13","0.2.14","0.2.15","0.2.2","0.2.3","0.2.4","0.2.5","0.2.6","0.2.7","0.2.9","0.3.0","1.0.0","1.0.0.beta.1","1.0.0.beta.2","1.0.0.beta.3","1.0.0.beta.4","1.0.1","1.0.2","1.0.3","1.1.0","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5"]},{"source":"osv","ecosystem":"Mageia:7","package":"ruby-em-http-request","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.7-1.mga7"}]}]},{"source":"osv","ecosystem":"Red Hat:openstack-optools:13::el7","package":"rubygem-em-http-request","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.1.5-4.el7ost"}]}]},{"source":"osv","ecosystem":"Red Hat:openstack-optools:13::el7","package":"rubygem-em-http-request-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.1.5-4.el7ost"}]}]}],"products":[{"vendor":"em-http-request_project","product":"em-http-request"},{"vendor":"fedoraproject","product":"fedora"}],"references":[{"url":"https://github.com/igrigorik/em-http-request/issues/339","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MKYP5TR5NTVVDX5R4HCNNH2OQR7M4X3J/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z32PUJA6RGBZ3TKSOTGUXZ45662S3MVF/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://securitylab.github.com/advisories/GHSL-2020-094-igrigorik-em-http-request","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13482","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MKYP5TR5NTVVDX5R4HCNNH2OQR7M4X3J/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Z32PUJA6RGBZ3TKSOTGUXZ45662S3MVF/"},{"url":"https://github.com/igrigorik/em-http-request/commit/e5fa144f8d21050dd1fc15a4dc8aa34ac6f30602","tags":["web"]},{"url":"https://github.com/advisories/GHSA-q27f-v3r6-9v77","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/em-http-request/CVE-2020-13482.yml","tags":["web"]},{"url":"https://github.com/igrigorik/em-http-request","tags":["package"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MKYP5TR5NTVVDX5R4HCNNH2OQR7M4X3J","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Z32PUJA6RGBZ3TKSOTGUXZ45662S3MVF","tags":["web"]},{"url":"https://advisories.mageia.org/MGASA-2021-0172.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=27976","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/Z32PUJA6RGBZ3TKSOTGUXZ45662S3MVF/","tags":["web"]},{"url":"https://access.redhat.com/errata/RHSA-2021:0937","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1911457","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_0937.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-13482","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-13482","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2020-13482","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.","status":"published","published":"2020-05-25T21:49:30Z","modified":"2024-08-04T12:18:18.262Z","updated_at":"2026-11-02T14:35:54.170199Z"}],"euvd":[{"id":"EUVD-2021-1157","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.","status":"published","published":"2020-05-25T21:49:30Z","modified":"2024-08-04T12:18:18Z","updated_at":"2026-11-03T03:07:37.234427Z"}],"ghsa":[{"id":"GHSA-q27f-v3r6-9v77","title":"Improper Certificate Validation in EM-HTTP-Request","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.","status":"published","published":"2021-05-24T18:13:13Z","modified":"2023-08-17T05:02:22Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T14:37:00.074932Z"}],"nvd":[{"id":"CVE-2020-13482","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.","status":"published","published":"2020-05-25T22:15:09.86Z","modified":"2026-06-17T02:53:12.463Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T14:06:04.922138Z"}],"osv":[{"id":"CVE-2020-13482","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.","status":"published","published":"2020-05-25T22:15:09.86Z","modified":"2026-10-20T10:51:47.561524444Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:14.034736Z"},{"id":"GHSA-q27f-v3r6-9v77","title":"Improper Certificate Validation in EM-HTTP-Request","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.","status":"published","published":"2021-05-24T18:13:13Z","modified":"2024-02-16T08:17:37.719932Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T15:46:53.700556Z"},{"id":"RHSA-2021:0937","title":"Red Hat Security Advisory: rubygem-em-http-request security update","status":"published","published":"2024-09-13T22:12:55Z","modified":"2025-11-22T12:18:28Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:53:08.071325Z"},{"id":"MGASA-2021-0172","title":"Updated ruby-em-http-request packages fix security vulnerability","description":"Updated ruby-em-http-request packages fix security vulnerability:\n\nA flaw was found in rubygem-em-http-request. The eventmachine library does\nnot verify the hostname in a TLS server certificate which can allow an\nattacker to perform a man-in-the-middle attack. The highest threat from this\nvulnerability is to data confidentiality and integrity (CVE-2020-13482).\n","status":"published","published":"2021-04-02T20:25:05Z","modified":"2026-04-16T04:44:04.644533257Z","updated_at":"2026-11-02T15:49:41.509337Z"}]}}
