GSD-2017-17042
Vulnerability from gsd - Updated: 2017-11-28 00:00Details
lib/yard/core_ext/file.rb in the server in YARD before 0.9.11 does not block
relative paths with an initial ../ sequence, which allows attackers to conduct
directory traversal attacks and read arbitrary files.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2017-17042",
"description": "lib/yard/core_ext/file.rb in the server in YARD before 0.9.11 does not block relative paths with an initial ../ sequence, which allows attackers to conduct directory traversal attacks and read arbitrary files.",
"id": "GSD-2017-17042",
"references": [
"https://www.suse.com/security/cve/CVE-2017-17042.html"
]
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"affected": [
{
"package": {
"ecosystem": "RubyGems",
"name": "yard",
"purl": "pkg:gem/yard"
}
}
],
"aliases": [
"CVE-2017-17042",
"GHSA-gj4p-3wh3-2rmf"
],
"details": "lib/yard/core_ext/file.rb in the server in YARD before 0.9.11 does not block\nrelative paths with an initial ../ sequence, which allows attackers to conduct\ndirectory traversal attacks and read arbitrary files.\n",
"id": "GSD-2017-17042",
"modified": "2017-11-28T00:00:00.000Z",
"published": "2017-11-28T00:00:00.000Z",
"references": [
{
"type": "WEB",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-17042"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": 5.0,
"type": "CVSS_V2"
},
{
"score": 7.5,
"type": "CVSS_V3"
}
],
"summary": "Potential arbitrary file read vulnerability in yard server"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2017-17042",
"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": "lib/yard/core_ext/file.rb in the server in YARD before 0.9.11 does not block relative paths with an initial ../ sequence, which allows attackers to conduct directory traversal attacks and read arbitrary files."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "n/a"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/lsegal/yard/commit/b0217b3e30dc53d057b1682506333335975e62b4",
"refsource": "CONFIRM",
"url": "https://github.com/lsegal/yard/commit/b0217b3e30dc53d057b1682506333335975e62b4"
}
]
}
},
"github.com/rubysec/ruby-advisory-db": {
"cve": "2017-17042",
"cvss_v2": 5.0,
"cvss_v3": 7.5,
"date": "2017-11-28",
"description": "lib/yard/core_ext/file.rb in the server in YARD before 0.9.11 does not block\nrelative paths with an initial ../ sequence, which allows attackers to conduct\ndirectory traversal attacks and read arbitrary files.\n",
"gem": "yard",
"ghsa": "gj4p-3wh3-2rmf",
"patched_versions": [
"\u003e= 0.9.11"
],
"title": "Potential arbitrary file read vulnerability in yard server",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-17042"
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003c0.9.11",
"affected_versions": "All versions before 0.9.11",
"credit": "Loren Segal",
"cvss_v2": "AV:N/AC:L/Au:N/C:P/I:N/A:N",
"cvss_v3": "CVSS:3.0/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": "2017-12-20",
"description": "`lib/yard/core_ext/file.rb` does not block relative paths with an initial `../` sequence, which allows attackers to conduct directory traversal attacks and read arbitrary files.",
"fixed_versions": [
"0.9.11"
],
"identifier": "CVE-2017-17042",
"identifiers": [
"CVE-2017-17042"
],
"package_slug": "gem/yard",
"pubdate": "2017-11-28",
"solution": "Upgrade to 0.9.11 or above",
"title": "Directory traversal",
"urls": [
"https://github.com/lsegal/yard/commit/b0217b3e30dc53d057b1682506333335975e62b4",
"https://nvd.nist.gov/vuln/detail/CVE-2017-17042"
],
"uuid": "d880c991-d2e7-44b7-8e57-6e41eb18e8e0"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:yardoc:yard:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "0.9.11",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2017-17042"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "lib/yard/core_ext/file.rb in the server in YARD before 0.9.11 does not block relative paths with an initial ../ sequence, which allows attackers to conduct directory traversal attacks and read arbitrary files."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-22"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/lsegal/yard/commit/b0217b3e30dc53d057b1682506333335975e62b4",
"refsource": "CONFIRM",
"tags": [
"Patch"
],
"url": "https://github.com/lsegal/yard/commit/b0217b3e30dc53d057b1682506333335975e62b4"
}
]
}
},
"impact": {
"baseMetricV2": {
"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.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"version": "3.0"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6
}
},
"lastModifiedDate": "2017-12-20T20:58Z",
"publishedDate": "2017-11-28T20: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…