Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/57593?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/57593?format=api", "purl": "pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.2.4", "type": "maven", "namespace": "org.springframework.security.oauth", "name": "spring-security-oauth", "version": "2.2.4", "qualifiers": {}, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "2.2.5", "latest_non_vulnerable_version": "2.5.2", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40807?format=api", "vulnerability_id": "VCID-1ndm-y1m9-3feg", "summary": "URL Redirection to Untrusted Site\nSpring Security OAuth could be susceptible to an open redirector attack that can leak an authorization code. A malicious user or attacker can craft a request to the authorization endpoint using the authorization code grant type, and specify a manipulated redirection URI via the `redirect_uri` parameter. This can cause the authorization server to redirect the resource owner user-agent to a URI under the control of the attacker with the leaked authorization code. This vulnerability exposes applications that meet all of the following requirements: Act in the role of an Authorization Server (e.g. `@EnableAuthorizationServer`) and uses the `DefaultRedirectResolver` in the `AuthorizationEndpoint`. This vulnerability does not expose applications that: Act in the role of an Authorization Server and uses a different `RedirectResolver` implementation other than DefaultRedirectResolver, act in the role of a Resource Server only (e.g. `@EnableResourceServer`), act in the role of a Client only (e.g. `@EnableOAuthClient`).", "references": [ { "reference_url": "http://www.securityfocus.com/bid/107153", "reference_id": "", "reference_type": "", "scores": [], "url": "http://www.securityfocus.com/bid/107153" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-3778", "reference_id": "CVE-2019-3778", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-3778" }, { "reference_url": "https://pivotal.io/security/cve-2019-3778", "reference_id": "CVE-2019-3778", "reference_type": "", "scores": [], "url": "https://pivotal.io/security/cve-2019-3778" }, { "reference_url": "https://github.com/advisories/GHSA-77rv-6vfw-x4gc", "reference_id": "GHSA-77rv-6vfw-x4gc", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-77rv-6vfw-x4gc" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/57591?format=api", "purl": "pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.0.17", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.0.17" }, { "url": "http://public2.vulnerablecode.io/api/packages/57592?format=api", "purl": "pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.1.4", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.1.4" }, { "url": "http://public2.vulnerablecode.io/api/packages/57593?format=api", "purl": "pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.2.4", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.2.4" }, { "url": "http://public2.vulnerablecode.io/api/packages/57594?format=api", "purl": "pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.3.5", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.3.5" } ], "aliases": [ "CVE-2019-3778", "GHSA-77rv-6vfw-x4gc" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1ndm-y1m9-3feg" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security.oauth/spring-security-oauth@2.2.4" }