Description
lshell 0.9.16 allows remote authenticated users to break out of a limited shell and execute arbitrary commands.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | lshell | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | limited-shell | <= 0.9.16 | — | PYSEC-2017-153 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1369345
- 92591 vdb-entry
- https://github.com/ghantoos/lshell/commit/a686f71732a3d0f16df52ef46ab8a49ee0083c68
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=834949
- [oss-security] 20160822 Re: CVE Request: lshell: shell outbreak vulnerabilities via bad syntax parse and multiline commands mailing-list
- https://github.com/ghantoos/lshell/issues/147