GitHub Advisoryadvisory · npm
GHSA-665w-mwrr-77q3 Arbitrary file read via Playwright's screenshot feature exploiting file wrapper
MEDIUM
Official page ↗
- Aliases
- CVE-2024-37169
- Ecosystem
- npm
- Packages
- @jmondi/url-to-png
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-22
- Reviewed
- 2024-06-05
Affected packages
• npm @jmondi/url-to-png: < 2.0.3 → fixed in 2.0.3
Description
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
Related
Alias · CVE (1)
- CVE-2024-37169 @jmondi/url-to-png is a self-hosted URL to PNG utility. vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/jasonraimondi/url-to-png/security/advisories/GHSA-665w-mwrr-77q3 web
- https://nvd.nist.gov/vuln/detail/CVE-2024-37169 advisory
- https://github.com/jasonraimondi/url-to-png/issues/47 web
- https://github.com/jasonraimondi/url-to-png/commit/9336020c5e603323f5cf4a2ac3bb9a7735cf61f7 web
- https://github.com/jasonraimondi/url-to-png package
- https://github.com/jasonraimondi/url-to-png/releases/tag/v2.0.3 web
- https://github.com/user-attachments/files/15536336/Arbitrary.File.Read.via.Playwright.s.Screenshot.Feature.Exploiting.File.Wrapper.pdf web