Denial of Service Vulnerability in Apache2 Package (CVE-2020-13950)

apache2 Updated 02 Oct 2025

Summary

10/06/2021
N/A
Yes i
High
7.5

ALPINE-CVE-2020-13950: Apache HTTP Server versions 2.4.41 to 2.4.46 mod_proxy_http can be made to crash (NULL pointer dereference) with specially crafted requests using both Content-Length and Transfer-Encoding headers, leading to a Denial of... Affects apache2 versions < 2.4.48-r0. Fixed in 2.4.48-r0. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Apache HTTP Server, commonly referred to as Apache2, is one of the most widely used web server software packages. It provides a robust, flexible, and secure platform for hosting websites and applications. Apache2 supports various features including customizable error messages, authentication configurations, and URL redirection. However, certain versions of Apache2 are vulnerable to a Denial of Service (DoS) attack due to improper handling of HTTP requests, specifically when both Content-Length and Transfer-Encoding headers are present.

Vulnerability Detail

The vulnerability identified as CVE-2020-13950 affects Apache HTTP Server versions 2.4.41 to 2.4.46. It can be exploited by sending specially crafted HTTP requests that include both Content-Length and Transfer-Encoding headers, leading to a NULL pointer dereference. This results in the server crashing, causing a Denial of Service. The vulnerability poses a significant risk as it can disrupt service availability, impacting users and applications relying on the affected server.

How To Fix

Minimum fixed version

2.4.48-r0

This is the first release that contains the fix.

sudo apk add --upgrade apache2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can configure your server to reject requests that contain both Content-Length and Transfer-Encoding headers. This can be done by modifying the server configuration to filter out such requests, although this may not be a comprehensive solution.

Conclusion

CVE-2020-13950 is a critical vulnerability in Apache2 that can lead to Denial of Service attacks. It is essential for users of affected versions to update their packages to mitigate the risk. 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-13950 is a vulnerability in Apache HTTP Server that allows for Denial of Service attacks due to improper handling of HTTP requests.

Apache2 versions 2.4.41 to 2.4.46 are affected by this vulnerability.

Exploitation of this vulnerability can lead to server crashes, resulting in service unavailability for users and applications.

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-13950 is 7.5, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for apache2.

How To Fix

Minimum fixed version

2.4.48-r0

This is the first release that contains the fix.

sudo apk add --upgrade apache2

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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