CVE-2025-61785
Rust vulnerability analysis and mitigation

Overview

CVE-2025-61785 affects Deno, a JavaScript, TypeScript, and WebAssembly runtime. In versions prior to 2.5.3 and 2.2.15, Deno.FsFile.prototype.utime and Deno.FsFile.prototype.utimeSync are not properly limited by the permission model check --deny-write=./. The vulnerability was discovered by researcher dellalibera and was patched in versions 2.5.3 and 2.2.15, released on October 2, 2025 (Deno Release, Deno Advisory).

Technical details

The vulnerability allows modification of file metadata (access time atime and modification time mtime) on file stream resources even when the file is opened with read-only permission and write operations are denied through the --deny-write=./ flag. While similar APIs like Deno.utime and Deno.utimeSync properly enforce write permissions, the file-specific methods bypass these restrictions. The vulnerability has been assigned a CVSS v3 score of 3.3 (Low) with vector CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N (Deno Advisory).

Impact

The vulnerability allows attackers to bypass permission restrictions and modify file metadata timestamps even when write access is explicitly denied. While the impact is limited to timestamp modification and doesn't allow actual file content changes, it represents a security model bypass that could potentially be used in more sophisticated attacks (Deno Advisory).

Mitigation and workarounds

Users should upgrade to Deno version 2.5.3 or 2.2.15 or later, which contain the fix for this vulnerability. The fix implements proper permission checks for the utime and utimeSync methods on file handles (Deno Release).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61588CRITICAL9.3
  • RustRust
  • risc0-aggregation
NoYesOct 02, 2025
GHSA-qr9h-x63w-vqfmMEDIUM4.1
  • RustRust
  • openmls
NoYesSep 26, 2025
CVE-2025-61785LOW3.3
  • RustRust
  • deno
NoYesOct 08, 2025
GHSA-466c-pfvv-v83gLOWN/A
  • RustRust
  • wrflib
NoNoOct 03, 2025
RUSTSEC-2025-0072N/AN/A
  • RustRust
  • wrflib
NoNoOct 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management