GSD-2017-1000208
Vulnerability from gsd - Updated: 2023-12-13 01:21Details
A vulnerability in Swagger-Parser's (version <= 1.0.30) yaml parsing functionality results in arbitrary code being executed when a maliciously crafted yaml Open-API specification is parsed. This in particular, affects the 'generate' and 'validate' command in swagger-codegen (<= 2.2.2) and can lead to arbitrary code being executed when these commands are used on a well-crafted yaml specification.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2017-1000208",
"description": "A vulnerability in Swagger-Parser\u0027s (version \u003c= 1.0.30) yaml parsing functionality results in arbitrary code being executed when a maliciously crafted yaml Open-API specification is parsed. This in particular, affects the \u0027generate\u0027 and \u0027validate\u0027 command in swagger-codegen (\u003c= 2.2.2) and can lead to arbitrary code being executed when these commands are used on a well-crafted yaml specification.",
"id": "GSD-2017-1000208"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2017-1000208"
],
"details": "A vulnerability in Swagger-Parser\u0027s (version \u003c= 1.0.30) yaml parsing functionality results in arbitrary code being executed when a maliciously crafted yaml Open-API specification is parsed. This in particular, affects the \u0027generate\u0027 and \u0027validate\u0027 command in swagger-codegen (\u003c= 2.2.2) and can lead to arbitrary code being executed when these commands are used on a well-crafted yaml specification.",
"id": "GSD-2017-1000208",
"modified": "2023-12-13T01:21:02.195640Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"DATE_ASSIGNED": "2017-08-22T17:29:33.436985",
"ID": "CVE-2017-1000208",
"REQUESTER": "mmo@semmle.com",
"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": "A vulnerability in Swagger-Parser\u0027s (version \u003c= 1.0.30) yaml parsing functionality results in arbitrary code being executed when a maliciously crafted yaml Open-API specification is parsed. This in particular, affects the \u0027generate\u0027 and \u0027validate\u0027 command in swagger-codegen (\u003c= 2.2.2) and can lead to arbitrary code being executed when these commands are used on a well-crafted yaml specification."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "n/a"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://lgtm.com/blog/swagger_snakeyaml_CVE-2017-1000207_CVE-2017-1000208",
"refsource": "MISC",
"url": "https://lgtm.com/blog/swagger_snakeyaml_CVE-2017-1000207_CVE-2017-1000208"
},
{
"name": "https://github.com/swagger-api/swagger-parser/releases/tag/v1.0.31",
"refsource": "CONFIRM",
"url": "https://github.com/swagger-api/swagger-parser/releases/tag/v1.0.31"
}
]
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "(,2.2.2]",
"affected_versions": "All versions up to 2.2.2",
"cvss_v2": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
"cvss_v3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-502",
"CWE-937"
],
"date": "2019-10-03",
"description": "A vulnerability in this package can lead to arbitrary code being executed when these commands are used on a well-crafted yaml specification.",
"fixed_versions": [
"2.2.3"
],
"identifier": "CVE-2017-1000208",
"identifiers": [
"CVE-2017-1000208"
],
"not_impacted": "All versions after 2.2.2",
"package_slug": "maven/io.swagger/swagger-codegen-project",
"pubdate": "2017-11-17",
"solution": "Upgrade to version 2.2.3 or above.",
"title": "Deserialization of Untrusted Data",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2017-1000208"
],
"uuid": "713a842d-5913-4303-baff-e48adbf267b3"
},
{
"affected_range": "(,2.2.2)",
"affected_versions": "All versions before 2.2.2",
"cvss_v2": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
"cvss_v3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-502",
"CWE-78",
"CWE-937"
],
"date": "2021-09-16",
"description": "A vulnerability in Swagger-Parser\u0027s (version \u003c= 1.0.30) yaml parsing functionality results in arbitrary code being executed when a maliciously crafted yaml Open-API specification is parsed. This in particular, affects the \u0027generate\u0027 and \u0027validate\u0027 command in swagger-codegen (\u003c= 2.2.2) and can lead to arbitrary code being executed when these commands are used on a well-crafted yaml specification.",
"fixed_versions": [
"2.2.2"
],
"identifier": "CVE-2017-1000208",
"identifiers": [
"GHSA-q7pf-qr96-2vq5",
"CVE-2017-1000208"
],
"not_impacted": "All versions starting from 2.2.2",
"package_slug": "maven/io.swagger/swagger-codegen",
"pubdate": "2018-10-19",
"solution": "Upgrade to version 2.2.2 or above.",
"title": "Deserialization of Untrusted Data",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2017-1000208",
"https://github.com/advisories/GHSA-q7pf-qr96-2vq5",
"https://github.com/swagger-api/swagger-parser/releases/tag/v1.0.31"
],
"uuid": "5c39d2c3-2c40-430f-b65b-70985c37210f"
},
{
"affected_range": "(,1.0.31)",
"affected_versions": "All versions before 1.0.31",
"cvss_v2": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
"cvss_v3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-502",
"CWE-78",
"CWE-937"
],
"date": "2021-09-16",
"description": "A vulnerability in Swagger-Parser\u0027s (version \u003c= 1.0.30) yaml parsing functionality results in arbitrary code being executed when a maliciously crafted yaml Open-API specification is parsed. This in particular, affects the \u0027generate\u0027 and \u0027validate\u0027 command in swagger-codegen (\u003c= 2.2.2) and can lead to arbitrary code being executed when these commands are used on a well-crafted yaml specification.",
"fixed_versions": [
"1.0.31"
],
"identifier": "CVE-2017-1000208",
"identifiers": [
"GHSA-q7pf-qr96-2vq5",
"CVE-2017-1000208"
],
"not_impacted": "All versions starting from 1.0.31",
"package_slug": "maven/io.swagger/swagger-parser",
"pubdate": "2018-10-19",
"solution": "Upgrade to version 1.0.31 or above.",
"title": "Deserialization of Untrusted Data",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2017-1000208",
"https://github.com/advisories/GHSA-q7pf-qr96-2vq5",
"https://github.com/swagger-api/swagger-parser/releases/tag/v1.0.31"
],
"uuid": "042601f8-8159-42bc-ac19-0cfde0b1d9e6"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:swagger:swagger-parser:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndIncluding": "1.0.30",
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:a:swagger:swagger-codegen:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndIncluding": "2.2.2",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2017-1000208"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "A vulnerability in Swagger-Parser\u0027s (version \u003c= 1.0.30) yaml parsing functionality results in arbitrary code being executed when a maliciously crafted yaml Open-API specification is parsed. This in particular, affects the \u0027generate\u0027 and \u0027validate\u0027 command in swagger-codegen (\u003c= 2.2.2) and can lead to arbitrary code being executed when these commands are used on a well-crafted yaml specification."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-502"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/swagger-api/swagger-parser/releases/tag/v1.0.31",
"refsource": "CONFIRM",
"tags": [
"Release Notes"
],
"url": "https://github.com/swagger-api/swagger-parser/releases/tag/v1.0.31"
},
{
"name": "https://lgtm.com/blog/swagger_snakeyaml_CVE-2017-1000207_CVE-2017-1000208",
"refsource": "MISC",
"tags": [
"Third Party Advisory"
],
"url": "https://lgtm.com/blog/swagger_snakeyaml_CVE-2017-1000207_CVE-2017-1000208"
}
]
}
},
"impact": {
"baseMetricV2": {
"cvssV2": {
"accessComplexity": "MEDIUM",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "PARTIAL",
"baseScore": 6.8,
"confidentialityImpact": "PARTIAL",
"integrityImpact": "PARTIAL",
"vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
"version": "2.0"
},
"exploitabilityScore": 8.6,
"impactScore": 6.4,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"severity": "MEDIUM",
"userInteractionRequired": true
},
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 8.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"version": "3.0"
},
"exploitabilityScore": 2.8,
"impactScore": 5.9
}
},
"lastModifiedDate": "2019-10-03T00:03Z",
"publishedDate": "2017-11-17T02: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…