Vulnerability Name:

CVE-2020-7457 (CCN-184855)

Assigned:2020-07-08
Published:2020-07-08
Updated:2022-01-04
Summary:In FreeBSD 12.1-STABLE before r359565, 12.1-RELEASE before p7, 11.4-STABLE before r362975, 11.4-RELEASE before p1, and 11.3-RELEASE before p11, missing synchronization in the IPV6_2292PKTOPTIONS socket option set handler contained a race condition allowing a malicious application to modify memory after being freed, possibly resulting in code execution.
CVSS v3 Severity:8.1 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H)
7.5 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.8 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
7.2 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:6.8 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
6.8 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-362
CWE-416
CWE-662
Vulnerability Consequences:Gain Privileges
References:Source: MITRE
Type: CNA
CVE-2020-7457

Source: MISC
Type: Exploit, Third Party Advisory, VDB Entry
http://packetstormsecurity.com/files/158695/FreeBSD-ip6_setpktopt-Use-After-Free-Privilege-Escalation.html

Source: XF
Type: UNKNOWN
freebsd-cve20207457-priv-esc(184855)

Source: CCN
Type: Packet Storm Security [07-31-2020]
FreeBSD ip6_setpktopt Use-After-Free Privilege Escalation

Source: MISC
Type: Patch, Vendor Advisory
https://security.FreeBSD.org/advisories/FreeBSD-SA-20:20.ipv6.asc

Source: CONFIRM
Type: Third Party Advisory
https://security.netapp.com/advisory/ntap-20200724-0002/

Source: CCN
Type: FreeBSD-SA-20:20.ipv6
IPv6 socket option race condition and use after free

Source: CCN
Type: Rapid7 Vulnerability and Exploit Database [07-30-2020]
FreeBSD ip6_setpktopt Use-After-Free Privilege Escalation

Vulnerable Configuration:Configuration 1:
  • cpe:/o:freebsd:freebsd:11.3:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.3:p1:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.3:p10:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.3:p2:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.3:p3:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.3:p4:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.3:p5:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.3:p6:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.3:p7:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.3:p8:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.3:p9:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.4:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.4:beta1:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.4:rc2:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:12.1:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:12.1:p1:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:12.1:p2:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:12.1:p3:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:12.1:p4:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:12.1:p5:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:12.1:p6:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/o:freebsd:freebsd:*:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    freebsd freebsd 11.3 -
    freebsd freebsd 11.3 p1
    freebsd freebsd 11.3 p10
    freebsd freebsd 11.3 p2
    freebsd freebsd 11.3 p3
    freebsd freebsd 11.3 p4
    freebsd freebsd 11.3 p5
    freebsd freebsd 11.3 p6
    freebsd freebsd 11.3 p7
    freebsd freebsd 11.3 p8
    freebsd freebsd 11.3 p9
    freebsd freebsd 11.4 -
    freebsd freebsd 11.4 beta1
    freebsd freebsd 11.4 rc2
    freebsd freebsd 12.1 -
    freebsd freebsd 12.1 p1
    freebsd freebsd 12.1 p2
    freebsd freebsd 12.1 p3
    freebsd freebsd 12.1 p4
    freebsd freebsd 12.1 p5
    freebsd freebsd 12.1 p6
    freebsd freebsd *