CVE-2024-37169 MEDIUM

CVE-2024-37169: @jmondi/url-to-png arbitrary file read via Playwright's screenshot feature exploiting file wrapper

Vendor Jasonraimondi
Product url-to-png
Weakness CWE-22 · Path traversal
Published June 10, 2024
Last update August 2, 2024

CVSS base score

5.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality Low
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

What the vulnerability does

01Description

@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.

Key dates

02Disclosure timeline

June 10, 2024 CVE published
August 2, 2024 Record updated