CVE-2015-9542
add_password in pam_radius_auth.c in pam_radius 1.4.0 does not correctly check the length of the input password, and is vulnerable to a stack-based buffer overflow during memcpy().
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.54%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
add_password in pam_radius_auth.c in pam_radius 1.4.0 does not correctly check the length of the input password, and is vulnerable to a stack-based buffer overflow during memcpy(). An attacker could send a crafted password to an application (loading the pam_radius library) and crash it. Arbitrary code execution might be possible, depending on the application, C library, compiler, and other factors.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 3.54% probability · 89th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-787
- Affected
- freeradius/pam radius · debian/debian linux · canonical/ubuntu linux
- Source
- cve@mitre.org
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2015-9542Issue Tracking, Patch, Third Party Advisory
- https://github.com/FreeRADIUS/pam_radius/commit/01173ec2426627dbb1e0d96c06c3ffa0b14d36d0Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/02/msg00023.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/08/msg00000.htmlMailing List, Third Party Advisory
- https://usn.ubuntu.com/4290-1/Third Party Advisory
- https://usn.ubuntu.com/4290-2/Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2015-9542Issue Tracking, Patch, Third Party Advisory
- https://github.com/FreeRADIUS/pam_radius/commit/01173ec2426627dbb1e0d96c06c3ffa0b14d36d0Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/02/msg00023.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/08/msg00000.htmlMailing List, Third Party Advisory
- https://usn.ubuntu.com/4290-1/Third Party Advisory
- https://usn.ubuntu.com/4290-2/Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.