MailKit has STARTTLS Response Injection via unflushed stream buffer that enables SASL mechanism downgrade
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| jstedfast | MailKit | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Jstedfast | Mailkit |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-9j88-vvj5-vhgr | MailKit has STARTTLS Response Injection via unflushed stream buffer that enables SASL mechanism downgrade |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.223% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:jstedfast:mailkit:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Mimekit
Mimekit mailkit |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Mimekit
Mimekit mailkit |
|
| CPEs | cpe:2.3:a:mimekit:mailkit:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Mimekit
Mimekit mailkit |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Jstedfast
Jstedfast mailkit |
|
| Vendors & Products |
Jstedfast
Jstedfast mailkit |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | MailKit is a cross-platform mail client library built on top of MimeKit. A STARTTLS Response Injection vulnerability in versions prior to 4.16.0 allows a Man-in-the-Middle attacker to inject arbitrary protocol responses across the plaintext-to-TLS trust boundary, enabling SASL authentication mechanism downgrade (e.g., forcing PLAIN instead of SCRAM-SHA-256). The internal read buffer in `SmtpStream`, `ImapStream`, and `Pop3Stream` is not flushed when the underlying stream is replaced with `SslStream` during STARTTLS upgrade, causing pre-TLS attacker-injected data to be processed as trusted post-TLS responses. Version 4.16.0 patches the issue. | |
| Title | MailKit has STARTTLS Response Injection via unflushed stream buffer that enables SASL mechanism downgrade | |
| Weaknesses | CWE-74 | |
| References |
| |
| Metrics |
cvssV3_1
|