CWE
20
Advisory Published
CVE Published
Updated

CVE-2017-5226: Input Validation

First published: Mon Jan 09 2017(Updated: )

When executing a program via the bubblewrap sandbox, the nonpriv session can escape to the parent session by using the TIOCSTI ioctl to push characters into the terminal's input buffer, allowing an attacker to escape the sandbox. References: <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850702">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850702</a> Upstream bugs: <a href="https://github.com/projectatomic/bubblewrap/issues/142">https://github.com/projectatomic/bubblewrap/issues/142</a> <a href="https://github.com/projectatomic/bubblewrap/pull/143">https://github.com/projectatomic/bubblewrap/pull/143</a> Upstream patch: <a href="https://github.com/projectatomic/bubblewrap/commit/d7fc532c42f0e9bf427923bab85433282b3e5117">https://github.com/projectatomic/bubblewrap/commit/d7fc532c42f0e9bf427923bab85433282b3e5117</a>

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
redhat/bubblewrap<0.1.5
0.1.5
debian/bubblewrap
0.4.1-3
0.8.0-2
0.9.0-1
Project Atomic Bubblewrap<=0.1.5

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-2017-5226?

    CVE-2017-5226 is considered a high-severity vulnerability due to the risk of sandbox escape.

  • How does CVE-2017-5226 allow an attacker to escape the sandbox?

    CVE-2017-5226 allows an attacker to escape the sandbox by using the TIOCSTI ioctl to push characters into the terminal's input buffer.

  • Which versions of bubblewrap are affected by CVE-2017-5226?

    CVE-2017-5226 affects bubblewrap versions up to and including 0.1.5.

  • How do I fix CVE-2017-5226?

    To fix CVE-2017-5226, upgrade bubblewrap to version 0.4.1-3 or later.

  • What types of systems are impacted by CVE-2017-5226?

    CVE-2017-5226 impacts systems using bubblewrap versions prior to 0.4.1-3, particularly on Debian-based and Red Hat-based distributions.

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