Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/56778?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/56778?format=api", "purl": "pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.0.16.RELEASE", "type": "maven", "namespace": "org.springframework.security.oauth", "name": "spring-security-oauth2", "version": "2.0.16.RELEASE", "qualifiers": {}, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "2.0.18.RELEASE", "latest_non_vulnerable_version": "2.5.2.RELEASE", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40342?format=api", "vulnerability_id": "VCID-pbvw-fs16-67bq", "summary": "Improper Privilege Management\nSpring Security OAuth are susceptible to a privilege escalation under certain conditions. A malicious user or attacker can craft a request to the approval endpoint that can modify the previously saved authorization request and lead to a privilege escalation on the subsequent approval.", "references": [ { "reference_url": "http://www.securityfocus.com/bid/105687", "reference_id": "", "reference_type": "", "scores": [], "url": "http://www.securityfocus.com/bid/105687" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-15758", "reference_id": "CVE-2018-15758", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-15758" }, { "reference_url": "https://pivotal.io/security/cve-2018-15758", "reference_id": "CVE-2018-15758", "reference_type": "", "scores": [], "url": "https://pivotal.io/security/cve-2018-15758" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/56778?format=api", "purl": "pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.0.16.RELEASE", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.0.16.RELEASE" }, { "url": "http://public2.vulnerablecode.io/api/packages/56779?format=api", "purl": "pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.1.3.RELEASE", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.1.3.RELEASE" }, { "url": "http://public2.vulnerablecode.io/api/packages/56780?format=api", "purl": "pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.2.3.RELEASE", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.2.3.RELEASE" }, { "url": "http://public2.vulnerablecode.io/api/packages/56781?format=api", "purl": "pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.3.4.RELEASE", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.3.4.RELEASE" } ], "aliases": [ "CVE-2018-15758" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-pbvw-fs16-67bq" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.0.16.RELEASE" }