Vulnerability · Published Dec 24, 2023 · Assigned by mitre

CVE-2023-51764

Medium 5.3

In plain English

A medium-severity security flaw in the postfix package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.6% (higher than 86% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.3Medium
Exploit odds (30 days)2.6%top 14.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:9postfix2:3.5.25-1.el9ALSA-2024:9243
AlmaLinux:9postfix-cdb2:3.5.25-1.el9ALSA-2024:9243
AlmaLinux:9postfix-ldap2:3.5.25-1.el9ALSA-2024:9243
AlmaLinux:9postfix-lmdb2:3.5.25-1.el9ALSA-2024:9243
AlmaLinux:9postfix-mysql2:3.5.25-1.el9ALSA-2024:9243
AlmaLinux:9postfix-pcre2:3.5.25-1.el9ALSA-2024:9243
AlmaLinux:9postfix-perl-scripts2:3.5.25-1.el9ALSA-2024:9243
AlmaLinux:9postfix-pgsql2:3.5.25-1.el9ALSA-2024:9243
AlmaLinux:9postfix-sqlite2:3.5.25-1.el9ALSA-2024:9243
Debian:12postfix3.7.9-0+deb12u1DEBIAN-CVE-2023-51764
Debian:13postfix3.8.4-1DEBIAN-CVE-2023-51764
Debian:14postfix3.8.4-1DEBIAN-CVE-2023-51764
Rocky Linux:9postfix2:3.5.25-1.el9RLSA-2024:9243
Ubuntu:22.04:LTSpostfix3.6.4-1ubuntu1.2USN-6591-1
Ubuntu:22.04:LTSpostfix3.6.4-1ubuntu1.3USN-6591-2
Ubuntu:22.04:LTSpostfix3.6.4-1ubuntu1.3UBUNTU-CVE-2023-51764

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References