Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2025-48934
June 04, 2025
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 Packages
https://github.com/denoland/deno.git (GITHUB):
Affected version(s) >=v0.0.1 <v2.1.12
Fix Suggestion:
Update to version v2.1.12
https://github.com/denoland/deno.git (GITHUB):
Affected version(s) >=v2.2.0 <v2.2.13
Fix Suggestion:
Update to version v2.2.13
deno (NPM):
Affected version(s) >=2.2.0 <2.2.13
Fix Suggestion:
Update to version 2.2.13
deno (NPM):
Affected version(s) >=0.0.0 <2.1.13
Fix Suggestion:
Update to version 2.1.13
Additional Notes
The description of this vulnerability differs from MITRE.
Do you need more information?
Contact Us
CVSS v4
Base Score:
5.5
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
POC
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Insertion of Sensitive Information Into Sent Data
EPSS
Base Score:
0.12