Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/54980?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/54980?format=api", "purl": "pkg:npm/cordova-android@6.1.2", "type": "npm", "namespace": "", "name": "cordova-android", "version": "6.1.2", "qualifiers": {}, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "5.3.0-nightly.2016.6.30.103e1e8d", "latest_non_vulnerable_version": "6.1.2", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/39370?format=api", "vulnerability_id": "VCID-cnn5-65rm-8qat", "summary": "Channel Accessible by Non-Endpoint (Man-in-the-Middle)\nAfter the Android platform is added to Cordova the first time, or after a project is created using the build scripts, the scripts will fetch Gradle on the first build. However, since the default URI is not using https, it is vulnerable to a MiTM and the Gradle executable is not safe.", "references": [ { "reference_url": "https://cordova.apache.org/announcements/2017/01/27/android-612.html", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cordova.apache.org/announcements/2017/01/27/android-612.html" }, { "reference_url": "http://www.securityfocus.com/bid/95838", "reference_id": "", "reference_type": "", "scores": [], "url": "http://www.securityfocus.com/bid/95838" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-3160", "reference_id": "CVE-2017-3160", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-3160" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/54980?format=api", "purl": "pkg:npm/cordova-android@6.1.2", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/cordova-android@6.1.2" } ], "aliases": [ "CVE-2017-3160" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-cnn5-65rm-8qat" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/cordova-android@6.1.2" }