> CVE-2025-48934 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2025-06-04 20:15
MODIFIED
2025-07-02 13:43
CVSS_SCORE V3
5.3
EPSS (Prob. Exploit)
0.43%
Top 64.2%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-10-25 GITHUB 🔗 2026-11-11 OSV 🔗 2026-11-08

> DESCRIPTION

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.

> AFFECTED_PRODUCTS

Deno - Deno
< 2.1.13
Deno - Deno
>= 2.2.0 < 2.2.13

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
Low (L)
Divulgation limitée d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
Low
Divulgation limitée d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
None
Aucune interruption de service

> GITHUB SECURITY ADVISORY

GHSA-7w8p-chxq-2789 MODERATE

Deno.env.toObject() ignores the variables listed in --deny-env and returns all environment variables

AFFECTED PACKAGES:
RUST / deno_runtime
< 0.212.0
Fixed in: 0.212.0
RUST / deno
>= 2.2.0, < 2.2.13
Fixed in: 2.2.13
RUST / deno
< 2.1.13
Fixed in: 2.1.13

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Deno.env.toObject() ignores the variables listed in --deny-env and returns all environment variables

AFFECTED PACKAGES:
Unknown / Unknown
254 versions affected
ALIASES:
GHSA-7w8p-chxq-2789

> HISTORIQUE DES MODIFICATIONS

Première apparition
04/06/2025 20:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 15:04
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME