GSD-2020-36644
Vulnerability from gsd - Updated: 2023-01-07 00:00{
"GSD": {
"alias": "CVE-2020-36644",
"id": "GSD-2020-36644"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"affected": [
{
"package": {
"ecosystem": "RubyGems",
"name": "inline_svg",
"purl": "pkg:gem/inline_svg"
}
}
],
"aliases": [
"CVE-2020-36644",
"GHSA-p33q-4h4m-j994"
],
"details": "A vulnerability has been found in jamesmartin Inline SVG up to 1.7.1\nand classified as problematic. Affected by this vulnerability is an unknown functionality\nof the file `lib/inline_svg/action_view/helpers.rb` of the component `URL Parameter\nHandler`. The manipulation of the argument filename leads to cross site scripting.\nThe attack can be launched remotely. Upgrading to version 1.7.2 is able to address\nthis issue. The name of the patch is f5363b351508486021f99e083c92068cf2943621. It\nis recommended to upgrade the affected component. The identifier VDB-217597 was\nassigned to this vulnerability.\n",
"id": "GSD-2020-36644",
"modified": "2023-01-07T00:00:00.000Z",
"published": "2023-01-07T00:00:00.000Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/jamesmartin/inline_svg/pull/117"
},
{
"type": "WEB",
"url": "https://github.com/jamesmartin/inline_svg/commit/f5363b351508486021f99e083c92068cf2943621"
},
{
"type": "WEB",
"url": "https://github.com/jamesmartin/inline_svg/releases/tag/v1.7.2"
},
{
"type": "WEB",
"url": "https://vuldb.com/?id.217597"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": 6.1,
"type": "CVSS_V3"
}
],
"summary": "Inline SVG vulnerable to Cross-site Scripting"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "cna@vuldb.com",
"ID": "CVE-2020-36644",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "Inline SVG",
"version": {
"version_data": [
{
"version_affected": "=",
"version_value": "1.7.0"
},
{
"version_affected": "=",
"version_value": "1.7.1"
}
]
}
}
]
},
"vendor_name": "jamesmartin"
}
]
}
},
"credits": [
{
"lang": "en",
"value": "VulDB GitHub Commit Analyzer"
}
],
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "A vulnerability has been found in jamesmartin Inline SVG up to 1.7.1 and classified as problematic. Affected by this vulnerability is an unknown functionality of the file lib/inline_svg/action_view/helpers.rb of the component URL Parameter Handler. The manipulation of the argument filename leads to cross site scripting. The attack can be launched remotely. Upgrading to version 1.7.2 is able to address this issue. The identifier of the patch is f5363b351508486021f99e083c92068cf2943621. It is recommended to upgrade the affected component. The identifier VDB-217597 was assigned to this vulnerability."
},
{
"lang": "deu",
"value": "In jamesmartin Inline SVG bis 1.7.1 wurde eine Schwachstelle gefunden. Sie wurde als problematisch eingestuft. Betroffen ist eine unbekannte Verarbeitung der Datei lib/inline_svg/action_view/helpers.rb der Komponente URL Parameter Handler. Mittels Manipulieren des Arguments filename mit unbekannten Daten kann eine cross site scripting-Schwachstelle ausgenutzt werden. Der Angriff kann \u00fcber das Netzwerk passieren. Ein Aktualisieren auf die Version 1.7.2 vermag dieses Problem zu l\u00f6sen. Der Patch wird als f5363b351508486021f99e083c92068cf2943621 bezeichnet. Als bestm\u00f6gliche Massnahme wird das Einspielen eines Upgrades empfohlen."
}
]
},
"impact": {
"cvss": [
{
"baseScore": 3.5,
"baseSeverity": "LOW",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N",
"version": "3.1"
},
{
"baseScore": 3.5,
"baseSeverity": "LOW",
"vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N",
"version": "3.0"
},
{
"baseScore": 4,
"vectorString": "AV:N/AC:L/Au:S/C:N/I:P/A:N",
"version": "2.0"
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"cweId": "CWE-79",
"lang": "eng",
"value": "CWE-79 Cross Site Scripting"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://vuldb.com/?id.217597",
"refsource": "MISC",
"url": "https://vuldb.com/?id.217597"
},
{
"name": "https://vuldb.com/?ctiid.217597",
"refsource": "MISC",
"url": "https://vuldb.com/?ctiid.217597"
},
{
"name": "https://github.com/jamesmartin/inline_svg/pull/117",
"refsource": "MISC",
"url": "https://github.com/jamesmartin/inline_svg/pull/117"
},
{
"name": "https://github.com/jamesmartin/inline_svg/commit/f5363b351508486021f99e083c92068cf2943621",
"refsource": "MISC",
"url": "https://github.com/jamesmartin/inline_svg/commit/f5363b351508486021f99e083c92068cf2943621"
},
{
"name": "https://github.com/jamesmartin/inline_svg/releases/tag/v1.7.2",
"refsource": "MISC",
"url": "https://github.com/jamesmartin/inline_svg/releases/tag/v1.7.2"
}
]
}
},
"github.com/rubysec/ruby-advisory-db": {
"cve": "2020-36644",
"cvss_v3": 6.1,
"date": "2023-01-07",
"description": "A vulnerability has been found in jamesmartin Inline SVG up to 1.7.1\nand classified as problematic. Affected by this vulnerability is an unknown functionality\nof the file `lib/inline_svg/action_view/helpers.rb` of the component `URL Parameter\nHandler`. The manipulation of the argument filename leads to cross site scripting.\nThe attack can be launched remotely. Upgrading to version 1.7.2 is able to address\nthis issue. The name of the patch is f5363b351508486021f99e083c92068cf2943621. It\nis recommended to upgrade the affected component. The identifier VDB-217597 was\nassigned to this vulnerability.\n",
"gem": "inline_svg",
"ghsa": "p33q-4h4m-j994",
"patched_versions": [
"\u003e= 1.7.2"
],
"related": {
"url": [
"https://github.com/jamesmartin/inline_svg/commit/f5363b351508486021f99e083c92068cf2943621",
"https://github.com/jamesmartin/inline_svg/releases/tag/v1.7.2",
"https://vuldb.com/?id.217597"
]
},
"title": "Inline SVG vulnerable to Cross-site Scripting",
"url": "https://github.com/jamesmartin/inline_svg/pull/117"
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003c1.7.2",
"affected_versions": "All versions before 1.7.2",
"cwe_ids": [
"CWE-1035",
"CWE-79",
"CWE-937"
],
"date": "2023-01-09",
"description": "A vulnerability has been found in jamesmartin Inline SVG up to 1.7.1 and classified as problematic. Affected by this vulnerability is an unknown functionality of the file lib/inline_svg/action_view/helpers.rb of the component URL Parameter Handler. The manipulation of the argument filename leads to cross site scripting. The attack can be launched remotely. Upgrading to version 1.7.2 is able to address this issue. The name of the patch is f5363b351508486021f99e083c92068cf2943621. It is recommended to upgrade the affected component. The identifier VDB-217597 was assigned to this vulnerability.",
"fixed_versions": [
"1.7.2"
],
"identifier": "CVE-2020-36644",
"identifiers": [
"GHSA-p33q-4h4m-j994",
"CVE-2020-36644"
],
"not_impacted": "All versions starting from 1.7.2",
"package_slug": "gem/inline_svg",
"pubdate": "2023-01-07",
"solution": "Upgrade to version 1.7.2 or above.",
"title": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2020-36644",
"https://github.com/jamesmartin/inline_svg/pull/117",
"https://github.com/jamesmartin/inline_svg/commit/f5363b351508486021f99e083c92068cf2943621",
"https://github.com/jamesmartin/inline_svg/releases/tag/v1.7.2",
"https://vuldb.com/?ctiid.217597",
"https://vuldb.com/?id.217597",
"https://github.com/advisories/GHSA-p33q-4h4m-j994"
],
"uuid": "1cc87481-052f-423b-9f04-39f8200d2a1e"
}
]
},
"nvd.nist.gov": {
"cve": {
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:inline_svg_project:inline_svg:*:*:*:*:*:*:*:*",
"matchCriteriaId": "7741CA72-12D1-4538-A079-E2EC3D4BF377",
"versionEndExcluding": "1.7.2",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "A vulnerability has been found in jamesmartin Inline SVG up to 1.7.1 and classified as problematic. Affected by this vulnerability is an unknown functionality of the file lib/inline_svg/action_view/helpers.rb of the component URL Parameter Handler. The manipulation of the argument filename leads to cross site scripting. The attack can be launched remotely. Upgrading to version 1.7.2 is able to address this issue. The identifier of the patch is f5363b351508486021f99e083c92068cf2943621. It is recommended to upgrade the affected component. The identifier VDB-217597 was assigned to this vulnerability."
},
{
"lang": "es",
"value": "Una vulnerabilidad ha sido encontrada en jamesmartin Inline SVG hasta 1.7.1 y clasificada como problem\u00e1tica. Una funci\u00f3n desconocida del archivo lib/inline_svg/action_view/helpers.rb del componente URL Parameter Handler es afectada por esta vulnerabilidad. La manipulaci\u00f3n del argumento nombre de archivo conduce a cross site scripting. El ataque se puede lanzar de forma remota. La actualizaci\u00f3n a la versi\u00f3n 1.7.2 puede solucionar este problema. El identificador del parche es f5363b351508486021f99e083c92068cf2943621. Se recomienda actualizar el componente afectado. A esta vulnerabilidad se le asign\u00f3 el identificador VDB-217597."
}
],
"id": "CVE-2020-36644",
"lastModified": "2024-04-11T01:08:43.263",
"metrics": {
"cvssMetricV2": [
{
"acInsufInfo": false,
"baseSeverity": "MEDIUM",
"cvssData": {
"accessComplexity": "LOW",
"accessVector": "NETWORK",
"authentication": "SINGLE",
"availabilityImpact": "NONE",
"baseScore": 4.0,
"confidentialityImpact": "NONE",
"integrityImpact": "PARTIAL",
"vectorString": "AV:N/AC:L/Au:S/C:N/I:P/A:N",
"version": "2.0"
},
"exploitabilityScore": 8.0,
"impactScore": 2.9,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"source": "cna@vuldb.com",
"type": "Secondary",
"userInteractionRequired": false
}
],
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.1,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"version": "3.1"
},
"exploitabilityScore": 2.8,
"impactScore": 2.7,
"source": "nvd@nist.gov",
"type": "Primary"
},
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 3.5,
"baseSeverity": "LOW",
"confidentialityImpact": "NONE",
"integrityImpact": "LOW",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N",
"version": "3.1"
},
"exploitabilityScore": 2.1,
"impactScore": 1.4,
"source": "cna@vuldb.com",
"type": "Secondary"
}
]
},
"published": "2023-01-07T10:15:09.417",
"references": [
{
"source": "cna@vuldb.com",
"tags": [
"Patch"
],
"url": "https://github.com/jamesmartin/inline_svg/commit/f5363b351508486021f99e083c92068cf2943621"
},
{
"source": "cna@vuldb.com",
"tags": [
"Patch"
],
"url": "https://github.com/jamesmartin/inline_svg/pull/117"
},
{
"source": "cna@vuldb.com",
"tags": [
"Release Notes"
],
"url": "https://github.com/jamesmartin/inline_svg/releases/tag/v1.7.2"
},
{
"source": "cna@vuldb.com",
"tags": [
"Third Party Advisory",
"VDB Entry"
],
"url": "https://vuldb.com/?ctiid.217597"
},
{
"source": "cna@vuldb.com",
"tags": [
"Third Party Advisory",
"VDB Entry"
],
"url": "https://vuldb.com/?id.217597"
}
],
"sourceIdentifier": "cna@vuldb.com",
"vulnStatus": "Modified",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-79"
}
],
"source": "cna@vuldb.com",
"type": "Primary"
}
]
}
}
}
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
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.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.