Security update: mod_security v2.9.15 RPM and DEB packages released

mod_security v2.9.15 has been added to the CodeIT repository. ModSecurity is the web application firewall module for Apache httpd. The packages are built for RHEL, CentOS, AlmaLinux, Rocky Linux and Oracle Linux 8 and 9, and for Ubuntu 22.04 and 24.04.

This update fixes security vulnerabilities. Upgrading is recommended.

Major changes:

  • fix(iis): correct InstallModule32/64 CustomAction ID naming swap [Issue #3603 – @fzipi]

Fixed vulnerabilities:

  • fix: t:htmlEntityDecode does not decode all ASCII named HTML entities [PR from private repo – @marcstern, @fzipi, @airween; fixed GHSA-cxqf-vgrr-xxrv]
  • fix: use secure value for host verification in case of remote rules download [PR from private repo – @amitu314, @airween; fixed GHSA-2vqc-36qp-ccmw]
  • fix: add guard to check XML parser context pointer before use [PR from private repo – Tobias Klein, @airween; fixed GHSA-jx3r-phvx-2jmj]
  • fix: t:removeComments behavior in case of adjacent comments [PR from private repo – @HEXER365, @airween; fixed GHSA-qrch-pjfr-9g47]
  • fix: t:base64DecodeExt does not handle ‘-‘ and ‘_’ characters (URL-safe alphabet) [PR from private repo – @fzipi, @airween; fixed GHSA-4j47-8qcr-jf59]
  • fix: handle ‘filename*’ and duplicated ‘filename’ parameters in multipart Content-Disposition header; add new variables MULTIPART_DUPLICATE_PART_HEADER, MULTIPART_FILENAME_CHARSET, MULTIPART_FILENAME_LANGUAGE [PR from private repo – @hnakamur, @fzipi, @theseion, @airween; fixed GHSA-5pww-8rfg-9crf]

Install or upgrade:

  • EL8/EL9: dnf install mod_security
  • Debian, Ubuntu: apt-get install libapache2-mod-security2

Connect the CodeIT repository first: https://codeit.guru/codeit-repository-setup/

Package files in the repository:

EL8

# x86_64
mod_security-2.9.15-1.codeit.el8.x86_64.rpm
# aarch64
mod_security-2.9.15-1.codeit.el8.aarch64.rpm
# SRPM
mod_security-2.9.15-1.codeit.el8.src.rpm

EL9

# x86_64
mod_security-2.9.15-1.codeit.el9.x86_64.rpm
# aarch64
mod_security-2.9.15-1.codeit.el9.aarch64.rpm
# SRPM
mod_security-2.9.15-1.codeit.el9.src.rpm

Ubuntu 20.04

# amd64
libapache2-mod-security2_2.9.15-1+codeit.ubuntu20.04_amd64.deb
# arm64
libapache2-mod-security2_2.9.15-1+codeit.ubuntu20.04_arm64.deb

Ubuntu 22.04

# amd64
libapache2-mod-security2_2.9.15-1codeit.jammy_amd64.deb
# arm64
libapache2-mod-security2_2.9.15-1codeit.jammy_arm64.deb

Ubuntu 24.04

# amd64
libapache2-mod-security2_2.9.15-1codeit.noble_amd64.deb
# arm64
libapache2-mod-security2_2.9.15-1codeit.noble_arm64.deb

Debian 11

# amd64
libapache2-mod-security2_2.9.15-1+codeit.deb11_amd64.deb
# arm64
libapache2-mod-security2_2.9.15-1+codeit.deb11_arm64.deb

Debian 12

# amd64
libapache2-mod-security2_2.9.15-1+codeit.deb12_amd64.deb
# arm64
libapache2-mod-security2_2.9.15-1+codeit.deb12_arm64.deb

Leave a Reply

Your email address will not be published. Required fields are marked *