Vulnerability · Published Sep 16, 2021 · Assigned by apache

CVE-2021-39275ap_escape_quotes buffer overflow

Critical 9.8

In plain English

A critical-severity security flaw in Apache HTTP Server from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 39.4% (higher than 99% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)39.4%top 1.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8httpd2.4.37-43.module_el8.5.0+2630+51c6d843.2.almaALSA-2022:0891
AlmaLinux:8httpd-devel2.4.37-43.module_el8.5.0+2630+51c6d843.2.almaALSA-2022:0891
AlmaLinux:8httpd-filesystem2.4.37-43.module_el8.5.0+2630+51c6d843.2.almaALSA-2022:0891
AlmaLinux:8httpd-manual2.4.37-43.module_el8.5.0+2630+51c6d843.2.almaALSA-2022:0891
AlmaLinux:8httpd-tools2.4.37-43.module_el8.5.0+2630+51c6d843.2.almaALSA-2022:0891
AlmaLinux:8mod_ldap2.4.37-43.module_el8.5.0+2630+51c6d843.2.almaALSA-2022:0891
AlmaLinux:8mod_md1:2.0.8-8.module_el8.6.0+2872+fe0ff7aaALSA-2022:0891
AlmaLinux:8mod_proxy_html1:2.4.37-43.module_el8.5.0+2630+51c6d843.2.almaALSA-2022:0891
AlmaLinux:8mod_session2.4.37-43.module_el8.5.0+2630+51c6d843.2.almaALSA-2022:0891
AlmaLinux:8mod_ssl1:2.4.37-43.module_el8.5.0+2630+51c6d843.2.almaALSA-2022:0891
Alpine:v3.20apache22.4.49-r0ALPINE-CVE-2021-39275
Alpine:v3.21apache22.4.49-r0ALPINE-CVE-2021-39275
Alpine:v3.22apache22.4.49-r0ALPINE-CVE-2021-39275
Alpine:v3.23apache22.4.49-r0ALPINE-CVE-2021-39275
Alpine:v3.24apache22.4.49-r0ALPINE-CVE-2021-39275
Debian:12apache22.4.49-1DEBIAN-CVE-2021-39275
Debian:13apache22.4.49-1DEBIAN-CVE-2021-39275
Debian:14apache22.4.49-1DEBIAN-CVE-2021-39275
Rocky Linux:8httpd0:2.4.37-43.module+el8.5.0+714+5ec56ee8RLSA-2022:0891
Rocky Linux:8mod_http20:1.15.7-3.module+el8.5.0+695+1fa8055eRLSA-2022:0891
Rocky Linux:8mod_http20:1.15.7-3.module+el8.4.0+553+7a69454bRLSA-2022:0891
Rocky Linux:8mod_md1:2.0.8-8.module+el8.5.0+695+1fa8055eRLSA-2022:0891
Rocky Linux:8mod_md1:2.0.8-8.module+el8.4.0+553+7a69454bRLSA-2022:0891

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache HTTP Server Apache HTTP Server 2.4 – through 2.4.48

References