A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
IMAP4.starttls() wraps the socket in TLS but leaves self._readbuf, imaplib's own read-ahead buffer, untouched. Any plaintext bytes that arrived in the same recv() as the tagged OK to STARTTLS are returned by readline() after the handshake, so the client treats them as the first responses on the protected channel. A network attacker who cannot break TLS can append forged lines after the server's OK, let the handshake complete with the real server and a valid certificate, and have the client accept the forged CAPABILITY and the forged tagged completion of the next command. This is the STARTTLS command/response injection class of CVE-2011-0411.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /python/cpython/issues/160369
- github.com /python/cpython/pull/160370
- mail.python.org /archives/list/security-announce@python.org/thread/LVAGFOFG…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning