CVE-2020-1927
Apache HTTP Server: URL Redirection to Untrusted Site
Check your servers for CVE-2020-1927
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-2020-1927 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 2.4.0 to 2.4.41, redirects configured with mod_rewrite that were intended to be self-referential might be fooled by encoded newlines and redirect instead to an an unexpected URL within the request URL.
Exploitation
EPSS 54.9%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.0% of all scored CVEs. Scores of 1 Dec 2026.
Weakness
- CWE-601 URL Redirection to Untrusted Site
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Apache HTTP Server |
affected 2.4.0 to 2.4.41
|
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-2020-1927 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2020-1927RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2020-1927Alpine
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-2020-1927
trivy image --scanners vuln IMAGE | grep CVE-2020-1927
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
- openSUSE-SU-2020:0597 lists.opensuse.org · vendor advisory
- https://httpd.apache.org/security/vulnerabilities_24.html httpd.apache.org
- https://security.netapp.com/advisory/ntap-20200413-0002/ security.netapp.com
- USN-4458-1 usn.ubuntu.com · vendor advisory
- FEDORA-2020-189a1e6c3e lists.fedoraproject.org · vendor advisory
- DSA-4757 debian.org · vendor advisory
- FEDORA-2020-0d3d3f5072 lists.fedoraproject.org · vendor advisory
Other references
- [oss-security] 20200403 Re: CVE-2020-1927: mod_rewrite configurations vulnerable to open redirect openwall.com · mailing list
- [oss-security] 20200403 Re: CVE-2020-1927: mod_rewrite configurations vulnerable to open redirect openwall.com · mailing list
- [httpd-dev] 20200404 Odd vulnerabilities_24.html output lists.apache.org · mailing list
- [httpd-dev] 20200404 Re: Odd vulnerabilities_24.html output lists.apache.org · mailing list
- [httpd-cvs] 20200411 svn commit: r1876405 - in /httpd/test/framework/trunk/t: conf/core.conf.in security/CVE-2020-1927.t lists.apache.org · mailing list
- [httpd-cvs] 20200412 svn commit: r1876426 - /httpd/test/framework/trunk/t/security/CVE-2020-1927.t lists.apache.org · mailing list
- https://www.oracle.com/security-alerts/cpujul2020.html oracle.com
- [httpd-cvs] 20210330 svn commit: r1073139 [1/13] - in /websites/staging/httpd/trunk/content: ./ security/json/ lists.apache.org · mailing list
- [httpd-cvs] 20210330 svn commit: r1073143 [3/3] - in /websites/staging/httpd/trunk/content: ./ security/ lists.apache.org · mailing list
- [httpd-cvs] 20210330 svn commit: r1888194 [13/13] - /httpd/site/trunk/content/security/json/ lists.apache.org · mailing list
- [httpd-cvs] 20210330 svn commit: r1073140 [4/4] - in /websites/staging/httpd/trunk/content: ./… lists.apache.org · mailing list
- [httpd-cvs] 20210330 svn commit: r1073139 [13/13] - in /websites/staging/httpd/trunk/content: ./ security/json/ lists.apache.org · mailing list
8 more
- [httpd-cvs] 20210330 svn commit: r1073149 [1/13] - in /websites/staging/httpd/trunk/content: ./ security/ security/json/ lists.apache.org · mailing list
- [httpd-cvs] 20210330 svn commit: r1073149 [13/13] - in /websites/staging/httpd/trunk/content: ./ security/… lists.apache.org · mailing list
- [httpd-cvs] 20210330 svn commit: r1073158 - in /websites/staging/httpd/trunk/content: ./… lists.apache.org · mailing list
- [httpd-cvs] 20210330 svn commit: r1888215 - /httpd/site/trunk/content/security/json/CVE-2020-1927.json lists.apache.org · mailing list
- [httpd-cvs] 20210606 svn commit: r1075470 [4/4] - in /websites/staging/httpd/trunk/content: ./… lists.apache.org · mailing list
- https://www.oracle.com/security-alerts/cpuApr2021.html oracle.com
- [debian-lts-announce] 20210709 [SECURITY] [DLA 2706-1] apache2 security update lists.debian.org · mailing list
- https://www.oracle.com/security-alerts/cpujul2022.html oracle.com
Source: the record CVE-2020-1927 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