USN-6370-1: ModSecurity vulnerabilities
14 September 2023
Several security issues were fixed in ModSecurity.
Releases
Packages
- modsecurity-apache - Tighten web applications security for Apache
Details
It was discovered that ModSecurity incorrectly handled certain nested JSON
objects. An attacker could possibly use this issue to cause a denial
of service. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS
and Ubuntu 20.04 LTS. (CVE-2021-42717)
It was discovered that ModSecurity incorrectly handled certain HTTP
multipart requests. A remote attacker could possibly use this issue
to bypass ModSecurity restrictions. (CVE-2022-48279)
It was discovered that ModSecurity incorrectly handled certain file
uploads. A remote attacker could possibly use this issue to cause a
buffer overflow and a firewall failure. This issue only affected
Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS.
(CVE-2023-24021)
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 22.04
-
libapache2-mod-security2
-
2.9.5-1ubuntu0.1~esm1
Available with Ubuntu Pro
Ubuntu 20.04
Ubuntu 18.04
-
libapache2-mod-security2
-
2.9.2-1ubuntu0.1~esm1
Available with Ubuntu Pro
Ubuntu 16.04
-
libapache2-mod-security2
-
2.9.0-1ubuntu0.1~esm1
Available with Ubuntu Pro
-
libapache2-modsecurity
-
2.9.0-1ubuntu0.1~esm1
Available with Ubuntu Pro
Ubuntu 14.04
-
libapache2-mod-security2
-
2.7.7-2ubuntu0.1~esm1
Available with Ubuntu Pro
-
libapache2-modsecurity
-
2.7.7-2ubuntu0.1~esm1
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.