Apache2 - Header Parsing Code Security Vulnerability

apache2 Updated 02 Oct 2025

Summary

28/02/2017
N/A
Yes i
Unrated
Not published

DLA-841-1: apache2 - security update. Affects apache2 versions < 2.2.22-13+deb7u8. Fixed in 2.2.22-13+deb7u8. 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

Apache2 is a widely used open-source web server software that provides a secure, efficient, and extensible server platform. It is capable of serving both static and dynamic content and is highly configurable. The vulnerability in the header parsing code of Apache2 allows for response splitting or cache pollution attacks, which can lead to various security risks.

Vulnerability Detail

The vulnerability in Apache2's header parsing code was discovered by David Dennerline and Régi Leroy. It arises from the way Apache handles unusual whitespace patterns in HTTP requests. In certain configurations, this vulnerability can be exploited to perform response splitting or cache pollution attacks. To address this issue, Apache httpd has been made more strict in accepting HTTP requests.

How To Fix

Minimum fixed version

2.2.22-13+deb7u8

This is the first release that contains the fix.

sudo apt-get install --only-upgrade apache2

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

Workaround

If upgrading to the fixed version causes issues with non-conforming clients, you can relax some checks by adding the new directive 'HttpProtocolOptions unsafe' to the Apache configuration. However, this workaround should be used with caution as it may introduce security risks.

Conclusion

In conclusion, the header parsing code vulnerability in Apache2 can be mitigated by upgrading to the latest version of the apache2 package. If any issues arise, the 'HttpProtocolOptions unsafe' directive can be used as a workaround, although caution should be exercised. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for apache2 →

Share this vulnerability

FAQ

Apache2 is an open-source web server software that provides a secure and efficient platform for serving web content.

This vulnerability can lead to response splitting or cache pollution attacks, which can have various security implications such as data manipulation or injection.

To fix this vulnerability, you should upgrade the apache2 package to the latest version available for your system.

If upgrading to the fixed version causes issues, you can add the 'HttpProtocolOptions unsafe' directive to the Apache configuration as a workaround. However, this may introduce security risks.

You can find more information about Debian LTS security advisories, including how to apply updates and frequently asked questions, at https://wiki.debian.org/LTS.

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

Minimum fixed version

2.2.22-13+deb7u8

This is the first release that contains the fix.

sudo apt-get install --only-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