Vulnerability · Published Dec 24, 2023 · Assigned by mitre
CVE-2023-51765
Medium 5.3
In plain English
A medium-severity security flaw in the sendmail package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 65% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
sendmail through 8.17.2 allows SMTP smuggling in certain configurations. Remote attackers can use a published exploitation technique to inject e-mail messages with a spoofed MAIL FROM address, allowing bypass of an SPF protection mechanism. This occurs because sendmail supports <LF>.<CR><LF> but some other popular e-mail servers do not. This is resolved in 8.18 and later versions with 'o' in srv_features.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | sendmail | 8.17.1.9-2+deb12u1 | DEBIAN-CVE-2023-51765 |
| Debian:13 | sendmail | 8.18.1-1 | DEBIAN-CVE-2023-51765 |
| Debian:14 | sendmail | 8.18.1-1 | DEBIAN-CVE-2023-51765 |
| Ubuntu:22.04:LTS | sendmail | no fix listed | UBUNTU-CVE-2023-51765 |
Affected products (as reported)
References
- https://sec-consult.com/blog/detail/smtp-smuggling-spoofing-e-mails-worldwide/
- https://www.openwall.com/lists/oss-security/2023/12/22/7
- https://www.openwall.com/lists/oss-security/2023/12/21/7
- https://github.com/freebsd/freebsd-src/commit/5dd76dd0cc19450133aa379ce0ce4a68ae07fb39#diff-afdf514b32ac88004952c11660c57bc96c3d8b2234007c1cbd8d7ed7fd7935cc
- [oss-security] 20231224 Re: Re: New SMTP smuggling attack mailing-list
- [oss-security] 20231225 Re: Re: New SMTP smuggling attack mailing-list
- https://bugzilla.suse.com/show_bug.cgi?id=1218351
- https://bugzilla.redhat.com/show_bug.cgi?id=2255869
- https://access.redhat.com/security/cve/CVE-2023-51765
- https://fahrplan.events.ccc.de/congress/2023/fahrplan/events/11782.html
- [oss-security] 20231226 Re: New SMTP smuggling attack mailing-list
- [oss-security] 20231229 Re: Re: New SMTP smuggling attack mailing-list
- [oss-security] 20231230 Re: Re: New SMTP smuggling attack mailing-list
- [oss-security] 20231230 Re: Re: New SMTP smuggling attack mailing-list
- https://www.youtube.com/watch?v=V8KPV96g1To
- https://lwn.net/Articles/956533/
- [debian-lts-announce] 20240615 [SECURITY] [DLA 3829-1] sendmail security update mailing-list