CVE-2021-26691
Apache HTTP Server mod_session response handling heap overflow
Check your servers for CVE-2021-26691
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2021-26691 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In Apache HTTP Server versions 2.4.0 to 2.4.46 a specially crafted SessionHeader sent by an origin server could cause a heap overflow
Exploitation
EPSS 68.2%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.3% of all scored CVEs. Scores of 1 Dec 2026.
Weakness
- CWE-122 Heap-based Buffer Overflow
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Apache HTTP Server |
affected 2.4.46 affected 2.4.43 affected 2.4.41 affected 2.4.39 affected 2.4.38 affected 2.4.37 affected 2.4.35 affected 2.4.34 affected 2.4.33 affected 2.4.29 affected 2.4.28 affected 2.4.27 affected 2.4.26 affected 2.4.25 affected 2.4.23 affected 2.4.20 affected 2.4.18 affected 2.4.17 affected 2.4.16 affected 2.4.12 affected 2.4.10 affected 2.4.9 affected 2.4.7 affected 2.4.6 affected 2.4.4
and 4 more entries
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2021-26691 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2021-26691RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2021-26691Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2021-26691
trivy image --scanners vuln IMAGE | grep CVE-2021-26691
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- DSA-4937 debian.org · vendor advisory
- GLSA-202107-38 security.gentoo.org · vendor advisory
- FEDORA-2021-dce7e7738e lists.fedoraproject.org · vendor advisory
- FEDORA-2021-e3f6dd670d lists.fedoraproject.org · vendor advisory
- https://security.netapp.com/advisory/ntap-20210702-0001/ security.netapp.com
Other references
- http://httpd.apache.org/security/vulnerabilities_24.html httpd.apache.org
- https://lists.apache.org/thread.html/re026d3da9d7824bd93b9f871c0fdda978d960c7e62d8c43cba8d0bf3%40%3Ccvs.httpd.apache.org%3E lists.apache.org
- [httpd-announce] 20210609 CVE-2021-26691: mod_session response handling heap overflow lists.apache.org · mailing list
- [httpd-dev] 20210610 Re: svn commit: r1890598 - in /httpd/site/trunk/content/security/json: CVE-2019-17567.json… lists.apache.org · mailing list
- [oss-security] 20210609 CVE-2021-26691: Apache httpd: mod_session response handling heap overflow openwall.com · mailing list
- [debian-lts-announce] 20210709 [SECURITY] [DLA 2706-1] apache2 security update lists.debian.org · mailing list
- https://www.oracle.com/security-alerts/cpuoct2021.html oracle.com
- https://www.oracle.com/security-alerts/cpujan2022.html oracle.com
Source: the record CVE-2021-26691 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse