Skip to content
OpenAdvisories
High ALAS2-2025-2887 2 CVEs

Important: mod_security security update (Amazon Linux 2)

Published Jun 9, 2025 · Updated Jun 12, 2025

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2025-48866: ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. Versions prior to 2.9.10 contain a denial of service vulnerability similar to GHSA-859r-vvv8-rm8r/CVE-2025-47947. The `sanitiseArg` (and `sanitizeArg` - this is the same action but an alias) is vulnerable to adding an excessive number of arguments, thereby leading to denial of service. Version 2.9.10 fixes the issue. As a workaround, avoid using rules that contain the `sanitiseArg` (or `sanitizeArg`) action. CVE-2025-47947: ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. Versions up to and including 2.9.8 are vulnerable to denial of service in one special case (in stable released versions): when the payload's content type is `application/json`, and there is at least one rule which does a `sanitiseMatchedBytes` action. A patch is available at pull request 3389 and expected to be part of version 2.9.9. No known workarounds are available.

Fixed packages 3

ReleasePackageFixed in
Amazon Linux · 2 mod_security 0:2.9.10-1.amzn2.0.1
Amazon Linux · 2 mod_security-debuginfo 0:2.9.10-1.amzn2.0.1
Amazon Linux · 2 mod_security-mlogc 0:2.9.10-1.amzn2.0.1

Vulnerabilities 2

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-47947.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-48866.html