CVE-2012-3520
What it is
The Netlink implementation in the Linux kernel before 3.2.30 does not properly handle messages that lack SCM_CREDENTIALS data, which might allow local users to spoof Netlink communication via a crafted message, as demonstrated by a message to (1) Avahi or (2) NetworkManager.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- Exploit odds
- 0.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.4% in the next 30 days (EPSS).
- Severity: 1.9 LOW (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.4% · EPSS, next 30 days
- Weakness
- CWE-287 · Improper authentication
- Record status
- Modified
Affected
- Linux Kernel ≤ 3.2.29
- Linux Kernel 2.3.2
- Linux Kernel 2.3.20
- Linux Kernel 2.3.21
- Linux Kernel 2.3.22
- Linux Kernel 2.3.23
- Linux Kernel 2.3.24
- Linux Kernel 2.3.25
Attack profile CVSS 2.0 · 1.9
- Attack vector
- Local
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
Raw vector
AV:L/AC:M/Au:N/C:N/I:P/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-3520.md and follow it. Check whether this project is affected by CVE-2012-3520. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/torvalds/linux/commit/e0e3cea46d31d23dc40df0a49a7a2c04fe8edfea
- https://github.com/torvalds/linux/commit/e0e3cea46d31d23dc40df0a49a7a2c04fe8edfea
References
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=e0e3cea46d31d23dc40df0a49a7a2c04fe8edfea
- http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00005.html
- http://lists.opensuse.org/opensuse-updates/2013-02/msg00018.html
- http://secunia.com/advisories/50848
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.2.30
- http://www.openwall.com/lists/oss-security/2012/08/22/1
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- http://www.securityfocus.com/bid/55152
- http://www.ubuntu.com/usn/USN-1599-1
- http://www.ubuntu.com/usn/USN-1610-1
- https://bugzilla.redhat.com/show_bug.cgi?id=850449
- https://github.com/torvalds/linux/commit/e0e3cea46d31d23dc40df0a49a7a2c04fe8edfea
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=e0e3cea46d31d23dc40df0a49a7a2c04fe8edfea
- http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00005.html
- http://lists.opensuse.org/opensuse-updates/2013-02/msg00018.html
- http://secunia.com/advisories/50848
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.2.30
- http://www.openwall.com/lists/oss-security/2012/08/22/1
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- http://www.securityfocus.com/bid/55152
- http://www.ubuntu.com/usn/USN-1599-1
- http://www.ubuntu.com/usn/USN-1610-1
- https://bugzilla.redhat.com/show_bug.cgi?id=850449
- https://github.com/torvalds/linux/commit/e0e3cea46d31d23dc40df0a49a7a2c04fe8edfea