An issue was discovered in Ruby through 2.6.7, 2.7.x through 2.7.3, and 3.x through 3.0.1. Net::IMAP does not raise an exception when StartTLS fails with an an unknown response, which might allow man-in-the-middle attackers to bypass the TLS protections by leveraging a network position between the client and the registry to block the StartTLS command, aka a "StartTLS stripping attack."
Platform | Package | Release Date | Advisory |
---|---|---|---|
Amazon Linux 2 - Core | ruby | 2024-06-06 20:17 | ALAS2-2024-2570 |
Amazon Linux 2 - Ruby2.6 Extra | ruby | 2023-08-21 20:59 | ALAS2RUBY2.6-2023-004 |
Amazon Linux 2 - Ruby3.0 Extra | ruby | 2023-08-21 20:59 | ALAS2RUBY3.0-2023-005 |
Score Type | Score | Vector | |
---|---|---|---|
Amazon Linux | CVSSv3 | 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
NVD | CVSSv2 | 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
NVD | CVSSv3 | 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |