{"id":"CVE-2022-24429","published":"2022-06-10T20:00:38Z","modified":"2024-09-17T01:50:44Z","title":"Arbitrary Code Injection","vendor":null,"product":null,"tier":"tail","description":{"text":"The package convert-svg-core before 0.6.3 are vulnerable to Arbitrary Code Injection when using a specially crafted SVG file. An attacker can read arbitrary files from the file system and then show the file content as a converted PNG file.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00914,"percentile":0.6097,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-2859212","tags":["x_refsource_MISC"]},{"url":"https://github.com/neocotic/convert-svg/issues/84","tags":["x_refsource_MISC"]},{"url":"https://github.com/neocotic/convert-svg/commit/a43dffaab0f1e419d5be84e2e7356b86ffac3cf1","tags":["x_refsource_MISC"]}],"priority":{"score":17.4,"factors":[{"name":"EPSS percentile","points":12.19},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"convert-svg-core","versions":[">= unspecified, < 0.6.3"]}],"affected":[{"ecosystem":"npm","package":"convert-svg-core","vulnerableRanges":["<0.6.3"],"patched":["0.6.3"],"from":["GHSA-54px-mhwv-5v8x"],"provenance":"source"}],"summary":{"text":"The vulnerability affects the convert-svg-core package before version 0.6.3, where specially crafted SVG input can lead to arbitrary code injection. An attacker who supplies a malicious SVG file can read arbitrary files from the file system and expose their contents in a converted PNG, and this requires no privileges, no user interaction, and only network access to deliver the file.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:45:27Z"},"euvd":{"id":"EUVD-2022-5930","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-convert-svg-core-cve-2022-24278","children":[{"from":"CVE-2022-24429","to":"CVE-2022-24278","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:convert-svg-core","fromFixed":"0.6.3","toFixed":"0.6.4","daysApart":0},{"kind":"same-code","provenance":"machine","files":["packages/convert-svg-core/src/Converter.js"],"commits":["https://github.com/neocotic/convert-svg/commit/2bbc498c5029238637206661dbac9e44d37d17c5","https://github.com/neocotic/convert-svg/commit/a43dffaab0f1e419d5be84e2e7356b86ffac3cf1"],"basis":"shared function","functions":["Converter"]},{"kind":"similar","provenance":"machine","score":0.61,"basis":"same package + description similarity"}]},{"from":"CVE-2022-24429","to":"CVE-2022-25759","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/convert-svg-core/src/Converter.js"],"commits":["https://github.com/neocotic/convert-svg/commit/a43dffaab0f1e419d5be84e2e7356b86ffac3cf1","https://github.com/neocotic/convert-svg/commit/7e6031ac7427cf82cf312cb4a25040f2e6efe7a5"],"basis":"shared function","functions":["Converter","Symbol","getBackgroundColor"]},{"kind":"similar","provenance":"machine","score":0.65,"basis":"same package + description similarity"}]}],"packageHistory":[{"cve":"CVE-2022-25759","published":"2022-07-22","fixed":"0.6.2","kev":false},{"cve":"CVE-2022-24429","published":"2022-06-10","fixed":"0.6.3","kev":false},{"cve":"CVE-2022-24278","published":"2022-06-10","fixed":"0.6.4","kev":false}],"package":"npm:convert-svg-core"}}