CVE-2021-41088
Elvish vulnerable to remote code execution via the web UI backend in github.com/elves/elvish
描述
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).
如何修補 CVE-2021-41088
要修補 CVE-2021-41088,請將受影響套件升級到下列已修補版本。
- —升級至 0.14.0-1 或更新版本
- —升級至 0.14.0 或更新版本
- —升級至 0.14.0 或更新版本
CVE-2021-41088 正在被利用嗎?
低 — EPSS 為 0.2%,目前沒有觀察到大規模利用活動。
受影響套件(3)
- from 0, < 0.14.0-1
- from 0, < 0.14.0
- from 0, < 0.14.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.0 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H |