SecurityContext

CVE-2017-5226: bubblewrap - Command Injection

  • Cve: CVE-2017-5226
  • Name: bubblewrap - Command Injection
  • Description: 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.
  • Impact: Attackers can escape the sandbox environment, gaining access to the parent session and potentially executing arbitrary commands.
  • Remediation: Implement proper sandbox restrictions and disable or restrict TIOCSTI ioctl usage in the sandbox environment.
  • Vulnerability type: command_injection
  • Vulnerability impact: privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 10
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Epss score: 0.03195
  • Epss percentile: 0.88439
  • Assignee: [email protected]
  • Published at: 2017-03-29T20:59:00Z
  • Age in days: 3527
  • Modified at: 2026-06-17T01:20:11Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 7
  • Products total: 1
  • Oss: yes
  • Projects total: 3
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-5226
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-20Improper Input Validation

Public exploits

UrlSourceAdded date
https://github.com/projectatomic/bubblewrap/issues/142nvd2017-03-29

References

Same in every row:

  • Source: nvd
UrlTags
https://bugzilla.redhat.com/show_bug.cgi?id=1411811Issue Tracking, Patch
https://github.com/projectatomic/bubblewrap/commit/d7fc532c42f0e9bf427923bab85433282b3e5117Patch
https://github.com/projectatomic/bubblewrap/issues/142Exploit, Patch, Vendor Advisory
http://www.securityfocus.com/bid/97260Third Party Advisory, VDB Entry
http://www.openwall.com/lists/oss-security/2020/07/10/1
http://www.openwall.com/lists/oss-security/2023/03/17/1
https://www.openwall.com/lists/oss-security/2023/03/14/2

Products

ProductAffectedPlatform boundSourcesUrl
projectatomic:bubblewrap<= 0.1.5nonvd/v1/products/projectatomic/bubblewrap

Projects

Same in every row:

  • Indexed: yes
RepositoryLink kindsUrl
flatpak/flatpakfix/v1/repositories/flatpak/flatpak
containers/bubblewrapfix/v1/repositories/containers/bubblewrap
projectatomic/bubblewrapcommit, issues/v1/repositories/projectatomic/bubblewrap

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2017-03-29
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts