CVE-2012-6704
Last modified
CVE-2012-6704 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. The sock_setsockopt function in net/core/sock.c in the Linux kernel before 3.5 mishandles negative values of sk_sndbuf and sk_rcvbuf, which allows local users to cause a denial of service (memory corruption and system crash) or possibly have unspecified other impact by leveraging the CAP_NET_ADMIN capability for a crafted setsockopt system call with the (1) SO_SNDBUF or (2) SO_RCVBUF option.. EPSS estimates a 0.41% chance of exploitation in the next 30 days.
Description
The sock_setsockopt function in net/core/sock.c in the Linux kernel before 3.5 mishandles negative values of sk_sndbuf and sk_rcvbuf, which allows local users to cause a denial of service (memory corruption and system crash) or possibly have unspecified other impact by leveraging the CAP_NET_ADMIN capability for a crafted setsockopt system call with the (1) SO_SNDBUF or (2) SO_RCVBUF option.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | < 3.2.85 |
| Linux | Linux Kernel | >= 3.3, < 3.5 |
References
- http://www.openwall.com/lists/oss-security/2016/12/03/1Mailing List, Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/95135Third Party Advisory, VDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=1402024Issue Tracking, Third Party Advisory
- https://github.com/torvalds/linux/commit/82981930125abfd39d7c8378a9cfdf5e1be2002bPatch, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2016/12/03/1Mailing List, Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/95135Third Party Advisory, VDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=1402024Issue Tracking, Third Party Advisory
- https://github.com/torvalds/linux/commit/82981930125abfd39d7c8378a9cfdf5e1be2002bPatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2012-6704?
How severe is CVE-2012-6704?
How do I fix CVE-2012-6704?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2012
- CVE-2012-6698The decode_search function in dhcp.c in dhcpcd 3.x allows re…
- CVE-2012-6699The decode_search function in dhcp.c in dhcpcd 3.x allows re…
- CVE-2012-6700The decode_search function in dhcp.c in dhcpcd 3.x does not …
- CVE-2012-6701Integer overflow in fs/aio.c in the Linux kernel before 3.4.…7.8
- CVE-2012-6702Expat, when used in a parser that has not called XML_SetHash…
- CVE-2012-6703Integer overflow in the snd_compr_allocate_buffer function i…7.8
- CVE-2012-6705Cross Site Scripting (XSS) exists in Jamroom before 4.2.7 vi…
- CVE-2012-6706A VMSF_DELTA memory corruption was discovered in unrar befor…
- CVE-2012-6707WordPress through 4.8.2 uses a weak MD5-based password hashi…
- CVE-2012-6708jQuery before 1.9.0 is vulnerable to Cross-site Scripting (X…
- CVE-2012-6709ELinks 0.12 and Twibright Links 2.3 have Missing SSL Certifi…
- CVE-2012-6710ext_find_user in eXtplorer through 2.1.2 allows remote attac…
Are you affected by CVE-2012-6704?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
