CVE-2021-39275 ap_escape_quotes buffer overflow
A buffer overflow in ap_escape_quotes allows attackers to cause denial of service or execute arbitrary code via malicious input in third-party modules.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-39275?
CVE-2021-39275 is a critical memory corruption vulnerability in Apache Http Server, published on 16 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
ap_escape_quotes() may write beyond the end of a buffer when given malicious input. No included modules pass untrusted data to these functions, but third-party / external modules may. This issue affects Apache HTTP Server 2.4.48 and earlier.
Weakness: CWE-787
Which versions are affected by CVE-2021-39275?
1 open source package ship an affected version, including apache. It affects 11 products.
| Package | Affected | Fixed in |
|---|---|---|
apache Bitnami | All versions | 2.4.49 |
Linux distribution packages (2)
apache2 SUSE:Linux Enterprise Point of Sale 11 SP3 | All versions | 2.2.34-70.38.1 |
apache2 SUSE:Linux Enterprise Server 11 SP4-LTSS | All versions | 2.2.34-70.38.1 |
Products include Apache Http Server, Debian Debian Linux, Fedoraproject Fedora, Netapp Cloud Backup, Netapp Clustered Data Ontap, Netapp Storagegrid and 5 more.
How do I fix CVE-2021-39275?
Upgrade apache to 2.4.49 or later.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-39275 being exploited?
There is no known exploitation of CVE-2021-39275 in the wild and no public exploit code.
Other vulnerabilities in Apache Http Server
Sources
Also known as ALPINE-CVE-2021-39275, AZL-6486, BIT-apache-2021-39275, CLEANSTART-2026-OA19961, CLSA-2021-1634745216, CLSA-2021-1634922666 and 6 more.