CVE & CISA-KEV Catalog

CVE-2021-41088

HIGH
8.0
CVSS v3
NVD

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).

How to fix

Remediation Available
elvishDebian
Fixed in:0.14.0-1CVE-2021-41088
Fixed in:0.14.0-1CVE-2021-41088
Fixed in:0.14.0-1CVE-2021-41088
Fixed in:0.14.0-1CVE-2021-41088

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredLow
User InteractionRequired
ScopeChanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H

Exploit Intelligence

0.52%probability of exploitation in 30 days
40thpercentile

Moderate risk: more likely to be exploited than 40% of all known CVEs.

References

Third-Party Advisory1

Related Vulnerabilities

Other CWE-668 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2022-39952Critical9.8100%-Fix
CVE-2017-16597Critical9.857%--
CVE-2017-16603High8.854%--
CVE-2024-25153Critical9.842%-Fix
CVE-2017-0215Medium5.336%--
CVE-2022-25236Critical9.834%-Fix
Embed a live status badge for CVE-2021-41088
CVE-2021-41088 severity badge

Markdown

[![CVE-2021-41088](https://tridentstack.com/cve/badge/CVE-2021-41088.svg)](https://tridentstack.com/cve/CVE-2021-41088)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-41088"><img src="https://tridentstack.com/cve/badge/CVE-2021-41088.svg" alt="CVE-2021-41088"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.