{"id":"CVE-2025-61785","sourceIdentifier":"security-advisories@github.com","published":"2025-10-08T01:15:32.847","lastModified":"2026-10-08T13:10:00.200","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"Deno is 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 limited by the permission model check `--deny-write=./`. It's possible to change to change the access (`atime`) and modification (`mtime`) times on the file stream resource even when the file is opened with `read` only permission (and `write`: `false`) and file write operations are not allowed (the script is executed with `--deny-write=./`). Similar APIs like `Deno.utime` and `Deno.utimeSync` require `allow-write` permission, however, when a file is opened, even with read only flags and deny-write permission, it's still possible to change the access (`atime`) and modification (`mtime`) times, and thus bypass the permission model. Versions 2.5.3 and 2.2.15 fix the issue."},{"lang":"es","value":"Deno es un entorno de ejecución de JavaScript, TypeScript y WebAssembly. En versiones anteriores a la 2.5.3 y 2.2.15, 'Deno.FsFile.prototype.utime' y 'Deno.FsFile.prototype.utimeSync' no están limitadas por la verificación del modelo de permisos '--deny-write=./'. Es posible cambiar los tiempos de acceso ('atime') y modificación ('mtime') en el recurso de flujo de archivo incluso cuando el archivo se abre con permiso de solo lectura ('read' only permission) (y 'write': 'false') y las operaciones de escritura de archivos no están permitidas (el script se ejecuta con '--deny-write=./'). APIs similares como 'Deno.utime' y 'Deno.utimeSync' requieren permiso de 'allow-write', sin embargo, cuando se abre un archivo, incluso con banderas de solo lectura y permiso de denegación de escritura, todavía es posible cambiar los tiempos de acceso ('atime') y modificación ('mtime'), y así eludir el modelo de permisos. Las versiones 2.5.3 y 2.2.15 corrigen el problema."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"denoland","product":"deno","versions":[{"version":">= 2.3.0, < 2.5.3","status":"affected"},{"version":"< 2.2.15","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","baseScore":3.3,"baseSeverity":"LOW","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":1.8,"impactScore":1.4}],"cvssMetricV30":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","baseScore":3.3,"baseSeverity":"LOW","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":1.8,"impactScore":1.4}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-10-08T18:59:00.429362Z","id":"CVE-2025-61785","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-266"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*","versionEndIncluding":"2.2.15","matchCriteriaId":"E75979F4-50DD-41E8-932A-C576F86DBFCF"},{"vulnerable":true,"criteria":"cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*","versionStartIncluding":"2.3.0","versionEndExcluding":"2.5.3","matchCriteriaId":"7DD66938-204A-4542-BA86-274BB232C8C9"}]}]}],"references":[{"url":"https://github.com/denoland/deno/commit/992e998dfe436cdc9325232759af8be92f11739b","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/denoland/deno/pull/30872","source":"security-advisories@github.com","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/denoland/deno/releases/tag/v2.2.15","source":"security-advisories@github.com","tags":["Release Notes"]},{"url":"https://github.com/denoland/deno/releases/tag/v2.5.3","source":"security-advisories@github.com","tags":["Release Notes"]},{"url":"https://github.com/denoland/deno/security/advisories/GHSA-vg2r-rmgp-cgqj","source":"security-advisories@github.com","tags":["Exploit","Vendor Advisory"]}]}