CVE-2013-2237: Buffer Overflow
Last updated 24 July 2024
Other sources
Linux kernel built with the IPSec keysocket support(CONFIGNETKEY=m) is vulnerable to an information leakage flaw. It occurs while using keysocket's notifypolicy interface.
A user/program able to access the PFKEY keysockets could use this flaw to leak kernel memory bytes.
Upstream fix: ------------- -> https://git.kernel.org/linus/85dfb745ee40232876663ae206cba35f24ab2a40
Reference: ---------- -> http://www.openwall.com/lists/oss-security/2013/07/03/1
— Red Hat
The keynotifypolicyflush function in net/key/afkey.c in the Linux kernel before 3.9 does not initialize a certain structure member, which allows local users to obtain sensitive information from kernel heap memory by reading a broadcast message from the notifypolicy interface of an IPSec keysocket.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 3.2.46-1+deb7u1Fixed in 3.9.4-1 - Upgrade
Upgrade
debian/linux-2.6to a version that resolves this vulnerability.Fixed in 2.6.32-48squeeze4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 3.9.4-1 - Upgrade
Upgrade
Linux kernelto a version that resolves this vulnerability.Fixed in 3.9
Event History
Frequently Asked Questions
What is the severity of CVE-2013-2237?
CVE-2013-2237 has a medium severity rating due to its potential for information leakage.
How do I fix CVE-2013-2237?
To fix CVE-2013-2237, upgrade to the Linux kernel version 5.10.223-1 or later, as well as other mentioned versions.
Which versions of the Linux kernel are affected by CVE-2013-2237?
CVE-2013-2237 affects various Linux kernel versions up to 3.8.13, including earlier release candidates.
Is there a workaround for CVE-2013-2237?
As a temporary workaround for CVE-2013-2237, consider disabling the key_socket support to mitigate potential exposure.
What type of vulnerability is CVE-2013-2237?
CVE-2013-2237 is classified as an information leakage vulnerability affecting the PF_KEY key_sockets.