Lookup for vulnerable packages by Package URL.

GET /api/packages/61398?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/packages/61398?format=api",
    "purl": "pkg:maven/org.springframework/spring-core@5.2.21",
    "type": "maven",
    "namespace": "org.springframework",
    "name": "spring-core",
    "version": "5.2.21",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "5.2.22.RELEASE",
    "latest_non_vulnerable_version": "6.2.11",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42925?format=api",
            "vulnerability_id": "VCID-cfmp-m8jn-uqg4",
            "summary": "Improper Handling of Case Sensitivity\nIn Spring Framework versions 5.3.0 - 5.3.18, 5.2.0 - 5.2.20, and older unsupported versions, the patterns for disallowedFields on a DataBinder are case sensitive which means a field is not effectively protected unless it is listed with both upper and lower case for the first character of the field, including upper and lower case for the first character of all nested fields within the property path.",
            "references": [
                {
                    "reference_url": "https://github.com/spring-projects/spring-framework/commit/833e750175349ab4fd502109a8b41af77e25cdea",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/spring-projects/spring-framework/commit/833e750175349ab4fd502109a8b41af77e25cdea"
                },
                {
                    "reference_url": "https://github.com/spring-projects/spring-framework/commit/a7cf19cec5ebd270f97a194d749e2d5701ad2ab7",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/spring-projects/spring-framework/commit/a7cf19cec5ebd270f97a194d749e2d5701ad2ab7"
                },
                {
                    "reference_url": "https://security.netapp.com/advisory/ntap-20220602-0004/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.netapp.com/advisory/ntap-20220602-0004/"
                },
                {
                    "reference_url": "https://www.oracle.com/security-alerts/cpujul2022.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.oracle.com/security-alerts/cpujul2022.html"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-22968",
                    "reference_id": "CVE-2022-22968",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-22968"
                },
                {
                    "reference_url": "https://tanzu.vmware.com/security/cve-2022-22968",
                    "reference_id": "CVE-2022-22968",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://tanzu.vmware.com/security/cve-2022-22968"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-g5mm-vmx4-3rg7",
                    "reference_id": "GHSA-g5mm-vmx4-3rg7",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-g5mm-vmx4-3rg7"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/61398?format=api",
                    "purl": "pkg:maven/org.springframework/spring-core@5.2.21",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-core@5.2.21"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/61399?format=api",
                    "purl": "pkg:maven/org.springframework/spring-core@5.3.19",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-core@5.3.19"
                }
            ],
            "aliases": [
                "CVE-2022-22968",
                "GHSA-g5mm-vmx4-3rg7"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-cfmp-m8jn-uqg4"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-core@5.2.21"
}