Buffer Overflow Vulnerability in mini_httpd

mini_httpd Updated 02 Oct 2025

Summary

06/02/2018
N/A
Yes i
Critical
9.8

CVE-2017-17663: The htpasswd implementation of mini_httpd before v1.28 and of thttpd before v2.28 is affected by a buffer overflow that can be exploited remotely to perform code execution. Affects mini_httpd versions < 1.29-r0. Fixed in 1.29-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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

mini_httpd is a lightweight web server designed for small systems and embedded devices. It provides basic HTTP server functionality and is commonly used in Alpine Linux distributions. However, a buffer overflow vulnerability (CVE-2017-17663) has been discovered in versions prior to v1.28 of mini_httpd. This vulnerability can be exploited remotely, allowing an attacker to execute arbitrary code on the affected system.

Vulnerability Detail

The buffer overflow vulnerability in mini_httpd and thttpd (prior to v2.28) arises from improper input validation. An attacker can send a specially crafted request to the server, causing a buffer overflow and potentially executing arbitrary code. This can lead to a complete compromise of the affected system, allowing the attacker to gain unauthorized access, modify data, or launch further attacks.

How To Fix

Minimum fixed version

1.29-r0

This is the first release that contains the fix.

sudo apk add --upgrade mini_httpd

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

Workaround

As a temporary workaround, you can consider using a different web server software that is not affected by this vulnerability. Alternatively, you can implement network-level mitigations such as firewall rules or intrusion prevention systems to limit access to the affected server.

Conclusion

The buffer overflow vulnerability in mini_httpd poses a significant risk to systems running affected versions. It is crucial to update mini_httpd to version 1.29 or later to mitigate this vulnerability. Additionally, consider implementing network-level mitigations and monitoring for any signs of exploitation. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for mini_httpd →

Share this vulnerability

FAQ

mini_httpd is a lightweight web server designed for small systems and embedded devices. It provides basic HTTP server functionality.

The buffer overflow vulnerability in mini_httpd can allow an attacker to execute arbitrary code on the affected system, potentially leading to unauthorized access, data modification, or further attacks.

To fix this vulnerability, update mini_httpd to version 1.29 or later. Follow the package update process specific to your operating system or distribution.

As a temporary workaround, you can use a different web server software that is not affected by this vulnerability. Additionally, network-level mitigations like firewall rules can limit access to the affected server.

For more information about this vulnerability, you can refer to the CVE-2017-17663 entry in the National Vulnerability Database (NVD) or the provided database-specific source link.

Related vulnerabilities

Recent vulnerabilities recorded for mini_httpd.

How To Fix

Minimum fixed version

1.29-r0

This is the first release that contains the fix.

sudo apk add --upgrade mini_httpd

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