CVE-2024-37169: 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 - https://github.com/jasonraimondi/url-to-png/issues/47 - https://github.com/user-attachments/files/15536336/Arbitrary.File.Read.via.Playwright.s.Screenshot.Feature.Exploiting.File.Wrapper.pdf
Published Jun 5, 2024 · Updated Jun 11, 2024
Affected packages
@jmondi/url-to-png
- Ecosystem
- npm
- Affected
- < 2.0.3
- Fixed in
- 2.0.3
- Check
npm ls @jmondi/url-to-png
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
- https://github.com/jasonraimondi/url-to-png/issues/47
- https://github.com/user-attachments/files/15536336/Arbitrary.File.Read.via.Playwright.s.Screenshot.Feature.Exploiting.File.Wrapper.pdf
Credited to timoxoszt, jasonraimondi.
References
- https://github.com/jasonraimondi/url-to-png/security/advisories/GHSA-665w-mwrr-77q3
- https://github.com/jasonraimondi/url-to-png/issues/47
- https://nvd.nist.gov/vuln/detail/CVE-2024-37169
- https://github.com/jasonraimondi/url-to-png/commit/9336020c5e603323f5cf4a2ac3bb9a7735cf61f7
- https://github.com/jasonraimondi/url-to-png/releases/tag/v2.0.3
- https://github.com/user-attachments/files/15536336/Arbitrary.File.Read.via.Playwright.s.Screenshot.Feature.Exploiting.File.Wrapper.pdf
- https://github.com/advisories/GHSA-665w-mwrr-77q3
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
