CVE-2021-4203

Aliases:UBUNTU-CVE-2021-4203DEBIAN-CVE-2021-4203
Advisory lineage Upstream: 0 Downstream: 27
Modified
Published: 25 Mar 2022, 00:00
Last modified:03 Aug 2024, 17:16

Vulnerability Summary

Overall Risk (default)
medium
38/100
CVSS Score
6.8 MEDIUM
v3.1 (nvd)
EPSS Score
1.75% LOW
2% probability +1.68%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected

Timeline

25 Mar 2022, 00:00
Published
Vulnerability first disclosed
03 Aug 2024, 17:16
Last Modified
Vulnerability information updated

Description

A use-after-free read flaw was found in sock_getsockopt() in net/core/sock.c due to SO_PEERCRED and SO_PEERGROUPS race with listen() (and connect()) in the Linux kernel. In this flaw, an attacker with a user privileges may crash the system or leak internal kernel information.

CVSS Metrics

  • v4.0HIGHScore: 7.3CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
  • v3.1MEDIUMScore: 6.8CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H
  • v2.0MEDIUMScore: 4.9AV:N/AC:M/Au:S/C:P/I:N/A:P

EPSS Trends

Current EPSS score: 1.75% Percentile: 77%

Techniques & Countermeasures

  • CWE-362Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

    The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.

  • CWE-416Use After Free

    The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

Affected Systems

  • debianlinux

    < 5.10.84-1 | < 5.14.12-1 | < 5.14.12-1 | < 5.14.12-1

  • ubuntulinux

    all | < 4.4.0-239.273 | < 4.15.0-163.171 | < 5.4.0-91.102

  • ubuntulinux-aws

    < 4.4.0-1117.123 | < 4.4.0-1155.170 | < 4.15.0-1116.123 | < 5.4.0-1060.63

  • ubuntulinux-aws-5.0

    all

  • ubuntulinux-aws-5.11

    < 5.11.0-1023.24~20.04.1

  • ubuntulinux-aws-5.3

    all

  • ubuntulinux-aws-5.4

    < 5.4.0-1060.63~18.04.1

  • ubuntulinux-aws-5.8

    all

  • ubuntulinux-aws-fips

    < 4.15.0-2057.59 | all | < 5.4.0-1069.73+fips2

  • ubuntulinux-aws-hwe

    < 4.15.0-1116.123~16.04.1

  • ubuntulinux-azure

    < 4.15.0-1127.140~14.04.1 | < 4.15.0-1127.140~16.04.1 | all | < 5.4.0-1064.67

  • ubuntulinux-azure-4.15

    < 4.15.0-1127.140

  • ubuntulinux-azure-5.11

    < 5.11.0-1023.24~20.04.1

  • ubuntulinux-azure-5.3

    all

  • ubuntulinux-azure-5.4

    < 5.4.0-1064.67~18.04.1

  • ubuntulinux-azure-5.8

    all

  • ubuntulinux-azure-edge

    all

  • ubuntulinux-azure-fips

    < 4.15.0-2039.43 | all | < 5.4.0-1073.76+fips1

  • ubuntulinux-bluefield

    all | < 5.4.0-1022.25

  • ubuntulinux-dell300x

    < 4.15.0-1031.36

  • ubuntulinux-fips

    < 4.4.0-1088.95 | all | < 4.15.0-1073.82 | < 5.4.0-1037.43

  • ubuntulinux-gcp

    < 4.15.0-1112.126~16.04.1 | all | < 5.4.0-1058.62

  • ubuntulinux-gcp-4.15

    < 4.15.0-1112.126

  • ubuntulinux-gcp-5.11

    < 5.11.0-1024.26~20.04.1

  • ubuntulinux-gcp-5.3

    all

  • ubuntulinux-gcp-5.4

    < 5.4.0-1058.62~18.04.1

  • ubuntulinux-gcp-5.8

    all

  • ubuntulinux-gcp-fips

    < 4.15.0-2022.24 | all | < 5.4.0-1067.71~20.04.1

  • ubuntulinux-gke

    < 5.4.0-1056.59

  • ubuntulinux-gke-4.15

    all

  • ubuntulinux-gke-5.4

    < 5.4.0-1056.59~18.04.1

  • ubuntulinux-gkeop

    < 5.4.0-1027.28

  • ubuntulinux-gkeop-5.4

    < 5.4.0-1027.28~18.04.1

  • ubuntulinux-hwe

    < 4.15.0-163.171~16.04.1 | all

  • ubuntulinux-hwe-5.11

    all

  • ubuntulinux-hwe-5.13

    < 5.13.0-23.23~20.04.2

  • ubuntulinux-hwe-5.4

    < 5.4.0-91.102~18.04.1

  • ubuntulinux-hwe-5.8

    all

  • ubuntulinux-hwe-edge

    all | all

  • ubuntulinux-ibm

    < 5.4.0-1008.9

  • ubuntulinux-intel-5.13

    all

  • ubuntulinux-intel-iot-realtime

    all

  • ubuntulinux-kvm

    < 4.4.0-1118.128 | < 4.15.0-1103.105 | < 5.4.0-1050.52

  • ubuntulinux-lts-xenial

    < 4.4.0-239.273~14.04.1

  • ubuntulinux-oem

    all

  • ubuntulinux-oem-5.10

    < 5.10.0-1051.53

  • ubuntulinux-oem-5.13

    < 5.13.0-1026.32

  • ubuntulinux-oem-5.14

    < 5.14.0-1007.7

  • ubuntulinux-oem-5.6

    all

  • ubuntulinux-oracle

    < 4.15.0-1084.92~16.04.1 | < 4.15.0-1084.92 | < 5.4.0-1058.62

Showing first 50 affected entries in server-rendered view.

References (14)