cve.bz

CVE-2021-39275 Out-of-bounds Write

9.8 criticalEPSS 39%Fix available

Critical (9.8). EPSS 39% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
39% (unchanged from 39% a week ago; 39% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-39275 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-39275?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-39275?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-39275 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache HTTP Serverfrom Apache HTTP Server 2.4 through 2.4.48

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9apache22.4.25-3+deb9u11DLA-2776-1
Debian10apache22.4.38-3+deb10u6DSA-4982-1
Debian11apache22.4.51-1~deb11u1DSA-4982-1
Debian12, 13, 14apache22.4.49-1DEBIAN-CVE-2021-39275
Ubuntu18.04:LTSapache22.4.29-1ubuntu4.17UBUNTU-CVE-2021-39275 USN-5090-1
Ubuntu20.04:LTSapache22.4.41-4ubuntu3.5UBUNTU-CVE-2021-39275 USN-5090-1
UbuntuPro:14.04:LTSapache22.4.7-1ubuntu4.22+esm2UBUNTU-CVE-2021-39275 USN-5090-2
UbuntuPro:16.04:LTSapache22.4.18-2ubuntu3.17+esm2UBUNTU-CVE-2021-39275 USN-5090-2
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morehttpd, mod_ldap, httpd-devel and 4 more0:2.4.6-97.el7_9.4RHSA-2022:0143
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moremod_ssl, mod_proxy_html1:2.4.6-97.el7_9.4RHSA-2022:0143
Red Hatenterprise_linux:8::appstreamhttpd, mod_ldap, httpd-devel and 9 more0:2.4.37-43.module+el8.5.0+14370+51c6d843.2RHSA-2022:0891
Red Hatenterprise_linux:8::appstreammod_http2, mod_http2-debuginfo, mod_http2-debugsource0:1.15.7-3.module+el8.4.0+8625+d397f3daRHSA-2022:0891
Red Hatenterprise_linux:8::appstreammod_md, mod_md-debuginfo, mod_md-debugsource1:2.0.8-8.module+el8.3.0+6814+67d1e611RHSA-2022:0891
Red Hatenterprise_linux:8::appstreammod_ssl, mod_proxy_html, mod_ssl-debuginfo and 1 more1:2.4.37-43.module+el8.5.0+14370+51c6d843.2RHSA-2022:0891
Red Hatjboss_core_services:1::el7jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-devel and 5 more0:2.4.51-28.el7jbcsRHSA-2022:7143
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_ssl, jbcs-httpd24-mod_proxy_html1:2.4.51-28.el7jbcsRHSA-2022:7143
Red Hatjboss_core_services:1::el8jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-devel and 8 more0:2.4.51-28.el8jbcsRHSA-2022:7143
Red Hatjboss_core_services:1::el8jbcs-httpd24-mod_ssl, jbcs-httpd24-mod_proxy_html, jbcs-httpd24-mod_ssl-debuginfo and 1 more1:2.4.51-28.el8jbcsRHSA-2022:7143
Red Hatrhel_software_collections:3::el7httpd24-httpd, httpd24-mod_ldap, httpd24-httpd-devel and 4 more0:2.4.34-23.el7.5RHSA-2022:6753
Red Hatrhel_software_collections:3::el7httpd24-mod_ssl, httpd24-mod_proxy_html1:2.4.34-23.el7.5RHSA-2022:6753
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 moreapache22.4.33-3.55.1SUSE-SU-2021:3335-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 11 moreapache22.4.23-29.80.1SUSE-SU-2021:3299-1
SUSELinux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Package Hub 15 SP3 and 2 moreapache22.4.43-3.32.1SUSE-SU-2021:3522-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4-LTSSapache22.2.34-70.38.1SUSE-SU-2021:14811-1
openSUSELeap 15.2apache22.4.43-lp152.2.21.1openSUSE-SU-2021:1438-1
openSUSELeap 15.3apache22.4.43-3.32.1openSUSE-SU-2021:3522-1
AlmaLinux8httpd, mod_ldap, httpd-devel and 4 more2.4.37-43.module_el8.5.0+2630+51c6d843.2.almaALSA-2022:0891
AlmaLinux8mod_md1:2.0.8-8.module_el8.6.0+2872+fe0ff7aaALSA-2022:0891
AlmaLinux8mod_ssl, mod_proxy_html1:2.4.37-43.module_el8.5.0+2630+51c6d843.2.almaALSA-2022:0891
Rocky Linux8httpd0:2.4.37-43.module+el8.5.0+714+5ec56ee8RLSA-2022:0891
Rocky Linux8mod_http20:1.15.7-3.module+el8.4.0+553+7a69454bRLSA-2022:0891
Rocky Linux8mod_http20:1.15.7-3.module+el8.5.0+695+1fa8055eRLSA-2022:0891
Rocky Linux8mod_md1:2.0.8-8.module+el8.4.0+553+7a69454bRLSA-2022:0891
Rocky Linux8mod_md1:2.0.8-8.module+el8.5.0+695+1fa8055eRLSA-2022:0891
Alpinev3.11, v3.12, v3.13 and 11 moreapache22.4.49-r0ALPINE-CVE-2021-39275
Azure Linux2httpd2.4.52-1AZL-6486

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

No httpd module in Red Hat Enterprise Linux and Red Hat Software Collections pass untrusted data to ap_escape_quotes function, thus the Impact of the flaw has been set to Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
JBoss Core Services for RHEL 8jbcs-httpd24-httpd-0:2.4.51-28.el8jbcsFixed 2022-10-26RHSA-2022:7143
JBoss Core Services on RHEL 7jbcs-httpd24-httpd-0:2.4.51-28.el7jbcsFixed 2022-10-26RHSA-2022:7143
Red Hat Enterprise Linux 7httpd-0:2.4.6-97.el7_9.4Fixed 2022-01-17RHSA-2022:0143
Red Hat Enterprise Linux 8httpd:2.4-8050020220228164203.c5368500Fixed 2022-03-15RHSA-2022:0891
Red Hat JBoss Core Servicesjbcs-httpd24-httpdFixed 2022-10-26RHSA-2022:7144
Red Hat Software Collections for Red Hat Enterprise Linux 7httpd24-httpd-0:2.4.34-23.el7.5Fixed 2022-09-29RHSA-2022:6753
Red Hat Enterprise Linux 6httpdOut of support scope
Red Hat Enterprise Linux 9httpdNot affected
Red Hat JBoss Enterprise Application Platform 6httpdOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-39275.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-22-167-06Siemens Apache HTTP Server2022-06-14MultipleSINEC NMS, SINEMA Server V14none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON