CWE
266
Advisory Published
Updated

CVE-2020-16120: Unprivileged overlay + shiftfs read access

First published: Tue Oct 13 2020(Updated: )

Last updated 29 November 2024

Credit: security@ubuntu.com

Affected SoftwareAffected VersionHow to fix
Linux Kernel<5.11
Ubuntu Linux=14.04
Ubuntu Linux=16.04
Ubuntu Linux=18.04
Ubuntu Linux=20.04
debian/linux
5.10.223-1
5.10.226-1
6.1.123-1
6.1.128-1
6.12.12-1
6.12.13-1
Ubuntu=14.04
Ubuntu=16.04
Ubuntu=18.04
Ubuntu=20.04

Remedy

disable unprivileged user namespaces if not needed via sudo sysctl kernel.unprivileged_userns_clone=0 do this permanently by adding kernel.unprivileged_userns_clone = 0 to /etc/sysctl.d/99-userns.conf

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-2020-16120?

    CVE-2020-16120 has a severity rating that enables potential privilege escalation in systems using vulnerable versions of Overlayfs.

  • How do I fix CVE-2020-16120?

    To fix CVE-2020-16120, update to the patched versions of Linux kernels: 5.10.223-1, 5.10.226-1, 6.1.123-1, 6.1.119-1, or 6.12.10-1.

  • Which systems are affected by CVE-2020-16120?

    CVE-2020-16120 affects multiple Linux distributions including Debian and various versions of Ubuntu.

  • Can CVE-2020-16120 be exploited in user namespaces?

    Yes, CVE-2020-16120 can be exploited from within a user namespace if unprivileged user namespaces are allowed.

  • What is Overlayfs in relation to CVE-2020-16120?

    Overlayfs is a layered filesystem in Linux that is implicated in the permission-checking flaw described in CVE-2020-16120.

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