CVE-2015-9542Out-of-bounds Write in Libpam-radius-auth

Severity
7.5HIGHNVD
EPSS
1.9%
top 16.73%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedFeb 24
Latest updateMay 24

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 vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages2 packages

debiandebian/libpam-radius-auth< libpam-radius-auth 1.4.0-3 (bookworm)

Also affects: Debian Linux 8.0, 9.0, Ubuntu Linux 12.04, 14.04, 16.04, 18.04, 19.10

Patches

🔴Vulnerability Details

2
GHSA
GHSA-x66h-w4xq-44q4: add_password in pam_radius_auth2022-05-24
OSV
CVE-2015-9542: add_password in pam_radius_auth2020-02-24

📋Vendor Advisories

4
Ubuntu
libpam-radius-auth vulnerability2020-03-03
Ubuntu
libpam-radius-auth vulnerability2020-02-24
Red Hat
pam_radius: buffer overflow in password field2020-02-12
Debian
CVE-2015-9542: libpam-radius-auth - add_password in pam_radius_auth.c in pam_radius 1.4.0 does not correctly check t...2015

💬Community

2
Bugzilla
CVE-2015-9542 pam_radius: buffer overflow in password field [epel-6]2020-02-12
Bugzilla
CVE-2015-9542 pam_radius: buffer overflow in password field2019-03-08
CVE-2015-9542 — Out-of-bounds Write | cvebase