CVE-2023-51764
Reported by mitre · Published December 24, 2023
Postfix through 3.8.5 allows SMTP smuggling unless configured with smtpd_data_restrictions=reject_unauth_pipelining and smtpd_discard_ehlo_keywords=chunking (or certain other options that exist in recent versions). 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 Postfix supports <LF>.<CR><LF> but some other popular e-mail servers do not. To prevent attack variants (by always disallowing <LF> without <CR>), a different solution is required, such as the smtpd_forbid_bare_newline=yes option with a Postfix minimum version of 3.5.23, 3.6.13, 3.7.9, 3.8.4, or 3.9.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| postfix-mysql | Amazon Linux | 2:3.7.2-4.amzn2023.0.5 |
| postfix-pcre | Amazon Linux | 2:3.7.2-4.amzn2023.0.5 |
| postfix-perl-scripts | Amazon Linux | 2:3.7.2-4.amzn2023.0.5, 2:2.10.1-6.amzn2.0.4 |
| postfix-cdb | Amazon Linux | 2:3.7.2-4.amzn2023.0.5 |
| postfix-ldap | Amazon Linux | 2:3.7.2-4.amzn2023.0.5 |
| postfix-pgsql | Amazon Linux | 2:3.7.2-4.amzn2023.0.5 |
| postfix-sysvinit | Amazon Linux | 2:2.10.1-6.amzn2.0.4 |
| postfix-sqlite | Amazon Linux | 2:3.7.2-4.amzn2023.0.5 |
| postfix-lmdb | Amazon Linux | 2:3.7.2-4.amzn2023.0.5 |
| postfix | Amazon Linux | 2:3.7.2-4.amzn2023.0.5 |
| postfix | postfix | 3.8.4, 3.7.9, 3.6.13, 3.5.23 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2023 | postfix-mysql | 0 |
| amazon:2023 | postfix-pcre | 0 |
| amazon:2 | postfix-perl-scripts | 0 |
| amazon:2023 | postfix-cdb | 0 |
| amazon:2023 | postfix-ldap | 0 |
| amazon:2023 | postfix-perl-scripts | 0 |
| amazon:2023 | postfix-pgsql | 0 |
| amazon:2 | postfix-sysvinit | 0 |
| amazon:2023 | postfix-sqlite | 0 |
| amazon:2023 | postfix-lmdb | 0 |
| amazon:2023 | postfix | 0 |
| n/a | n/a | * |
| amazon:2 | postfix | 0 |
Timeline
- Dec 24, 2023 CVE Published
- Dec 24, 2023 EPSS Score (30 in total, the first dated here)
- Jan 5, 2024 PoC Published
- Oct 5, 2024 Coalition ESS Score (17 in total, the first dated here)
- Mar 21, 2026 Distribution Patch (4 in total, the first dated here)
- Mar 21, 2026 Security Advisory (5 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-51764
vulnetix vdb fixes CVE-2023-51764
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-51764/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [oss-security] 20231224 Re: Re: New SMTP smuggling attack mailing-list
- [oss-security] 20231225 Re: Re: New SMTP smuggling attack mailing-list
- FEDORA-2024-c839e7294f vendor-advisory
- FEDORA-2024-5c186175f2 vendor-advisory
- [debian-lts-announce] 20240130 [SECURITY] [DLA 3725-1] postfix security update mailing-list
- [oss-security] 20240508 Re: New SMTP smuggling attack mailing-list
- CVE-2023-51764-POC exploit
- CVE-2023-51764 exploit
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QRLF5SOS7TP5N7FQSEK2NFNB44ISVTZC/ url
…and 1 more