Arbitrary Code Execution Affecting src.elv.sh Open this link in a new tab package, versions <0.14.0
Attack Complexity
High
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications-
snyk-id
SNYK-GOLANG-SRCELVSH-1658290
-
published
24 Sep 2021
-
disclosed
23 Sep 2021
-
credit
Unknown
Introduced: 23 Sep 2021
CVE-2021-41088 Open this link in a new tabHow to fix?
Upgrade src.elv.sh
to version 0.14.0 or higher.
Overview
src.elv.sh is an expressive programming language and a versatile interactive shell, combined into one seamless package. It runs on Linux, BSDs, macOS and Windows.
Affected versions of this package are vulnerable to Arbitrary Code Execution. Elvish's backend for the experimental web UI (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.