{ "id": "CVE-2017-1000207", "sourceIdentifier": "cve@mitre.org", "published": "2017-11-27T15:29:00.303", "lastModified": "2019-10-03T00:03:26.223", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "A vulnerability in Swagger-Parser's version <= 1.0.30 and Swagger codegen version <= 2.2.2 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." }, { "lang": "es", "value": "Una vulnerabilidad en la funcionalidad de an\u00e1lisis sint\u00e1ctico yaml en versiones iguales o anteriores a la 1.0.30 de Swagger-Parser y las versiones iguales o anteriores a la 2.2.2 de Swagger codegen resulta en la ejecuci\u00f3n de c\u00f3digo arbitrario cuando se analiza una especificaci\u00f3n yaml Open-API maliciosamente manipulada. En este caso en particular, afecta a los comandos \"generate\" y \"validate\" en swagger-codegen (versiones 2.2.2 y anteriores) y puede provocar que se ejecute c\u00f3digo arbitrario cuando se utilicen estos comandos en una especificaci\u00f3n de yaml especialmente manipulada." } ], "metrics": { "cvssMetricV30": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.0", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 8.8, "baseSeverity": "HIGH" }, "exploitabilityScore": 2.8, "impactScore": 5.9 } ], "cvssMetricV2": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "2.0", "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P", "accessVector": "NETWORK", "accessComplexity": "MEDIUM", "authentication": "NONE", "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "baseScore": 6.8 }, "baseSeverity": "MEDIUM", "exploitabilityScore": 8.6, "impactScore": 6.4, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": true } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-502" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:swagger:swagger-codegen:*:*:*:*:*:*:*:*", "versionEndIncluding": "2.2.2", "matchCriteriaId": "19533E03-1A1C-4341-850D-1B521E22A1FE" }, { "vulnerable": true, "criteria": "cpe:2.3:a:swagger:swagger-parser:*:*:*:*:*:*:*:*", "versionEndIncluding": "1.0.30", "matchCriteriaId": "20F013ED-574E-4E3D-9320-386127494259" } ] } ] } ], "references": [ { "url": "https://github.com/swagger-api/swagger-parser/pull/481", "source": "cve@mitre.org", "tags": [ "Issue Tracking" ] }, { "url": "https://lgtm.com/blog/swagger_snakeyaml_CVE-2017-1000207_CVE-2017-1000208", "source": "cve@mitre.org", "tags": [ "Third Party Advisory" ] } ] }