USN-6370-1: ModSecurity vulnerabilities

Published Sep 14, 2023
·
Updated

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

14 affected componentsFixes available
All of the following
ubuntu/libapache2-mod-security2<2.9.5-1ubuntu0.1~esm1
2.9.5-1ubuntu0.1~esm1
Ubuntu Ubuntu=22.04
All of the following
ubuntu/libapache2-mod-security2<2.9.3-1ubuntu0.1
2.9.3-1ubuntu0.1
Ubuntu Ubuntu=20.04
All of the following
ubuntu/libapache2-mod-security2<2.9.2-1ubuntu0.1~esm1
2.9.2-1ubuntu0.1~esm1
Ubuntu Ubuntu=18.04
All of the following
ubuntu/libapache2-mod-security2<2.9.0-1ubuntu0.1~esm1
2.9.0-1ubuntu0.1~esm1
Ubuntu Ubuntu=16.04
All of the following
ubuntu/libapache2-modsecurity<2.9.0-1ubuntu0.1~esm1
2.9.0-1ubuntu0.1~esm1
Ubuntu Ubuntu=16.04
All of the following
ubuntu/libapache2-mod-security2<2.7.7-2ubuntu0.1~esm1
2.7.7-2ubuntu0.1~esm1
Ubuntu Ubuntu=14.04
All of the following
ubuntu/libapache2-modsecurity<2.7.7-2ubuntu0.1~esm1
2.7.7-2ubuntu0.1~esm1
Ubuntu Ubuntu=14.04

Event History

Sep 14, 2023
Advisory Published
via Ubuntu·12:00 AM

Child vulnerabilities

Contains the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this ModSecurity vulnerability?

The vulnerability ID for this ModSecurity vulnerability is CVE-2021-42717.

2

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.

3

How can an attacker exploit this vulnerability?

An attacker can exploit this vulnerability to cause a denial of service.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203