CVE-2021-41641
8.4high
Link Following in Deno
- Severity
- 8.4high CVSS:3.1 by NVD
- Exploit likelihood
- 0.39% (higher than 35% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-67hm-27mx-9cg7
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| deno (crates.io) | before 1.16.0 | GitHub Advisory Database |
| deno deno | from 1.10.3 up to 1.14.0 | NVD |
All scores
| GitHub | 8.4high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N |
| NVD | 8.4high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N |
| NVD | 3.6low CVSS:2.0 | AV:L/AC:L/Au:N/C:P/I:P/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
Deno versiones anteriores a 1.14.0 incluyéndola, el sandbox de archivo no maneja correctamente los enlaces simbólicos. Cuando es ejecutado Deno con un acceso de escritura específico, el método Deno.symlink puede usarse para acceder a cualquier directorio
References
| https://hackers.report/report/614876917a7b150012836bb8 | exploit, third-party-advisory, web | |
| https://github.com/denoland/deno/issues/12152 | exploit, issue-tracking, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-41641 | advisory | |
| https://github.com/denoland/deno/pull/12554 | web | |
| https://github.com/denoland/deno/commit/d44011a69e0674acfa9c59bd7ad7f0523eb61d42 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-41641 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-67hm-27mx-9cg7 changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-41641 changed 2026-06-17 | Public domain |