Original description
@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.
Affected software
- URL-to-PNG * repository or package match
Details
- Published
- 2024-06-11
- Last modified
- 2024-08-02
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N- CWE
- CWE-22
- EPSS (30-day exploit probability)
- 0.53% (percentile 45)
References
- cve.org/CVE-2024-37169
- nvd.nist.gov/vuln/detail/CVE-2024-37169
- github.com/jasonraimondi/url-to-png/security/advisories/GHSA-665w-mwrr-77q3
- github.com/jasonraimondi/url-to-png/issues/47
- github.com/jasonraimondi/url-to-png/commit/9336020c5e603323f5cf4a2ac3bb9a7735cf61f7
- github.com/jasonraimondi/url-to-png/releases/tag/v2.0.3
- github.com/user-attachments/files/15536336/Arbitrary.File.Read.via.Playwright.s.Screenshot...
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.