SecurityContext

CVE-2021-41641: Deno - Path Traversal

  • Cve: CVE-2021-41641
  • Name: Deno - Path Traversal
  • Description: Deno <=1.14.0 file sandbox does not handle symbolic links correctly. When running Deno with specific write access, the Deno.symlink method can be used to gain access to any directory.
  • Impact: Attackers can access or modify restricted directories, potentially leading to privilege escalation or data tampering.
  • Remediation: Update to the latest version of Deno where this issue is fixed.
  • Vulnerability type: path_traversal
  • Vulnerability impact: privilege_escalation, file_system_read, file_system_write
  • Requirement type: logged_in
  • Requirements: Attacker needs specific write access to Deno
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.4
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
  • Epss score: 0.00388
  • Epss percentile: 0.33421
  • Assignee: [email protected]
  • Published at: 2022-06-12T13:15:07Z
  • Age in days: 1626
  • Modified at: 2026-06-17T04:08:45Z
  • Public exploits total: 2
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-41641
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-59Improper Link Resolution Before File Access

Public exploits

UrlSourceAdded date
https://github.com/denoland/deno/issues/12152nvd2022-06-12
https://hackers.report/report/614876917a7b150012836bb8nvd2022-06-12

References

UrlSourceTags
https://github.com/denoland/deno/issues/12152nvdExploit, Issue Tracking, Third Party Advisory
https://hackers.report/report/614876917a7b150012836bb8nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
deno:deno>= 1.10.3, <= 1.14.0nonvd/v1/products/deno/deno

Projects

RepositoryLink kindsIndexedUrl
denoland/denocommit, issues, pullyes/v1/repositories/denoland/deno

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2022-06-12
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts