CVE-2021-39275

ap_escape_quotes buffer overflow

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.

Category

9.8
CVSS
Severity: Critical
CVSS 3.1 •
CVSS 2.0 •
EPSS 47.56% Top 5%
Vendor Advisory fedoraproject.org Vendor Advisory fedoraproject.org Vendor Advisory debian.org Vendor Advisory cisco.com Vendor Advisory gentoo.org Vendor Advisory apache.org
Affected: Apache Software Foundation Apache HTTP Server
Published at:
Updated at:

References

Link Tags
https://httpd.apache.org/security/vulnerabilities_24.html release notes vendor advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SPBR6WUYBJNACHKE65SPL7TJOHX7RHWD/ third party advisory vendor advisory
https://lists.apache.org/thread.html/r82838efc5fa6fc4c73986399c9b71573589f78b31846aff5bd9b1697%40%3Cusers.httpd.apache.org%3E patch mailing list
https://lists.apache.org/thread.html/r82c077663f9759c7df5a6656f925b3ee4f55fcd33c889ba7cd687029%40%3Cusers.httpd.apache.org%3E patch mailing list
https://lists.apache.org/thread.html/r3925e167d5eb1c75def3750c155d753064e1d34a143028bb32910432%40%3Cusers.httpd.apache.org%3E patch mailing list
https://lists.apache.org/thread.html/r61fdbfc26ab170f4e6492ef3bd5197c20b862ce156e9d5a54d4b899c%40%3Cusers.httpd.apache.org%3E patch mailing list
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZNCYSR3BXT36FFF4XTCPL3HDQK4VP45R/ third party advisory vendor advisory
https://lists.debian.org/debian-lts-announce/2021/10/msg00001.html third party advisory mailing list
https://www.debian.org/security/2021/dsa-4982 third party advisory vendor advisory
https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-httpd-2.4.49-VWL69sWQ third party advisory vendor advisory
https://www.oracle.com/security-alerts/cpujan2022.html third party advisory patch
https://security.netapp.com/advisory/ntap-20211008-0004/ third party advisory
https://www.oracle.com/security-alerts/cpuapr2022.html third party advisory patch
https://cert-portal.siemens.com/productcert/pdf/ssa-685781.pdf third party advisory
https://security.gentoo.org/glsa/202208-20 third party advisory vendor advisory

Frequently Asked Questions

What is the severity of CVE-2021-39275?
CVE-2021-39275 has been scored as a critical severity vulnerability.
How to fix CVE-2021-39275?
To fix CVE-2021-39275, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2021-39275 being actively exploited in the wild?
It is possible that CVE-2021-39275 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~48% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2021-39275?
CVE-2021-39275 affects Apache Software Foundation Apache HTTP Server.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.