Advisory

DEBIAN-CVE-2021-41088

Also known as: CVE-2021-41088

Summary

The record has no summary.

Details

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

Severity

High Basis: CVSS v3 score 8.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2021-09-23 20:15 UTC
Modified
2026-10-23 18:03 UTC

Affected packages and fixes

elvish

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 0.14.0-1 (ecosystem)

Fixed versions

0.14.0-1

Fix

  • Fixed version 0.14.0-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

elvish

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 0.14.0-1 (ecosystem)

Fixed versions

0.14.0-1

Fix

  • Fixed version 0.14.0-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

elvish

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 0.14.0-1 (ecosystem)

Fixed versions

0.14.0-1

Fix

  • Fixed version 0.14.0-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences