CVE-2015-9542

high

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.

References

https://usn.ubuntu.com/4290-2/

https://usn.ubuntu.com/4290-1/

https://lists.debian.org/debian-lts-announce/2020/08/msg00000.html

https://lists.debian.org/debian-lts-announce/2020/02/msg00023.html

https://github.com/FreeRADIUS/pam_radius/commit/01173ec2426627dbb1e0d96c06c3ffa0b14d36d0

https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2015-9542

Details

Source: Mitre, NVD

Published: 2020-02-24

Updated: 2020-08-14

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: High