Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:35475
HistoryMay 11, 2022 - 1:29 p.m.

Time-of-check To Time-of-Use (TOCTOU)

2022-05-1113:29:53
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
28
toctou
vulnerability
file.copy
file.js
permissions
attacker
arbitrary files
software

EPSS

0

Percentile

5.1%

grunt is vulnerable to Time-of-check To Time-of-Use (TOCTOU). The vulnerability exists in file.copy function in file.js because the permissions are not properly handled in both source and destination directories which allows an attacker to access and write arbitrary files.