{"id":"EUVD-2021-2056","enisaUuid":"176a86a1-9937-3615-bae1-d773796817bc","description":"Elvish is a programming language and interactive shell, combined into one package. In versions prior to 0.14.0 Elvish\u0027s 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).","datePublished":"Sep 23, 2021, 7:55:10 PM","dateUpdated":"Aug 4, 2024, 2:59:31 AM","baseScore":8.0,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","references":"https://github.com/elves/elvish/security/advisories/GHSA-fpv6-f8jw-rc3r\nhttps://github.com/elves/elvish/commit/ccc2750037bbbfafe9c1b7a78eadd3bd16e81fe5\n","aliases":"CVE-2021-41088\nGHSA-fpv6-f8jw-rc3r\n","assigner":"GitHub_M","epss":0.54,"enisaIdProduct":[{"id":"358aa1d8-78a2-37cb-8a28-921c6dd8d42a","product":{"name":"elvish","vendor":{"name":"elves"}},"product_version":"\u003c 0.14.0"}],"enisaIdVendor":[{"id":"09406a17-3f5d-386f-bfcd-284076e9c406","vendor":{"name":"elves"}}],"enisaIdVulnerability":[{"id":"b1696e94-961d-3ca1-a865-fa817afdbf46","vulnerability":{"id":"GHSA-fpv6-f8jw-rc3r","description":"Elvish vulnerable to remote code execution via the web UI backend","datePublished":"Sep 23, 2021, 11:17:33 PM","dateUpdated":"Aug 15, 2022, 8:07:49 PM","baseScore":null,"references":"https://github.com/elves/elvish/security/advisories/GHSA-fpv6-f8jw-rc3r\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-41088\nhttps://github.com/elves/elvish/commit/ccc2750037bbbfafe9c1b7a78eadd3bd16e81fe5\nhttps://github.com/elves/elvish\n","enisa_id":"EUVD-2021-2056\n","aliases":"GHSA-fpv6-f8jw-rc3r\nCVE-2021-41088\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:06:55 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"e9f59797-397b-3fb4-bc70-25741ac2b3b7","vulnerability":{"id":"CVE-2021-41088","description":"Elvish is a programming language and interactive shell, combined into one package. In versions prior to 0.14.0 Elvish\u0027s 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).","datePublished":"Sep 23, 2021, 7:55:10 PM","dateUpdated":"Aug 4, 2024, 2:59:31 AM","status":"PUBLISHED","baseScore":8.0,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","references":"https://github.com/elves/elvish/security/advisories/GHSA-fpv6-f8jw-rc3r\nhttps://github.com/elves/elvish/commit/ccc2750037bbbfafe9c1b7a78eadd3bd16e81fe5\n","enisa_id":"EUVD-2021-2056\n","assigner":"GitHub_M","epss":0.54,"dataProcessed":"Nov 22, 2026, 7:22:06 AM","vulnerabilityProduct":[{"id":"b79ad92f-af49-3810-a5c0-b8bd2d968f4c","product":{"name":"elvish","vendor":{"name":"elves"}},"product_version":"\u003c 0.14.0"}],"vulnerabilityVendor":[{"id":"c1c23f2c-13bc-3549-8204-1b02d3a1200e","vendor":{"name":"elves"}}]}}],"enisaIdAdvisory":[]}