CVE-2021-39275: ap_escape_quotes buffer overflow
Noroxi assessment
Priority: Plan (action score 51/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 39.4% (FIRST EPSS); higher than 98.6% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: httpd (AlmaLinux:8) 2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma; httpd-devel (AlmaLinux:8) 2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma; httpd-filesystem (AlmaLinux:8) 2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma.
- Mentioned 6 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Add it to your regular patch cycle. Upgrade to httpd (AlmaLinux:8) 2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma; httpd-devel (AlmaLinux:8) 2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma; httpd-filesystem (AlmaLinux:8) 2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Sep 16, 2021
- Updated
- Jun 17, 2026
- EPSS
- 39.4% · 98th percentile
- CWE
- CWE-787
Report tools
Action score
51
Add it to your regular patch cycle.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 12 / 30 · 39.4%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is Apache HTTP Server on your server exposed to the internet?Run a port scan
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| apache | http server | cpe:2.3:a:apache:http_server |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| netapp | cloud backup | cpe:2.3:a:netapp:cloud_backup |
| netapp | clustered data ontap | cpe:2.3:a:netapp:clustered_data_ontap |
| netapp | storagegrid | cpe:2.3:a:netapp:storagegrid |
| oracle | http server | cpe:2.3:a:oracle:http_server |
| oracle | instantis enterprisetrack | cpe:2.3:a:oracle:instantis_enterprisetrack |
| oracle | zfs storage appliance kit | cpe:2.3:a:oracle:zfs_storage_appliance_kit |
| siemens | sinec nms | cpe:2.3:a:siemens:sinec_nms |
| siemens | sinema server | cpe:2.3:a:siemens:sinema_server |
Using http server? Add it to your stack and be the first to know about CVEs like this one. (Apache HTTP)
Is Apache HTTP Server on your server exposed to the internet?
The free port scanner finds the open ports on your server and matches the service versions it can read against known vulnerabilities. No account needed.
Run a port scanVersions reported by the vendor
Affected version ranges reported by the assigning authority (apache). Independent of NVD's CPE analysis and usually ahead of it.
Apache Software Foundation Apache HTTP Server
- Apache HTTP Server 2.4 and later · up to and including 2.4.48affected
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apache http serverbefore 2.4.49
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | httpd | before 2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma | 2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma |
| AlmaLinux:8 | httpd-devel | before 2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma | 2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma |
| AlmaLinux:8 | httpd-filesystem | before 2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma | 2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma |
| AlmaLinux:8 | httpd-manual | before 2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma | 2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma |
| AlmaLinux:8 | httpd-tools | before 2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma | 2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma |
| AlmaLinux:8 | mod_ldap | before 2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma | 2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma |
| AlmaLinux:8 | mod_md | before 1:2.0.8-8.module_el8.6.0+2872+fe0ff7aa | 1:2.0.8-8.module_el8.6.0+2872+fe0ff7aa |
| AlmaLinux:8 | mod_proxy_html | before 1:2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma | 1:2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma |
| AlmaLinux:8 | mod_session | before 2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma | 2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma |
| AlmaLinux:8 | mod_ssl | before 1:2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma | 1:2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma |
| Alpine:v3.11 | apache2 | before 2.4.49-r0 | 2.4.49-r0 |
| Debian:10 | apache2 | before 2.4.38-3+deb10u6 | 2.4.38-3+deb10u6 |
| Debian:11 | apache2 | before 2.4.51-1~deb11u1 | 2.4.51-1~deb11u1 |
| Debian:12 | apache2 | before 2.4.49-1 | 2.4.49-1 |
| Debian:9 | apache2 | before 2.4.25-3+deb9u11 | 2.4.25-3+deb9u11 |
| openSUSE:Leap 15.2 | apache2 | before 2.4.43-lp152.2.21.1 | 2.4.43-lp152.2.21.1 |
| openSUSE:Leap 15.3 | apache2 | before 2.4.43-3.32.1 | 2.4.43-3.32.1 |
| Red Hat:enterprise_linux:7::client | httpd | before 0:2.4.6-97.el7_9.4 | 0:2.4.6-97.el7_9.4 |
| Red Hat:enterprise_linux:7::client | httpd-debuginfo | before 0:2.4.6-97.el7_9.4 | 0:2.4.6-97.el7_9.4 |
| Red Hat:enterprise_linux:7::client | httpd-devel | before 0:2.4.6-97.el7_9.4 | 0:2.4.6-97.el7_9.4 |
| Red Hat:enterprise_linux:7::client | httpd-manual | before 0:2.4.6-97.el7_9.4 | 0:2.4.6-97.el7_9.4 |
| Red Hat:enterprise_linux:7::client | httpd-tools | before 0:2.4.6-97.el7_9.4 | 0:2.4.6-97.el7_9.4 |
| Red Hat:enterprise_linux:7::client | mod_ldap | before 0:2.4.6-97.el7_9.4 | 0:2.4.6-97.el7_9.4 |
| Red Hat:enterprise_linux:7::client | mod_proxy_html | before 1:2.4.6-97.el7_9.4 | 1:2.4.6-97.el7_9.4 |
+67
Same product
apache: all recordsOther highest-scoring records for the same primary product.
- CVE-2021-42013Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773)KEV99Now
- CVE-2021-41773Path traversal and file disclosure vulnerability in Apache HTTP Server 2.4.49KEV99Now
- CVE-2024-38475Apache HTTP Server weakness in mod_rewrite when first segment of substitution matches filesystem path.KEV96Now
Published before and after this one in the same product
- ← EarlierCVE-2021-34798Sep 16, 2021 · NULL pointer dereference in httpd core49Plan
- ← EarlierCVE-2021-36160Sep 16, 2021 · mod_proxy_uwsgi out of bound read49Plan
- Later →CVE-2021-41524Oct 5, 2021 · null pointer dereference in h2 fuzzing38Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:httpd | 2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:httpd-devel | 2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:httpd-filesystem | 2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:httpd-manual | 2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:httpd-tools | 2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mod_ldap | 2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mod_md | 1:2.0.8-8.module_el8.6.0+2872+fe0ff7aa · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mod_proxy_html | 1:2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mod_session | 2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:mod_ssl | 1:2.4.37-43.module_el8.5.0+2630+51c6d843.2.alma · AlmaLinux:8 | Package registry (OSV) |
| alpine:apache2 | 2.4.49-r0 · Alpine:v3.11 | Package registry (OSV) |
| debian:apache2 | 2.4.49-1 · Debian:12 | Package registry (OSV) |
| opensuse:apache2 | 2.4.43-lp152.2.21.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| red hat:httpd | 0:2.4.6-97.el7_9.4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:httpd-debuginfo | 0:2.4.6-97.el7_9.4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:httpd-debugsource | 0:2.4.37-43.module+el8.5.0+14370+51c6d843.2 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:httpd-devel | 0:2.4.6-97.el7_9.4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:httpd-filesystem | 0:2.4.37-43.module+el8.5.0+14370+51c6d843.2 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:httpd-manual | 0:2.4.6-97.el7_9.4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:httpd-tools | 0:2.4.6-97.el7_9.4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:httpd-tools-debuginfo | 0:2.4.37-43.module+el8.5.0+14370+51c6d843.2 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:mod_ldap | 0:2.4.6-97.el7_9.4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:mod_proxy_html | 1:2.4.6-97.el7_9.4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:mod_session | 0:2.4.6-97.el7_9.4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:mod_ssl | 1:2.4.6-97.el7_9.4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| rocky linux:httpd | 0:2.4.37-43.module+el8.5.0+714+5ec56ee8 · Rocky Linux:8 | Package registry (OSV) |
| rocky linux:mod_http2 | 0:1.15.7-3.module+el8.4.0+553+7a69454b · Rocky Linux:8 | Package registry (OSV) |
| rocky linux:mod_md | 1:2.0.8-8.module+el8.5.0+695+1fa8055e · Rocky Linux:8 | Package registry (OSV) |
| suse:apache2 | 2.2.34-70.38.1 · SUSE:Linux Enterprise Point of Sale 11 SP3 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-22-0184 · Mar 1, 2022(IBM Güvenlik Bülteni)
- TR-22-0062 · Jan 19, 2022(RedHat Güvenlik Güncellemesi)
- TR-22-0054 · Jan 18, 2022(RedHat Güvenlik Güncellemesi)
- TR-21-0947 · Nov 25, 2021(Cisco Güvenlik Zafiyeti)
- TR-21-0823 · Oct 11, 2021(Debian Güvenlik Güncellemesi)
- TR-21-0796 · Oct 4, 2021(Debian Güvenlik Güncellemesi)
Not on record for this CVE: patch commit or PR link · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-787 · Out-of-bounds WriteCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (14 more)Show less
- cert-portal.siemens.com/productcert/pdf/ssa-685781.pdf
- httpd.apache.org/security/vulnerabilities_24.html
- lists.apache.org/thread.html/r3925e167d5eb1c75def3750c155d753064e1d34a143028bb32910432%40%3Cusers.httpd.apache.org%3E
- lists.apache.org/thread.html/r61fdbfc26ab170f4e6492ef3bd5197c20b862ce156e9d5a54d4b899c%40%3Cusers.httpd.apache.org%3E
- lists.apache.org/thread.html/r82838efc5fa6fc4c73986399c9b71573589f78b31846aff5bd9b1697%40%3Cusers.httpd.apache.org%3E
- lists.apache.org/thread.html/r82c077663f9759c7df5a6656f925b3ee4f55fcd33c889ba7cd687029%40%3Cusers.httpd.apache.org%3E
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SPBR6WUYBJNACHKE65SPL7TJOHX7RHWD/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZNCYSR3BXT36FFF4XTCPL3HDQK4VP45R/
- security.gentoo.org/glsa/202208-20
- security.netapp.com/advisory/ntap-20211008-0004/
- tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-httpd-2.4.49-VWL69sWQ
- www.debian.org/security/2021/dsa-4982
- www.oracle.com/security-alerts/cpuapr2022.html
- www.oracle.com/security-alerts/cpujan2022.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.