{"id":"CVE-2024-37169","state":"PUBLISHED","title":"@jmondi/url-to-png arbitrary file read via Playwright's screenshot feature exploiting file wrapper","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.","publishedAt":"2024-06-10T21:35:38.198Z","updatedAt":"2024-08-02T03:50:55.256Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["jasonraimondi url-to-png"],"affected":[{"vendor":"jasonraimondi","product":"url-to-png","versions":[{"version":"< 2.0.3","status":"affected"}]}],"references":["https://github.com/jasonraimondi/url-to-png/security/advisories/GHSA-665w-mwrr-77q3","https://github.com/jasonraimondi/url-to-png/issues/47","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"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:07:30.303Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/37xxx/CVE-2024-37169.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-37169","state":"PUBLISHED","datePublished":"2024-06-10T21:35:38.198Z","dateUpdated":"2024-08-02T03:50:55.256Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-06-03T17:29:38.331Z"},"containers":{"cna":{"title":"@jmondi/url-to-png arbitrary file read via Playwright's screenshot feature exploiting file wrapper","descriptions":[{"lang":"en","value":"@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":[{"vendor":"jasonraimondi","product":"url-to-png","versions":[{"version":"< 2.0.3","status":"affected"}]}],"references":[{"url":"https://github.com/jasonraimondi/url-to-png/security/advisories/GHSA-665w-mwrr-77q3","name":"https://github.com/jasonraimondi/url-to-png/security/advisories/GHSA-665w-mwrr-77q3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jasonraimondi/url-to-png/issues/47","name":"https://github.com/jasonraimondi/url-to-png/issues/47","tags":["x_refsource_MISC"]},{"url":"https://github.com/jasonraimondi/url-to-png/commit/9336020c5e603323f5cf4a2ac3bb9a7735cf61f7","name":"https://github.com/jasonraimondi/url-to-png/commit/9336020c5e603323f5cf4a2ac3bb9a7735cf61f7","tags":["x_refsource_MISC"]},{"url":"https://github.com/jasonraimondi/url-to-png/releases/tag/v2.0.3","name":"https://github.com/jasonraimondi/url-to-png/releases/tag/v2.0.3","tags":["x_refsource_MISC"]},{"url":"https://github.com/user-attachments/files/15536336/Arbitrary.File.Read.via.Playwright.s.Screenshot.Feature.Exploiting.File.Wrapper.pdf","name":"https://github.com/user-attachments/files/15536336/Arbitrary.File.Read.via.Playwright.s.Screenshot.Feature.Exploiting.File.Wrapper.pdf","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-06-10T21:35:38.198Z"},"source":{"advisory":"GHSA-665w-mwrr-77q3","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"jasonraimondi","product":"url-to-png","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"2.0.3","versionType":"custom"}],"cpes":["cpe:2.3:a:jasonraimondi:url-to-png:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-11T17:56:01.581318Z","id":"CVE-2024-37169","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-24T15:18:33.030Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/jasonraimondi/url-to-png/security/advisories/GHSA-665w-mwrr-77q3","name":"https://github.com/jasonraimondi/url-to-png/security/advisories/GHSA-665w-mwrr-77q3","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/jasonraimondi/url-to-png/issues/47","name":"https://github.com/jasonraimondi/url-to-png/issues/47","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/jasonraimondi/url-to-png/commit/9336020c5e603323f5cf4a2ac3bb9a7735cf61f7","name":"https://github.com/jasonraimondi/url-to-png/commit/9336020c5e603323f5cf4a2ac3bb9a7735cf61f7","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/jasonraimondi/url-to-png/releases/tag/v2.0.3","name":"https://github.com/jasonraimondi/url-to-png/releases/tag/v2.0.3","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/user-attachments/files/15536336/Arbitrary.File.Read.via.Playwright.s.Screenshot.Feature.Exploiting.File.Wrapper.pdf","name":"https://github.com/user-attachments/files/15536336/Arbitrary.File.Read.via.Playwright.s.Screenshot.Feature.Exploiting.File.Wrapper.pdf","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T03:50:55.256Z"}}]}}}