Out-of-bounds Read Affecting nginx-mod-stream package, versions <1:1.28.0-1.amzn2023.0.2


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (12th 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-NGINXMODSTREAM-12023906
  • published19 Aug 2025
  • disclosed13 Aug 2025

Introduced: 13 Aug 2025

NewCVE-2025-53859  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 nginx-mod-stream to version 1:1.28.0-1.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2025-1152.

NVD Description

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

NGINX Open Source and NGINX Plus have a vulnerability in the ngx_mail_smtp_module that might allow an unauthenticated attacker to over-read NGINX SMTP authentication process memory; as a result, the server side may leak arbitrary bytes sent in a request to the authentication server. This issue happens during the NGINX SMTP authentication process and requires the attacker to make preparations against the target system to extract the leaked data. The issue affects NGINX only if (1) it is built with the ngx_mail_smtp_module, (2) the smtp_auth directive is configured with method "none," and (3) the authentication server returns the "Auth-Wait" response header.

Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.

CVSS Base Scores

version 3.1