Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/57550?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/57550?format=api", "purl": "pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.2.5.RELEASE", "type": "maven", "namespace": "org.springframework.security.oauth", "name": "spring-security-oauth2", "version": "2.2.5.RELEASE", "qualifiers": {}, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "2.2.6.RELEASE", "latest_non_vulnerable_version": "2.5.2.RELEASE", "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/57548?format=api", "purl": "pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.0.18.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.18.RELEASE" }, { "url": "http://public2.vulnerablecode.io/api/packages/57549?format=api", "purl": "pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.1.5.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.5.RELEASE" }, { "url": "http://public2.vulnerablecode.io/api/packages/57550?format=api", "purl": "pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.2.5.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.5.RELEASE" }, { "url": "http://public2.vulnerablecode.io/api/packages/57551?format=api", "purl": "pkg:maven/org.springframework.security.oauth/spring-security-oauth2@2.3.6.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.6.RELEASE" } ], "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-oauth2@2.2.5.RELEASE" }