GSD-2017-16833
Vulnerability from gsd - Updated: 2017-07-11 00:00Details
Stored cross-site scripting (XSS) vulnerability in Gemirro allows
attackers to inject arbitrary web script via a crafted JavaScript URL
in the "homepage" value of a ".gemspec" file.
A ".gemspec" file must be created with a JavaScript URL in the homepage
value. This can be used to build a gem for upload to the Gemirro server,
in order to achieve stored XSS via the author name hyperlink.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2017-16833",
"description": "Stored cross-site scripting (XSS) vulnerability in Gemirro before 0.16.0 allows attackers to inject arbitrary web script via a crafted javascript: URL in the \"homepage\" value of a \".gemspec\" file.",
"id": "GSD-2017-16833"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"affected": [
{
"package": {
"ecosystem": "RubyGems",
"name": "gemirro",
"purl": "pkg:gem/gemirro"
}
}
],
"aliases": [
"CVE-2017-16833",
"GHSA-x7p2-x2j6-mwhr"
],
"details": "Stored cross-site scripting (XSS) vulnerability in Gemirro allows\nattackers to inject arbitrary web script via a crafted JavaScript URL\nin the \"homepage\" value of a \".gemspec\" file.\n\nA \".gemspec\" file must be created with a JavaScript URL in the homepage\nvalue. This can be used to build a gem for upload to the Gemirro server,\nin order to achieve stored XSS via the author name hyperlink.\n",
"id": "GSD-2017-16833",
"modified": "2017-07-11T00:00:00.000Z",
"published": "2017-07-11T00:00:00.000Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/PierreRambaud/gemirro/commit/9659f9b7ce15a723da8e361bd41b9203b19c97de"
},
{
"type": "WEB",
"url": "https://github.com/PierreRambaud/gemirro/commit/8acfb9ce9774128d535e2795d583242bb86d6ea8"
},
{
"type": "WEB",
"url": "https://github.com/PierreRambaud/gemirro/commit/8fa709b121b7e18fceda308917d0fb68dc1479c3"
},
{
"type": "WEB",
"url": "https://rubygems.org/gems/gemirro/versions/0.15.0"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": 6.1,
"type": "CVSS_V3"
}
],
"summary": "Stored XSS in \"gemirro\" via injection in Gemspec \"homepage\" value"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2017-16833",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "n/a",
"version": {
"version_data": [
{
"version_value": "n/a"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "Stored cross-site scripting (XSS) vulnerability in Gemirro before 0.16.0 allows attackers to inject arbitrary web script via a crafted javascript: URL in the \"homepage\" value of a \".gemspec\" file."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "n/a"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/PierreRambaud/gemirro/commit/9659f9b7ce15a723da8e361bd41b9203b19c97de",
"refsource": "CONFIRM",
"url": "https://github.com/PierreRambaud/gemirro/commit/9659f9b7ce15a723da8e361bd41b9203b19c97de"
}
]
}
},
"github.com/rubysec/ruby-advisory-db": {
"cve": "2017-16833",
"cvss_v3": 6.1,
"date": "2017-07-11",
"description": "Stored cross-site scripting (XSS) vulnerability in Gemirro allows\nattackers to inject arbitrary web script via a crafted JavaScript URL\nin the \"homepage\" value of a \".gemspec\" file.\n\nA \".gemspec\" file must be created with a JavaScript URL in the homepage\nvalue. This can be used to build a gem for upload to the Gemirro server,\nin order to achieve stored XSS via the author name hyperlink.\n",
"gem": "gemirro",
"ghsa": "x7p2-x2j6-mwhr",
"patched_versions": [
"\u003e= 0.15.0"
],
"related": {
"url": [
"https://github.com/PierreRambaud/gemirro/commit/8acfb9ce9774128d535e2795d583242bb86d6ea8",
"https://github.com/PierreRambaud/gemirro/commit/8fa709b121b7e18fceda308917d0fb68dc1479c3",
"https://rubygems.org/gems/gemirro/versions/0.15.0"
]
},
"title": "Stored XSS in \"gemirro\" via injection in Gemspec \"homepage\" value",
"url": "https://github.com/PierreRambaud/gemirro/commit/9659f9b7ce15a723da8e361bd41b9203b19c97de"
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003c0.16.0",
"affected_versions": "All versions before 0.16.0",
"cvss_v2": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"cwe_ids": [
"CWE-1035",
"CWE-79",
"CWE-937"
],
"date": "2020-03-10",
"description": "A stored cross-site scripting (XSS) vulnerability in Gemirro allows attackers to inject arbitrary web script via a crafted javascript in the URL in the `homepage` value of a `.gemspec` file.",
"fixed_versions": [
"0.16.0"
],
"identifier": "CVE-2017-16833",
"identifiers": [
"CVE-2017-16833"
],
"not_impacted": "All versions starting from 0.16.0",
"package_slug": "gem/gemirro",
"pubdate": "2017-11-15",
"solution": "Upgrade to version 0.16.0 or above.",
"title": "Cross-site Scripting",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2017-16833"
],
"uuid": "b5df2936-43c4-407d-b1f6-03d75ce8d281"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:gemirro_project:gemirro:*:*:*:*:*:ruby:*:*",
"cpe_name": [],
"versionEndExcluding": "0.16.0",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2017-16833"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "Stored cross-site scripting (XSS) vulnerability in Gemirro before 0.16.0 allows attackers to inject arbitrary web script via a crafted javascript: URL in the \"homepage\" value of a \".gemspec\" file."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-79"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/PierreRambaud/gemirro/commit/9659f9b7ce15a723da8e361bd41b9203b19c97de",
"refsource": "CONFIRM",
"tags": [
"Third Party Advisory",
"Patch"
],
"url": "https://github.com/PierreRambaud/gemirro/commit/9659f9b7ce15a723da8e361bd41b9203b19c97de"
}
]
}
},
"impact": {
"baseMetricV2": {
"cvssV2": {
"accessComplexity": "MEDIUM",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "NONE",
"baseScore": 4.3,
"confidentialityImpact": "NONE",
"integrityImpact": "PARTIAL",
"vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
"version": "2.0"
},
"exploitabilityScore": 8.6,
"impactScore": 2.9,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"severity": "MEDIUM",
"userInteractionRequired": true
},
"baseMetricV3": {
"cvssV3": {
"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
}
},
"lastModifiedDate": "2020-03-10T13:11Z",
"publishedDate": "2017-11-15T09:29Z"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
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…