CVE-2015-9542 Memory corruption in n/a

High 7.5 Published Updated

A stack-based buffer overflow in pam_radius allows attackers to crash applications or potentially execute arbitrary code via crafted passwords.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2015-9542?

CVE-2015-9542 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 24 Feb 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-787

Which versions are affected by CVE-2015-9542?

It affects 3 products.

Linux distribution packages (34)
pam_radius SUSE:Enterprise Storage 5All versions1.3.16-239.4.1
pam_radius SUSE:Enterprise Storage 6All versions1.4.0-3.3.1
pam_radius SUSE:HPE Helion OpenStack 8All versions1.3.16-239.4.1
pam_radius SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOSAll versions1.4.0-3.3.1
pam_radius SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSAll versions1.4.0-3.3.1
pam_radius SUSE:Linux Enterprise High Performance Computing 15-ESPOSAll versions1.4.0-3.3.1
pam_radius SUSE:Linux Enterprise High Performance Computing 15-LTSSAll versions1.4.0-3.3.1
pam_radius SUSE:Linux Enterprise Module for Server Applications 15 SP2All versions1.4.0-3.3.1
pam_radius SUSE:Linux Enterprise Module for Server Applications 15 SP3All versions1.4.0-3.3.1
pam_radius SUSE:Linux Enterprise Server 12 SP1-LTSSAll versions1.3.16-239.4.1
pam_radius SUSE:Linux Enterprise Server 12 SP2-BCLAll versions1.3.16-239.4.1
pam_radius SUSE:Linux Enterprise Server 12 SP2-LTSSAll versions1.3.16-239.4.1
pam_radius SUSE:Linux Enterprise Server 12 SP3-BCLAll versions1.3.16-239.4.1
pam_radius SUSE:Linux Enterprise Server 12 SP3-LTSSAll versions1.3.16-239.4.1
pam_radius SUSE:Linux Enterprise Server 12 SP4All versions1.3.16-239.4.1
pam_radius SUSE:Linux Enterprise Server 12 SP5All versions1.3.16-239.4.1
pam_radius SUSE:Linux Enterprise Server 15 SP1-BCLAll versions1.4.0-3.3.1
pam_radius SUSE:Linux Enterprise Server 15 SP1-LTSSAll versions1.4.0-3.3.1
pam_radius SUSE:Linux Enterprise Server 15-LTSSAll versions1.4.0-3.3.1
pam_radius SUSE:Linux Enterprise Server for SAP Applications 12 SP1All versions1.3.16-239.4.1
pam_radius SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions1.3.16-239.4.1
pam_radius SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions1.3.16-239.4.1
pam_radius SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions1.3.16-239.4.1
pam_radius SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions1.3.16-239.4.1
pam_radius SUSE:Linux Enterprise Server for SAP Applications 15All versions1.4.0-3.3.1
pam_radius SUSE:Linux Enterprise Server for SAP Applications 15 SP1All versions1.4.0-3.3.1
pam_radius SUSE:Manager Proxy 4.0All versions1.4.0-3.3.1
pam_radius SUSE:Manager Retail Branch Server 4.0All versions1.4.0-3.3.1
pam_radius SUSE:Manager Server 4.0All versions1.4.0-3.3.1
pam_radius SUSE:OpenStack Cloud 7All versions1.3.16-239.4.1
pam_radius SUSE:OpenStack Cloud 8All versions1.3.16-239.4.1
pam_radius SUSE:OpenStack Cloud Crowbar 8All versions1.3.16-239.4.1
pam_radius openSUSE:Leap 15.2All versions1.4.0-lp152.4.3.1
pam_radius openSUSE:Leap 15.3All versions1.4.0-3.3.1

Products include Canonical Ubuntu Linux, Debian Debian Linux, Freeradius Pam Radius.

How do I fix CVE-2015-9542?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2015-9542 being exploited?

There is no known exploitation of CVE-2015-9542 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2015-9542, DLA-2116-1, DLA-2304-1, GHSA-x66h-w4xq-44q4, SUSE-SU-2020:1117-1, SUSE-SU-2021:1896-1 and 6 more.

Is CVE-2015-9542 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free