CVE-2021-41088 Remote code execution via the web UI backend of Elvish
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
Elvish is a programming language and interactive shell, combined into one package. In versions prior to 0.14.0 Elvish's web UI backend (started by elvish -web) hosts an endpoint that allows executing the code sent from the web UI. The backend does not check the origin of requests correctly. As a result, if the user has the web UI backend open and visits a compromised or malicious website, the website can send arbitrary code to the endpoint in localhost. All Elvish releases from 0.14.0 onward no longer include the the web UI, although it is still possible for the user to build a version from source that includes the web UI. The issue can be patched for previous versions by removing the web UI (found in web, pkg/web or pkg/prog/web, depending on the exact version).
Upgrade path
13 packages: 5 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/elvish(Ubuntu 18.04) | = 0.10.1-1; = 0.10.1-2; = 0.11+ds1-2; = 0.11+ds1-3 +1 more | No fix listed | No fix yet |
| ubuntu/elvish(Ubuntu 20.04) | = 0.12+ds1-2; = 0.13+ds1-2; = 0.13+ds1-2ubuntu0.1; All versions | No fix listed | No fix yet |
| ubuntu/elvish(Ubuntu 22.04) | = 0.15.0-1; = 0.16.3-1; = 0.17.0-1; = 0.17.0-1ubuntu0.1 +1 more | No fix listed | No fix yet |
| ubuntu/elvish(Ubuntu 24.04) | = 0.19.2-1build1; = 0.20.1-1; = 0.20.1-1build1; = 0.20.1-1ubuntu0.24.04.1 +3 more | No fix listed | No fix yet |
| ubuntu/elvish(Ubuntu 25.10) | = 0.21.0-2; All versions | No fix listed | No fix yet |
| ubuntu/elvish(Ubuntu 26.04) | = 0.21.0-2; = 0.21.0-2build1; All versions | No fix listed | No fix yet |
| ubuntu/elvish(Ubuntu 26.10) | = 0.21.0-2build1; All versions | No fix listed | No fix yet |
| debian/elvish(Debian 12) | < 0.14.0-1 | 0.14.0-1 | Fixed |
| debian/elvish(Debian 13) | < 0.14.0-1 | 0.14.0-1 | Fixed |
| debian/elvish(Debian 14) | < 0.14.0-1 | 0.14.0-1 | Fixed |
| elves github.com/elves/elvish(Go) | < 0.14.0 | 0.14.0 | Fixed |
| elvish | < 0.14.0 | 0.14.0 | Fixed |
| elves github.com/elves/elvish | = < 0.14.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| elves github.com/elves/elvish(Go) | < 0.14.0 | 0.14.0 |
| debian/elvish(Debian:12) | < 0.14.0-1 | 0.14.0-1 |
| debian/elvish(Debian:14) | < 0.14.0-1 | 0.14.0-1 |
| debian/elvish(Debian:13) | < 0.14.0-1 | 0.14.0-1 |
| ubuntu/elvish(Ubuntu:22.04) | All versions | No fix listed |
| elvish | < 0.14.0 | 0.14.0 |
| ubuntu/elvish(Ubuntu:24.04) | All versions | No fix listed |
| elves github.com/elves/elvish | = < 0.14.0 | No fix listed |
| ubuntu/elvish(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/elvish(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/elvish(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/elvish(Ubuntu:18.04) | = 0.10.1-1 | No fix listed |
| ubuntu/elvish(Ubuntu:18.04) | = 0.10.1-2 | No fix listed |
| ubuntu/elvish(Ubuntu:18.04) | = 0.11+ds1-2 | No fix listed |
| ubuntu/elvish(Ubuntu:18.04) | = 0.11+ds1-3 | No fix listed |
| ubuntu/elvish(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/elvish(Ubuntu:20.04) | = 0.12+ds1-2 | No fix listed |
| ubuntu/elvish(Ubuntu:20.04) | = 0.13+ds1-2 | No fix listed |
| ubuntu/elvish(Ubuntu:20.04) | = 0.13+ds1-2ubuntu0.1 | No fix listed |
| ubuntu/elvish(Ubuntu:22.04) | = 0.15.0-1 | No fix listed |
| ubuntu/elvish(Ubuntu:22.04) | = 0.16.3-1 | No fix listed |
| ubuntu/elvish(Ubuntu:22.04) | = 0.17.0-1 | No fix listed |
| ubuntu/elvish(Ubuntu:22.04) | = 0.17.0-1ubuntu0.1 | No fix listed |
| ubuntu/elvish(Ubuntu:24.04) | = 0.19.2-1build1 | No fix listed |
| ubuntu/elvish(Ubuntu:24.04) | = 0.20.1-1 | No fix listed |
Show 9 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/elvish(Ubuntu:24.04) | = 0.20.1-1build1 | No fix listed |
| ubuntu/elvish(Ubuntu:24.04) | = 0.20.1-1ubuntu0.24.04.1 | No fix listed |
| ubuntu/elvish(Ubuntu:24.04) | = 0.20.1-1ubuntu0.24.04.2 | No fix listed |
| ubuntu/elvish(Ubuntu:24.04) | = 0.20.1-1ubuntu0.24.04.3 | No fix listed |
| ubuntu/elvish(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/elvish(Ubuntu:25.10) | = 0.21.0-2 | No fix listed |
| ubuntu/elvish(Ubuntu:26.10) | = 0.21.0-2build1 | No fix listed |
| ubuntu/elvish(Ubuntu:26.04) | = 0.21.0-2 | No fix listed |
| ubuntu/elvish(Ubuntu:26.04) | = 0.21.0-2build1 | No fix listed |
References
- github.com issue-tracking third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking patch third-party-advisory
- github.com
- Debian Security Tracker CVE-2021-41088 vendor-advisory
- github.com product
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking