GSD-2021-23631
Vulnerability from gsd - Updated: 2023-12-13 01:23Details
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.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2021-23631",
"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.",
"id": "GSD-2021-23631"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2021-23631"
],
"details": "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.",
"id": "GSD-2021-23631",
"modified": "2023-12-13T01:23:29.705460Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"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": "\u003e=",
"version_value": "0"
}
]
}
}
]
},
"vendor_name": "n/a"
},
{
"product": {
"product_data": [
{
"product_name": "convert-svg-to-png",
"version": {
"version_data": [
{
"version_affected": "\u003e=",
"version_value": "0"
}
]
}
}
]
},
"vendor_name": "n/a"
},
{
"product": {
"product_data": [
{
"product_name": "convert-svg-to-jpeg",
"version": {
"version_data": [
{
"version_affected": "\u003e=",
"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"
}
]
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003c=0.5.0",
"affected_versions": "All versions up to 0.5.0",
"cvss_v2": "AV:N/AC:L/Au:N/C:P/I:N/A:N",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"cwe_ids": [
"CWE-1035",
"CWE-22",
"CWE-937"
],
"date": "2022-01-27",
"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.",
"fixed_versions": [],
"identifier": "CVE-2021-23631",
"identifiers": [
"CVE-2021-23631"
],
"not_impacted": "",
"package_slug": "npm/convert-svg-core",
"pubdate": "2022-01-21",
"solution": "Unfortunately, there is no solution available yet.",
"title": "Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-23631",
"https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-1582785",
"https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOPNG-2348244",
"https://gist.github.com/legndery/a248350bb25b8502a03c2f407cedeb14",
"https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOJPEG-2348245"
],
"uuid": "4b450e31-443c-432b-b4f4-bf48190807cd"
},
{
"affected_range": "\u003c=0.5.0",
"affected_versions": "All versions up to 0.5.0",
"cvss_v2": "AV:N/AC:L/Au:N/C:P/I:N/A:N",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"cwe_ids": [
"CWE-1035",
"CWE-22",
"CWE-937"
],
"date": "2022-01-27",
"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.",
"fixed_versions": [],
"identifier": "CVE-2021-23631",
"identifiers": [
"GHSA-jv7g-9g6q-cxvw",
"CVE-2021-23631"
],
"not_impacted": "",
"package_slug": "npm/convert-svg-to-jpeg",
"pubdate": "2022-01-27",
"solution": "Unfortunately, there is no solution available yet.",
"title": "Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-23631",
"https://gist.github.com/legndery/a248350bb25b8502a03c2f407cedeb14",
"https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-1582785",
"https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOJPEG-2348245",
"https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOPNG-2348244",
"https://github.com/advisories/GHSA-jv7g-9g6q-cxvw"
],
"uuid": "f6b2e0ec-847f-4b61-885c-8eaf649f2ca3"
},
{
"affected_range": "\u003c=0.5.0",
"affected_versions": "All versions up to 0.5.0",
"cvss_v2": "AV:N/AC:L/Au:N/C:P/I:N/A:N",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"cwe_ids": [
"CWE-1035",
"CWE-22",
"CWE-937"
],
"date": "2022-01-27",
"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.",
"fixed_versions": [],
"identifier": "CVE-2021-23631",
"identifiers": [
"GHSA-jv7g-9g6q-cxvw",
"CVE-2021-23631"
],
"not_impacted": "",
"package_slug": "npm/convert-svg-to-png",
"pubdate": "2022-01-27",
"solution": "Unfortunately, there is no solution available yet.",
"title": "Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-23631",
"https://gist.github.com/legndery/a248350bb25b8502a03c2f407cedeb14",
"https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-1582785",
"https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOJPEG-2348245",
"https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOPNG-2348244",
"https://github.com/advisories/GHSA-jv7g-9g6q-cxvw"
],
"uuid": "b6271b7d-d24e-4995-8a70-d9318257c290"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:convert-svg-core_project:convert-svg-core:*:*:*:*:*:node.js:*:*",
"cpe_name": [],
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "report@snyk.io",
"ID": "CVE-2021-23631"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"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."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-22"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "N/A",
"refsource": "CONFIRM",
"tags": [
"Exploit",
"Third Party Advisory"
],
"url": "https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-1582785"
},
{
"name": "N/A",
"refsource": "CONFIRM",
"tags": [
"Exploit",
"Third Party Advisory"
],
"url": "https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOPNG-2348244"
},
{
"name": "N/A",
"refsource": "CONFIRM",
"tags": [
"Exploit",
"Third Party Advisory"
],
"url": "https://gist.github.com/legndery/a248350bb25b8502a03c2f407cedeb14"
},
{
"name": "N/A",
"refsource": "CONFIRM",
"tags": [
"Exploit",
"Third Party Advisory"
],
"url": "https://snyk.io/vuln/SNYK-JS-CONVERTSVGTOJPEG-2348245"
}
]
}
},
"impact": {
"baseMetricV2": {
"acInsufInfo": false,
"cvssV2": {
"accessComplexity": "LOW",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "NONE",
"baseScore": 5.0,
"confidentialityImpact": "PARTIAL",
"integrityImpact": "NONE",
"vectorString": "AV:N/AC:L/Au:N/C:P/I:N/A:N",
"version": "2.0"
},
"exploitabilityScore": 10.0,
"impactScore": 2.9,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"severity": "MEDIUM",
"userInteractionRequired": false
},
"baseMetricV3": {
"cvssV3": {
"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",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6
}
},
"lastModifiedDate": "2022-01-27T19:03Z",
"publishedDate": "2022-01-21T20:15Z"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…