Incorrect Check of Function Return Value Affecting mod_session package, versions <0:2.4.65-1.amzn2.0.2


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.13% (33rd 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-AMZN2-MODSESSION-12508372
  • published5 Sept 2025
  • disclosed23 Jul 2025

Introduced: 23 Jul 2025

CVE-2025-54090  (opens in a new tab)
CWE-253  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 mod_session to version 0:2.4.65-1.amzn2.0.2 or higher.
This issue was patched in ALAS2-2025-2982.

NVD Description

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

A bug in Apache HTTP Server 2.4.64 results in all "RewriteCond expr ..." tests evaluating as "true".

Users are recommended to upgrade to version 2.4.65, which fixes the issue.

CVSS Base Scores

version 3.1