CVE-2015-5314

NameCVE-2015-5314
DescriptionThe eap_pwd_process function in eap_server/eap_server_pwd.c in hostapd 2.x before 2.6 does not validate that the reassembly buffer is large enough for the final fragment when used with (1) an internal EAP server or (2) a RADIUS server and EAP-pwd is enabled in a runtime configuration, which allows remote attackers to cause a denial of service (process termination) via a large final fragment in an EAP-pwd message.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-3397-1
Debian Bugs804708

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
wpa (PTS)bullseye (security), bullseye2:2.9.0-21+deb11u2fixed
bookworm, bookworm (security)2:2.10-12+deb12u2fixed
sid, trixie2:2.10-22fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
hostapdsource(unstable)(not affected)
wpasourcewheezy1.0-3+deb7u3DSA-3397-1
wpasourcejessie2.3-1+deb8u3DSA-3397-1
wpasource(unstable)2.3-2.3804708
wpasupplicantsource(unstable)(not affected)

Notes

[wheezy] - wpa <not-affected> (v2.0-v2.5 with CONFIG_EAP_PWD=y)
- wpasupplicant <not-affected> (v2.0-v2.5 with CONFIG_EAP_PWD=y)
- hostapd <not-affected> (v2.0-v2.5 with CONFIG_EAP_PWD=y)
http://w1.fi/security/2015-7/
https://w1.fi/security/2015-7/eap-pwd-missing-last-fragment-length-validation.txt
https://w1.fi/security/2015-7/0001-EAP-pwd-server-Fix-last-fragment-length-validation.patch

Search for package or bug name: Reporting problems