Apache2 - Incorrect Parsing of Limit Directives in .htaccess Files

apache2 Updated 02 Oct 2025

Summary

21/09/2017
N/A
Yes i
Unrated
Not published

DLA-1102-1: apache2 - security update. Affects apache2 versions < 2.2.22-13+deb7u12. Fixed in 2.2.22-13+deb7u12. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Apache2 is a widely used open-source web server software that provides a secure and efficient platform for hosting websites. It offers various features and modules to enhance website performance and security. However, a vulnerability has been discovered in Apache2 that involves incorrect parsing of Limit directives in .htaccess files. This vulnerability can lead to memory disclosure, potentially exposing sensitive information.

Vulnerability Detail

The vulnerability in Apache2 arises from a flaw in the parsing of Limit directives in .htaccess files. When an attacker crafts a malicious .htaccess file with specially crafted Limit directives, the Apache HTTP Server may incorrectly parse them, resulting in memory disclosure. This could allow an attacker to access sensitive information stored in the server's memory, potentially leading to further exploitation or unauthorized access.

How To Fix

Minimum fixed version

2.2.22-13+deb7u12

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 →

Conclusion

The vulnerability in Apache2 involving the incorrect parsing of Limit directives in .htaccess files can lead to memory disclosure and potential exposure of sensitive information. It is crucial to upgrade the apache2 package to the fixed version to mitigate this vulnerability. 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 widely used for hosting websites. It provides a secure and efficient platform for serving web content.

.htaccess is a configuration file used by Apache web servers to apply directory-specific configurations. It allows users to override certain server configuration settings.

This vulnerability in Apache2 could result in memory disclosure, potentially exposing sensitive information stored in the server's memory. This could lead to further exploitation or unauthorized access.

You can use Vulert's playground at Vulert Scanner to check if your Apache2 installation is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it for any open-source vulnerabilities, including this one.

Currently, there is no known workaround for this vulnerability. It is recommended to upgrade the apache2 package to the fixed version as soon as possible.

Related vulnerabilities

Recent vulnerabilities recorded for apache2.

How To Fix

Minimum fixed version

2.2.22-13+deb7u12

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