Input validation error in Linux kernel - CVE-2013-2094

 

Input validation error in Linux kernel - CVE-2013-2094

Published: May 14, 2013 / Updated: September 16, 2022


Vulnerability identifier: #VU33902
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2013-2094
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call.


Affected software

Linux kernel
Amazon Linux AMI
SUSE Linux
Ubuntu
Slackware Linux
openvpn (Alpine package)
linux-vserver (Alpine package)
linux (Ubuntu package)
linux-lts-quantal (Ubuntu package)
linux-lts-raring (Ubuntu package)

How to mitigate CVE-2013-2094

Install update from vendor's website.

openvpn (Alpine package) - update to 2.1.4-r2
linux (Ubuntu package) - addressed in versions 3.2.0-43.68, 3.5.0-30.51, 3.8.0-21.32
linux-lts-quantal (Ubuntu package) - update to 3.5.0-30.51~precise1
linux-lts-raring (Ubuntu package) - update to 3.8.0-23.34~precise1

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins