CWE
22
Advisory Published
Updated

CVE-2021-3178: Path Traversal

First published: Tue Jan 19 2021(Updated: )

** DISPUTED ** 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.

Credit: cve@mitre.org cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Linux kernel<=5.10.8
Fedora=33
Debian=9.0
debian/linux
5.10.223-1
5.10.234-1
6.1.123-1
6.1.128-1
6.12.12-1
6.12.17-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2021-3178?

    CVE-2021-3178 is considered a moderate severity vulnerability that can allow remote attackers to traverse the filesystem.

  • How do I fix CVE-2021-3178?

    To remediate CVE-2021-3178, update the Linux kernel to version 5.10.223-1, 5.10.226-1 or later.

  • What software is affected by CVE-2021-3178?

    CVE-2021-3178 affects the Linux kernel up to version 5.10.8 and specific distributions like Fedora 33 and Debian 9.0.

  • Can CVE-2021-3178 be exploited remotely?

    Yes, CVE-2021-3178 can be exploited remotely via the READDIRPLUS functionality in NFS exports.

  • Is this vulnerability still a concern if I am using a patched version?

    If you are using a patched version of the Linux kernel, the concerns related to CVE-2021-3178 should be mitigated.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203