Critical Vulnerability in Hostapd: CallStranger Issue Exposed

hostapd Updated 02 Oct 2025

Summary

08/06/2020
N/A
Yes i
High
7.5

ALPINE-CVE-2020-12695: The Open Connectivity Foundation UPnP specification before 2020-04-17 does not forbid the acceptance of a subscription request with a delivery URL on a different network segment than the fully qualified event-subscriptio... Affects hostapd versions < 2.8-r3. Fixed in 2.8-r3. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Hostapd is a user-space daemon that allows access point and authentication server functionalities for wireless networks. It is widely used in various Linux distributions, including Alpine Linux, to manage Wi-Fi connections and provide secure authentication. The vulnerability in question arises from the Open Connectivity Foundation's UPnP specification, which Hostapd implements, leading to potential security risks if not addressed.

Vulnerability Detail

The vulnerability, identified as CVE-2020-12695, allows an attacker to exploit the UPnP specification by sending a subscription request with a delivery URL that resides on a different network segment than the fully qualified event-subscription URL. This could lead to unauthorized access to sensitive data or control over devices on the network. The issue stems from a lack of restrictions in the UPnP specification, which was not adequately enforced in Hostapd versions prior to the patches.

How To Fix

Minimum fixed version

2.8-r3

This is the first release that contains the fix.

sudo apk add --upgrade hostapd

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

Workaround

As a temporary workaround, network administrators can restrict access to the UPnP services or implement firewall rules to limit exposure to potential attackers. Additionally, disabling UPnP on devices that do not require it can mitigate risks.

Conclusion

The CVE-2020-12695 vulnerability in Hostapd poses significant risks to network security due to improper handling of UPnP subscription requests. It is crucial for users to update their Hostapd installations to the latest patched versions to mitigate these risks. Implementing additional security measures can further protect against potential exploitation.

See every vulnerability recorded for hostapd →

Share this vulnerability

FAQ

CVE-2020-12695 is a vulnerability in the Hostapd package that allows unauthorized subscription requests due to improper handling of delivery URLs in the UPnP specification.

This vulnerability can allow attackers to gain unauthorized access to devices on your network, potentially leading to data breaches or control over networked devices.

Affected versions include Hostapd versions prior to 2.8-r3 for Alpine v3.10 and 2.9-r2 for Alpine v3.11 and later.

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 of CVE-2020-12695 is 7.5, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for hostapd.

How To Fix

Minimum fixed version

2.8-r3

This is the first release that contains the fix.

sudo apk add --upgrade hostapd

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