CVE-2025-48934
Beskrivelse
Deno is a JavaScript, TypeScript, and WebAssembly runtime. Prior to versions 2.1.13 and 2.2.13, the `Deno.env.toObject` method ignores any variables listed in the `--deny-env` option of the `deno run` command. When looking at the documentation of the `--deny-env` option this might lead to a false impression that variables listed in the option are impossible to read. Software relying on the combination of both flags to allow access to most environment variables except a few sensitive ones will be vulnerable to malicious code trying to steal secrets using the `Deno.env.toObject()` method. Versions 2.1.13 and 2.2.13 contains a patch.
Beskrivelsen gjengis slik kilden har publisert den, på engelsk.
Nøkkelfakta
- Publisert
- 2025-06-04
- Sist endret
- 2026-06-17
- Tildelt av
- security-advisories@github.com
- CVSS-vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N- Scoret av
- nvd@nist.gov (NVD Primary)
- Sannsynlighet for utnyttelse
-
0.4 %
høyere enn 29 %
av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15 - Rettelse finnes
- Ja, se referansene
Berørte produkter
| Leverandør | Produkt | Versjoner | Status |
|---|---|---|---|
| deno (crates.io) | < 2.1.13 | Berørt | |
| deno (crates.io) | ≥ 2.2.0, < 2.2.13 | Berørt | |
| deno_runtime (crates.io) | < 0.212.0 | Berørt | |
| Deno | Deno | < 2.1.13 | Berørt |
| Deno | Deno | ≥ 2.2.0, < 2.2.13 | Berørt |
Svakhetstype
-
CWE-201: Insertion of Sensitive Information Into Sent Data
The code transmits data to another actor, but a portion of the data includes sensitive information that should not be accessible to that actor.
Referanser
- https://docs.deno.com/api/deno/~/Deno.Env.toObject
- https://docs.deno.com/runtime/fundamentals/security/#environment-variables
- https://github.com/denoland/deno/commit/2959e083912420988066a001c2b2d6732a1b562f
- https://github.com/denoland/deno/commit/946ccda1aa19a00c478a5e6826b75053b050d753
- https://github.com/denoland/deno/pull/29079
- https://github.com/denoland/deno/security/advisories/GHSA-7w8p-chxq-2789
- https://github.com/denoland/deno/security/advisories/GHSA-7w8p-chxq-2789
Relatert hos Berigo
Artikler
-
EU og Storbritannia sanksjonerer russiske cyberaktører
Samme produkt
2026-07-13
EU og Storbritannia knytter infiltrasjon av offentlige nettverk og sabotasje mot kritisk infrastruktur i flere medlemsland til Russland, og innfører …
Berører dette dere?
En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.