CVE-2024-37169
@jmondi/url-to-png is a self-hosted URL to PNG utility. Versions …
@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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/jasonraimondi/url-to-png/commit/9336020c5e603323f5cf4a2ac3bb9a7735cf61f7
- github.com/jasonraimondi/url-to-png/issues/47
- github.com/jasonraimondi/url-to-png/releases/tag/v2.0.3
- github.com/jasonraimondi/url-to-png/security/advisories/GHSA-665w-mwrr-77q3
- github.com/user-attachments/files/15536336/Arbitrary.File.Read.via.Playwright.s.Screenshot
- nvd.nist.gov/vuln/detail/CVE-2024-37169
- github.com/advisories/GHSA-665w-mwrr-77q3
- nvd.nist.gov/vuln/detail/CVE-2024-37169
- cve.org/CVERecord?id=CVE-2024-37169
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.