{"id":"CVE-2021-23631","state":"PUBLISHED","title":"Directory Traversal","description":"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.","publishedAt":"2022-01-21T20:05:23.621Z","updatedAt":"2024-09-16T18:07:59.806Z","severity":{"score":7.5,"label":"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","source":"snyk"},"assigner":"snyk","products":["n/a convert-svg-core","n/a convert-svg-to-png","n/a convert-svg-to-jpeg"],"affected":[{"vendor":"n/a","product":"convert-svg-core","versions":[{"version":"0","status":"affected","lessThan":"unspecified","versionType":"custom"}]},{"vendor":"n/a","product":"convert-svg-to-png","versions":[{"version":"0","status":"affected","lessThan":"unspecified","versionType":"custom"}]},{"vendor":"n/a","product":"convert-svg-to-jpeg","versions":[{"version":"0","status":"affected","lessThan":"unspecified","versionType":"custom"}]}],"references":["https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-1582785","https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOPNG-2348244","https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOJPEG-2348245","https://gist.github.com/legndery/a248350bb25b8502a03c2f407cedeb14"],"weaknesses":[],"ingestedAt":"2026-10-29T19:48:04.982Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/23xxx/CVE-2021-23631.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-23631","state":"PUBLISHED","datePublished":"2022-01-21T20:05:23.621Z","dateUpdated":"2024-09-16T18:07:59.806Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2021-01-08T00:00:00.000Z"},"containers":{"cna":{"title":"Directory Traversal","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"convert-svg-core","versions":[{"version":"0","status":"affected","lessThan":"unspecified","versionType":"custom"}]},{"vendor":"n/a","product":"convert-svg-to-png","versions":[{"version":"0","status":"affected","lessThan":"unspecified","versionType":"custom"}]},{"vendor":"n/a","product":"convert-svg-to-jpeg","versions":[{"version":"0","status":"affected","lessThan":"unspecified","versionType":"custom"}]}],"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"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","exploitCodeMaturity":"PROOF_OF_CONCEPT","integrityImpact":"NONE","privilegesRequired":"NONE","remediationLevel":"NOT_DEFINED","reportConfidence":"NOT_DEFINED","scope":"UNCHANGED","temporalScore":7.1,"temporalSeverity":"HIGH","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","version":"3.1"}}],"problemTypes":[{"descriptions":[{"description":"Directory Traversal","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"snyk","dateUpdated":"2022-01-21T20:05:23.000Z","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730"},"credits":[{"lang":"en","value":"Aritra Chakraborty"}],"datePublic":"2022-01-21T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2022-01-21T20:00:12.184036Z","ID":"CVE-2021-23631","STATE":"PUBLIC","TITLE":"Directory Traversal"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"convert-svg-core","version":{"version_data":[{"version_affected":">=","version_value":"0"}]}}]},"vendor_name":"n/a"},{"product":{"product_data":[{"product_name":"convert-svg-to-png","version":{"version_data":[{"version_affected":">=","version_value":"0"}]}}]},"vendor_name":"n/a"},{"product":{"product_data":[{"product_name":"convert-svg-to-jpeg","version":{"version_data":[{"version_affected":">=","version_value":"0"}]}}]},"vendor_name":"n/a"}]}},"credit":[{"lang":"eng","value":"Aritra Chakraborty"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Directory Traversal"}]}]},"references":{"reference_data":[{"name":"https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-1582785","refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-1582785"},{"name":"https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOPNG-2348244","refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOPNG-2348244"},{"name":"https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOJPEG-2348245","refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOJPEG-2348245"},{"name":"https://gist.github.com/legndery/a248350bb25b8502a03c2f407cedeb14","refsource":"MISC","url":"https://gist.github.com/legndery/a248350bb25b8502a03c2f407cedeb14"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-1582785","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOPNG-2348244","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOJPEG-2348245","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://gist.github.com/legndery/a248350bb25b8502a03c2f407cedeb14","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T19:14:09.144Z"}}]}}}