Insufficient Verification of Data Authenticity Affecting postfix-mysql package, versions <2:3.7.2-4.amzn2023.0.5


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.88% (83rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-POSTFIXMYSQL-6184277
  • published23 Jan 2024
  • disclosed24 Dec 2023

Introduced: 24 Dec 2023

CVE-2023-51764  (opens in a new tab)
CWE-345  (opens in a new tab)
CWE-451  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 postfix-mysql to version 2:3.7.2-4.amzn2023.0.5 or higher.
This issue was patched in ALAS2023-2024-495.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postfix-mysql package and not the postfix-mysql package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Scores

version 3.1