USN-6370-1: ModSecurity vulnerabilities
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)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/libapache2-mod-security2to a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/libapache2-mod-security2to a version that resolves this vulnerability.Fixed in 2.9.3-1ubuntu0.1 - Upgrade
Upgrade
ubuntu/libapache2-modsecurityto a version that resolves this vulnerability.Fixed in Ubuntu Pro
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
What is the vulnerability ID for this ModSecurity vulnerability?
The vulnerability ID for this ModSecurity vulnerability is CVE-2021-42717.
What is the affected software for this vulnerability?
The affected software for this vulnerability is libapache2-mod-security2 version up to 2.9.5-1ubuntu0.1~esm1 on Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS.
How can an attacker exploit this vulnerability?
An attacker can exploit this vulnerability to cause a denial of service.
Which versions of Ubuntu are affected by this vulnerability?
This vulnerability affects Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS.
How do I fix this ModSecurity vulnerability?
To fix this ModSecurity vulnerability, update libapache2-mod-security2 to version 2.9.5-1ubuntu0.1~esm1 or higher.