Unchecked Return Value Affecting mod_security-mlogc package, versions <0:2.9.12-1.amzn2.0.1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.05% (16th 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-MODSECURITYMLOGC-12508015
  • published5 Sept 2025
  • disclosed6 Aug 2025

Introduced: 6 Aug 2025

CVE-2025-54571  (opens in a new tab)
CWE-252  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 mod_security-mlogc to version 0:2.9.12-1.amzn2.0.1 or higher.
This issue was patched in ALAS2-2025-2981.

NVD Description

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

ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. In versions 2.9.11 and below, an attacker can override the HTTP response’s Content-Type, which could lead to several issues depending on the HTTP scenario. For example, we have demonstrated the potential for XSS and arbitrary script source code disclosure in the latest version of mod_security2. This issue is fixed in version 2.9.12.

CVSS Base Scores

version 3.1