Vulnerability Name:

CVE-2021-32606 (CCN-201709)

Assigned:2021-05-11
Published:2021-05-11
Updated:2021-09-07
Summary:In the Linux kernel 5.11 through 5.12.2, isotp_setsockopt in net/can/isotp.c allows privilege escalation to root by leveraging a use-after-free. (This does not affect earlier versions that lack CAN ISOTP SF_BROADCAST support.)
CVSS v3 Severity:7.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
6.9 Medium (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:U/RL:U/RC:R)
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
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)
6.9 Medium (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:U/RL:U/RC:R)
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:7.2 High (CVSS v2 Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
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-416
Vulnerability Consequences:Gain Privileges
References:Source: MITRE
Type: CNA
CVE-2021-32606

Source: MLIST
Type: Mailing List, Third Party Advisory
[oss-security] 20210512 Re: Linux kernel: net/can/isotp: race condition leads to local privilege escalation

Source: MLIST
Type: Mailing List, Third Party Advisory
[oss-security] 20210514 Re: Linux kernel: net/can/isotp: race condition leads to local privilege escalation

Source: MLIST
Type: Mailing List, Third Party Advisory
[oss-security] 20210514 Re: Linux kernel: net/can/isotp: race condition leads to local privilege escalation

Source: MLIST
Type: Mailing List, Patch, Third Party Advisory
[oss-security] 20210528 Re: Linux kernel: net/can/isotp: race condition leads to local privilege escalation

Source: XF
Type: UNKNOWN
linux-kernel-cve202132606-priv-esc(201709)

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2021-8832eab899

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2021-bae582b42c

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2021-4f852b79d1

Source: CCN
Type: oss-sec Mailing List, Wed, 12 May 2021 06:16:08 +0200
Re: Linux kernel: net/can/isotp: race condition leads to local privilege escalation

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

Source: CCN
Type: Linux Kernel Web site
The Linux Kernel Archives

Source: MISC
Type: Mailing List, Third Party Advisory
https://www.openwall.com/lists/oss-security/2021/05/11/16

Vulnerable Configuration:Configuration 1:
  • cpe:/o:linux:linux_kernel:*:*:*:*:*:*:*:* (Version >= 5.11 and < 5.12.9)

  • Configuration 2:
  • cpe:/o:fedoraproject:fedora:32:*:*:*:*:*:*:*
  • OR cpe:/o:fedoraproject:fedora:33:*:*:*:*:*:*:*
  • OR cpe:/o:fedoraproject:fedora:34:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/o:linux:linux_kernel:5.11:-:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:112507
    P
    kernel-devel-5.14.6-1.4 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:105999
    P
    kernel-devel-5.14.6-1.4 on GA media (Moderate)
    2021-10-01
    BACK
    linux linux kernel *
    fedoraproject fedora 32
    fedoraproject fedora 33
    fedoraproject fedora 34
    linux linux kernel 5.11