Apache HTTP Server Vulnerability: CVE-2020-1927 - Redirects Misconfiguration

apache2 Updated 03 Oct 2025

Summary

02/04/2020
N/A
No i
Medium
6.1

UBUNTU-CVE-2020-1927: 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 U... Affects apache2 versions 2.4.6-2ubuntu2 – 2.4.7-1ubuntu4.9. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Apache HTTP Server is a widely used open-source web server software that enables the hosting of websites and applications. It is known for its flexibility, performance, and extensive feature set, including support for various modules that enhance its capabilities. The vulnerability CVE-2020-1927 affects versions 2.4.0 to 2.4.41, where misconfigured redirects using mod_rewrite can be exploited, leading to unexpected URL redirections.

Vulnerability Detail

In Apache HTTP Server versions 2.4.0 to 2.4.41, a vulnerability exists in the mod_rewrite module that allows attackers to manipulate self-referential redirects. By encoding newlines in the request URL, an attacker can redirect users to unintended URLs, potentially leading to phishing attacks or other malicious activities. This vulnerability can compromise the integrity of the web application and affect user trust.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

If immediate patching is not feasible, consider disabling mod_rewrite or implementing strict input validation to prevent encoded newlines in URLs. This can help mitigate the risk until the server can be updated.

Conclusion

CVE-2020-1927 is a significant vulnerability in Apache HTTP Server that can lead to serious security risks through misconfigured redirects. It is crucial to update to a patched version to safeguard against potential exploitation. Regular monitoring and vulnerability management practices, such as using tools like Vulert, can help maintain the security of your applications.

See every vulnerability recorded for apache2 →

Share this vulnerability

FAQ

CVE-2020-1927 is a vulnerability in Apache HTTP Server that allows for misconfigured redirects, potentially leading to unintended URL redirections.

The vulnerability affects Apache HTTP Server versions 2.4.0 to 2.4.41.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score for CVE-2020-1927 is 6.1, indicating a medium severity level.

If immediate updates are not possible, consider disabling mod_rewrite or implementing strict input validation as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for apache2.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback