CVE-2021-3178

Aliases:UBUNTU-CVE-2021-3178DEBIAN-CVE-2021-3178
Advisory lineage Upstream: 0 Downstream: 10
Modified
Published: 19 Jan 2021, 06:44
Last modified:03 Aug 2024, 16:45

Vulnerability Summary

Overall Risk (default)
medium
26/100
CVSS Score
6.5 MEDIUM
v3.1 (nvd)
EPSS Score
2.42% LOW
2% probability +2.26%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

19 Jan 2021, 06:44
Published
Vulnerability first disclosed
03 Aug 2024, 16:45
Last Modified
Vulnerability information updated

Description

fs/nfsd/nfs3xdr.c in the Linux kernel through 5.10.8, when there is an NFS export of a subdirectory of a filesystem, allows remote attackers to traverse to other parts of the filesystem via READDIRPLUS. NOTE: some parties argue that such a subdirectory export is not intended to prevent this attack; see also the exports(5) no_subtree_check default behavior

CVSS Metrics

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

EPSS Trends

Current EPSS score: 2.42% Percentile: 83%

Techniques & Countermeasures

  • CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

    The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Affected Systems

  • debianlinux

    < 5.10.12-1 | < 5.10.12-1 | < 5.10.12-1 | < 5.10.12-1

  • ubuntulinux

    all | < 4.4.0-204.236 | < 4.15.0-137.141 | < 5.4.0-67.75

  • ubuntulinux-aws

    < 4.4.0-1087.91 | < 4.4.0-1123.137 | < 4.15.0-1095.102 | < 5.4.0-1039.41

  • ubuntulinux-aws-5.0

    all

  • ubuntulinux-aws-5.3

    all

  • ubuntulinux-aws-5.4

    < 5.4.0-1039.41~18.04.1

  • ubuntulinux-aws-fips

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

  • ubuntulinux-aws-hwe

    < 4.15.0-1095.102~16.04.1

  • ubuntulinux-azure

    < 4.15.0-1109.121~14.04.1 | < 4.15.0-1109.121~16.04.1 | all | < 5.4.0-1041.43

  • ubuntulinux-azure-4.15

    < 4.15.0-1109.121

  • ubuntulinux-azure-5.3

    all

  • ubuntulinux-azure-5.4

    < 5.4.0-1041.43~18.04.1

  • ubuntulinux-azure-edge

    all

  • ubuntulinux-azure-fde-5.15

    < 5.15.0-1114.123~20.04.1

  • ubuntulinux-azure-fips

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

  • ubuntulinux-bluefield

    all

  • ubuntulinux-dell300x

    < 4.15.0-1013.17

  • ubuntulinux-fips

    < 4.4.0-1057.63 | all | < 4.15.0-1054.62

  • ubuntulinux-gcp

    < 4.15.0-1094.107~16.04.1 | all | < 5.4.0-1038.41

  • ubuntulinux-gcp-4.15

    < 4.15.0-1094.107

  • ubuntulinux-gcp-5.3

    all

  • ubuntulinux-gcp-5.4

    < 5.4.0-1038.41~18.04.1

  • ubuntulinux-gcp-edge

    all

  • ubuntulinux-gcp-fips

    all | < 5.4.0-1067.71~20.04.1

  • ubuntulinux-gke

    < 5.4.0-1037.39

  • ubuntulinux-gke-4.15

    all

  • ubuntulinux-gke-5.4

    < 5.4.0-1037.39~18.04.1

  • ubuntulinux-gkeop

    < 5.4.0-1011.12

  • ubuntulinux-gkeop-5.4

    < 5.4.0-1011.12~18.04.2

  • ubuntulinux-hwe

    < 4.15.0-137.141~16.04.1 | all

  • ubuntulinux-hwe-5.4

    < 5.4.0-67.75~18.04.1

  • ubuntulinux-hwe-5.8

    < 5.8.0-49.55~20.04.1

  • ubuntulinux-hwe-edge

    all | all

  • ubuntulinux-intel-iot-realtime

    all

  • ubuntulinux-kvm

    < 4.4.0-1089.98 | < 4.15.0-1086.88 | < 5.4.0-1034.35

  • ubuntulinux-lts-xenial

    < 4.4.0-204.236~14.04.1

  • ubuntulinux-oem

    all

  • ubuntulinux-oem-5.10

    < 5.10.0-1014.15

  • ubuntulinux-oem-5.6

    < 5.6.0-1053.57

  • ubuntulinux-oracle

    < 4.15.0-1066.74~16.04.1 | < 4.15.0-1066.74 | < 5.4.0-1039.42

  • ubuntulinux-oracle-5.0

    all

  • ubuntulinux-oracle-5.3

    all

  • ubuntulinux-oracle-5.4

    < 5.4.0-1039.42~18.04.1

  • ubuntulinux-raspi

    < 5.4.0-1030.33

  • ubuntulinux-raspi-5.4

    < 5.4.0-1030.33~18.04.1

  • ubuntulinux-raspi-realtime

    all

  • ubuntulinux-raspi2

    < 4.4.0-1147.157 | < 4.15.0-1080.85 | all

  • ubuntulinux-realtime

    all

  • ubuntulinux-riscv

    all

  • ubuntulinux-riscv-5.8

    < 5.8.0-22.24~20.04.1

Showing first 50 affected entries in server-rendered view.

References (13)