{"id":"CVE-2021-23631","published":"2022-01-21T20:05:23Z","modified":"2024-09-16T18:07:59Z","title":"Directory Traversal","vendor":null,"product":null,"tier":"tail","description":{"text":"This affects all versions of package convert-svg-core; all versions of package convert-svg-to-png; all versions of package convert-svg-to-jpeg. Using a specially crafted SVG file, an attacker could 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.02044,"percentile":0.81495,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-1582785","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOPNG-2348244","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOJPEG-2348245","tags":["x_refsource_MISC"]},{"url":"https://gist.github.com/legndery/a248350bb25b8502a03c2f407cedeb14","tags":["x_refsource_MISC"]}],"priority":{"score":21.5,"factors":[{"name":"EPSS percentile","points":16.3},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"convert-svg-core","versions":["< unspecified"]},{"vendor":"n/a","product":"convert-svg-to-png","versions":["< unspecified"]},{"vendor":"n/a","product":"convert-svg-to-jpeg","versions":["< unspecified"]}],"affected":[{"ecosystem":"npm","package":"convert-svg-core","vulnerableRanges":["<=0.5.0"],"patched":[],"from":["GHSA-jv7g-9g6q-cxvw"],"provenance":"source"},{"ecosystem":"npm","package":"convert-svg-to-png","vulnerableRanges":["<=0.5.0"],"patched":[],"from":["GHSA-jv7g-9g6q-cxvw"],"provenance":"source"},{"ecosystem":"npm","package":"convert-svg-to-jpeg","vulnerableRanges":["<=0.5.0"],"patched":[],"from":["GHSA-jv7g-9g6q-cxvw"],"provenance":"source"}],"euvd":{"id":"EUVD-2022-0637","exploited":false,"provenance":"source"}}