Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-665w-mwrr-77q3

Опубликовано: 05 июн. 2024
Источник: github
Github: Прошло ревью
CVSS3: 5.3

Описание

Arbitrary file read via Playwright's screenshot feature exploiting file wrapper

Impact

All users of url-to-png. Please see https://github.com/jasonraimondi/url-to-png/issues/47

Patches

v2.0.3 requires input url to be of protocol http or https

Workarounds

Requires upgrade.

References

Пакеты

Наименование

@jmondi/url-to-png

npm
Затронутые версииВерсия исправления

< 2.0.3

2.0.3

EPSS

Процентиль: 64%
0.00478
Низкий

5.3 Medium

CVSS3

Дефекты

CWE-22

Связанные уязвимости

CVSS3: 5.3
nvd
больше 1 года назад

@jmondi/url-to-png is a self-hosted URL to PNG utility. Versions prior to 2.0.3 are vulnerable to arbitrary file read if a threat actor uses the Playright's screenshot feature to exploit the file wrapper. Version 2.0.3 mitigates this issue by requiring input URLs to be of protocol `http` or `https`. No known workarounds are available aside from upgrading.

EPSS

Процентиль: 64%
0.00478
Низкий

5.3 Medium

CVSS3

Дефекты

CWE-22