7.8
HIGH
CVE-2012-6704
Linux kernel SO_SEND_RECV_BUFFER Overflow Denial of Service
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.

INFO

Published Date :

Dec. 28, 2016, 7:59 a.m.

Last Modified :

Jan. 17, 2023, 9:45 p.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2012-6704 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2012-6704.

URL Resource
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=82981930125abfd39d7c8378a9cfdf5e1be2002b Patch Vendor Advisory
http://www.openwall.com/lists/oss-security/2016/12/03/1 Mailing List Third Party Advisory VDB Entry
http://www.securityfocus.com/bid/95135 Third Party Advisory VDB Entry
https://bugzilla.redhat.com/show_bug.cgi?id=1402024 Issue Tracking Third Party Advisory
https://github.com/torvalds/linux/commit/82981930125abfd39d7c8378a9cfdf5e1be2002b Patch Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2012-6704 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2012-6704 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Jan. 17, 2023

    Action Type Old Value New Value
    Removed CVSS V3 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://www.openwall.com/lists/oss-security/2016/12/03/1 Third Party Advisory, VDB Entry http://www.openwall.com/lists/oss-security/2016/12/03/1 Mailing List, Third Party Advisory, VDB Entry
    Changed Reference Type http://www.securityfocus.com/bid/95135 No Types Assigned http://www.securityfocus.com/bid/95135 Third Party Advisory, VDB Entry
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1402024 Issue Tracking https://bugzilla.redhat.com/show_bug.cgi?id=1402024 Issue Tracking, Third Party Advisory
    Changed Reference Type https://github.com/torvalds/linux/commit/82981930125abfd39d7c8378a9cfdf5e1be2002b Patch https://github.com/torvalds/linux/commit/82981930125abfd39d7c8378a9cfdf5e1be2002b Patch, Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (including) 3.4.99 OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 3.2.85 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.3 up to (excluding) 3.5
  • CVE Modified by [email protected]

    Dec. 31, 2016

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/95135 [No Types Assigned]
  • Initial Analysis by [email protected]

    Dec. 28, 2016

    Action Type Old Value New Value
    Added CVSS V2 (AV:L/AC:L/Au:N/C:C/I:C/A:C)
    Added CVSS V3 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=82981930125abfd39d7c8378a9cfdf5e1be2002b No Types Assigned http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=82981930125abfd39d7c8378a9cfdf5e1be2002b Vendor Advisory, Patch
    Changed Reference Type http://www.openwall.com/lists/oss-security/2016/12/03/1 No Types Assigned http://www.openwall.com/lists/oss-security/2016/12/03/1 Third Party Advisory, VDB Entry
    Changed Reference Type https://github.com/torvalds/linux/commit/82981930125abfd39d7c8378a9cfdf5e1be2002b No Types Assigned https://github.com/torvalds/linux/commit/82981930125abfd39d7c8378a9cfdf5e1be2002b Patch
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1402024 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=1402024 Issue Tracking
    Added CWE CWE-119
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:3.4.99:*:*:*:*:*:*:* (and previous)
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.04 }} 0.00%

score

0.05635

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability