Skip to content
Heist/ feed
Back to feed
High

Deno is vulnerable to interactive `run` permission prompt spoofing via improper ANSI neutralization

Type: advisorySources: OSV

Deno is a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust. Arbitrary program names without any ANSI filtering allows any malicious program to clear the first 2 lines of a `op_spawn_child` or `op_kill` prompt and replace it with any desired text. This works with any command on the respective platform, giving the program the full ability to choose what program they wanted to run. This problem can not be exploited on systems that do not attach an interactive prompt (for example headless servers). This issue has been patched in version 1.31.2.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-28446
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 11:41 UTC · Revision 1

Source evidence

Deno is vulnerable to interactive `run` permission prompt spoofing via improper ANSI neutralization

core-osv · Original source

Published 24 Mar 2023, 19:46 UTC

Deno is a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust. Arbitrary program names without any ANSI filtering allows any malicious program to clear the first 2 lines of a `op_spawn_child` or `op_kill` prompt and replace it with any desired text. This works with any command on the respective platform, giving the program the full ability to choose what program they wanted to run. This problem can not be exploited on systems that do not attach an interactive prompt (for example headless servers). This issue has been patched in version 1.31.2.

osv:CVE-2023-28446
Complete source record
{
  "id": "c5072f45f7eba48481a70bd0164d842fbfd195a9c88be5d183de4a7f41254e0c",
  "url": "https://osv.dev/vulnerability/CVE-2023-28446",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Deno is vulnerable to interactive `run` permission prompt spoofing via improper ANSI neutralization",
    "summary": "Deno is a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust. Arbitrary program names without any ANSI filtering allows any malicious program to clear the first 2 lines of a `op_spawn_child` or `op_kill` prompt and replace it with any desired text. This works with any command on the respective platform, giving the program the full ability to choose what program they wanted to run. This problem can not be exploited on systems that do not attach an interactive prompt (for example headless servers). This issue has been patched in version 1.31.2.",
    "evidence": "osv:CVE-2023-28446",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2023-28446",
      "aliases": [
        "CVE-2023-28446",
        "GHSA-vq67-rp93-65qf"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/denoland/deno",
              "type": "GIT",
              "events": [
                {
                  "introduced": "18b894072d3eb6b04016e77ece0d78512f7ffca1"
                },
                {
                  "fixed": "fc6edac5978e7a5e44fdcee05085c7492f0ccba9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "1.8.0"
                      },
                      {
                        "fixed": "1.31.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "fc6edac5978e7a5e44fdcee05085c7492f0ccba9"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v1.31.2"
                  },
                  {
                    "cpe": "cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.31.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.31.1",
            "v1.31.0",
            "v1.30.0",
            "v1.29.0",
            "v1.28.0",
            "v1.27.0",
            "v1.26.0",
            "v1.25.0",
            "v1.24.0",
            "v1.23.0",
            "v1.22.0",
            "v1.21.0",
            "v1.20.1",
            "v1.20.0",
            "v1.19.0",
            "v1.18.0",
            "v1.17.0",
            "v1.16.2",
            "v1.16.1",
            "v1.16.0",
            "v1.15.3",
            "v1.15.2",
            "v1.15.1",
            "v1.15.0",
            "v1.14.2",
            "v1.14.1",
            "v1.14.0",
            "v1.13.2",
            "v1.13.1",
            "v1.13.0",
            "v1.12.2",
            "v1.12.1",
            "v1.12.0",
            "v1.11.2",
            "v1.11.1",
            "v1.11.0",
            "v1.10.1",
            "v1.10.0",
            "v1.9.2",
            "v1.9.1",
            "v1.9.0",
            "v1.8.2",
            "v1.8.1",
            "v1.8.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-28446.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:34.719520068Z",
      "provider": "osv",
      "references": [
        "https://github.com/denoland/deno/blob/7d13d65468c37022f003bb680dfbddd07ea72173/runtime/js/40_process.js#L175",
        "https://github.com/denoland/deno/releases/tag/v1.31.2",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/28xxx/CVE-2023-28446.json",
        "https://github.com/denoland/deno/security/advisories/GHSA-vq67-rp93-65qf",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-28446"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-150"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/28xxx/CVE-2023-28446.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-28446",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 502103,
  "published_at": "2023-03-24T19:46:28.641+00:00"
}