Описание
Path Traversal in public
Versions of public before 0.1.3 are vulnerable to path traversal. This is due to lack of file path sanitization which could lead to any file the parent process has access to on the server to be read by malicious user.
Recommendation
Update to version 0.1.3 or later.
Пакеты
Наименование
public
npm
Затронутые версииВерсия исправления
<= 0.1.2
0.1.3
Связанные уязвимости
CVSS3: 7.5
nvd
больше 7 лет назад
public node module suffers from a Path Traversal vulnerability due to lack of validation of filePath, which allows a malicious user to read content of any file with known path.