CVE-2021-4002

Aliases:UBUNTU-CVE-2021-4002DEBIAN-CVE-2021-4002
Advisory lineage Upstream: 0 Downstream: 33
Modified
Published: 03 Mar 2022, 21:42
Last modified:03 Aug 2024, 17:16

Vulnerability Summary

Overall Risk (default)
medium
28/100
CVSS Score
4.4 MEDIUM
v3.1 (nvd)
EPSS Score
0.52% LOW
1% probability +0.50%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected

Timeline

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

Description

A memory leak flaw in the Linux kernel's hugetlbfs memory usage was found in the way the user maps some regions of memory twice using shmget() which are aligned to PUD alignment with the fault of some of the memory pages. A local user could use this flaw to get unauthorized access to some data.

CVSS Metrics

  • v3.1MEDIUMScore: 4.4CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
  • v2.0LOWScore: 3.6AV:L/AC:L/Au:N/C:P/I:P/A:N

EPSS Trends

Current EPSS score: 0.52% Percentile: 43%

Techniques & Countermeasures

  • CWE-459Incomplete Cleanup

    The product does not properly "clean up" and remove temporary or supporting resources after they have been used.

  • CWE-401Missing Release of Memory after Effective Lifetime

    The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.

Affected Systems

  • debianlinux

    < 5.10.84-1 | < 5.15.5-1 | < 5.15.5-1 | < 5.15.5-1

  • ubuntulinux

    < 3.13.0-189.240 | < 4.4.0-218.251 | < 4.15.0-166.174 | < 5.4.0-92.103

  • ubuntulinux-aws

    < 4.4.0-1098.103 | < 4.4.0-1134.148 | < 4.15.0-1118.125 | < 5.4.0-1061.64

  • 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-1061.64~18.04.1

  • ubuntulinux-aws-5.8

    all

  • ubuntulinux-aws-fips

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

  • ubuntulinux-aws-hwe

    < 4.15.0-1118.125~16.04.1

  • ubuntulinux-azure

    < 4.15.0-1129.142~14.04.1 | < 4.15.0-1129.142~16.04.1 | all | < 5.4.0-1065.68

  • ubuntulinux-azure-4.15

    < 4.15.0-1129.142

  • ubuntulinux-azure-5.11

    < 5.11.0-1023.24~20.04.1

  • ubuntulinux-azure-5.3

    all

  • ubuntulinux-azure-5.4

    < 5.4.0-1065.68~18.04.1

  • ubuntulinux-azure-5.8

    all

  • ubuntulinux-azure-edge

    all

  • ubuntulinux-azure-fips

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

  • ubuntulinux-bluefield

    all | < 5.4.0-1023.26

  • ubuntulinux-dell300x

    < 4.15.0-1033.38

  • ubuntulinux-fips

    < 4.4.0-1068.74 | all | < 4.15.0-1075.84 | < 5.4.0-1038.44

  • ubuntulinux-gcp

    < 4.15.0-1114.128~16.04.1 | all | < 5.4.0-1059.63

  • ubuntulinux-gcp-4.15

    < 4.15.0-1114.128

  • ubuntulinux-gcp-5.11

    < 5.11.0-1024.26~20.04.1

  • ubuntulinux-gcp-5.3

    all

  • ubuntulinux-gcp-5.4

    < 5.4.0-1059.63~18.04.1

  • ubuntulinux-gcp-5.8

    all

  • ubuntulinux-gcp-fips

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

  • ubuntulinux-gke

    < 5.4.0-1057.60

  • ubuntulinux-gke-4.15

    all

  • ubuntulinux-gke-5.4

    < 5.4.0-1057.60~18.04.1

  • ubuntulinux-gkeop

    < 5.4.0-1029.30

  • ubuntulinux-gkeop-5.4

    < 5.4.0-1029.30~18.04.2

  • ubuntulinux-hwe

    < 4.15.0-166.174~16.04.1 | all

  • ubuntulinux-hwe-5.11

    < 5.11.0-44.48~20.04.2

  • ubuntulinux-hwe-5.13

    < 5.13.0-23.23~20.04.2

  • ubuntulinux-hwe-5.4

    < 5.4.0-92.103~18.04.2

  • ubuntulinux-hwe-5.8

    all

  • ubuntulinux-hwe-edge

    all | all

  • ubuntulinux-ibm

    < 5.4.0-1010.11

  • ubuntulinux-intel-5.13

    all

  • ubuntulinux-intel-iot-realtime

    all

  • ubuntulinux-kvm

    < 4.4.0-1099.108 | < 4.15.0-1105.107 | < 5.4.0-1051.53

  • ubuntulinux-lts-xenial

    < 4.4.0-218.251~14.04.1

  • ubuntulinux-oem

    all

  • ubuntulinux-oem-5.10

    < 5.10.0-1053.55

  • ubuntulinux-oem-5.13

    < 5.13.0-1026.32

  • ubuntulinux-oem-5.14

    < 5.14.0-1013.13

  • ubuntulinux-oem-5.6

    all

  • ubuntulinux-oracle

    < 4.15.0-1085.93~16.04.1 | < 4.15.0-1085.93 | < 5.4.0-1059.63

Showing first 50 affected entries in server-rendered view.

References (19)