Improper Input Validation Affecting deno package, versions <1.41.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th percentile)

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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-DENO-6405979
  • published7 Mar 2024
  • disclosed5 Mar 2024
  • creditEric Cornelissen

Introduced: 5 Mar 2024

CVE-2024-27931  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade deno to version 1.41.1 or higher.

Overview

deno is an a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust.

Affected versions of this package are vulnerable to Improper Input Validation in the Deno.makeTemp* APIs. An attacker can create files outside of the allowed directories, potentially overwriting important system files by providing a prefix or suffix containing path traversal characters.

References

CVSS Scores

version 3.1