Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/64711?format=api",
    "purl": "pkg:maven/org.springframework/spring-core@5.2.24.RELEASE",
    "type": "maven",
    "namespace": "org.springframework",
    "name": "spring-core",
    "version": "5.2.24.RELEASE",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "5.3.14",
    "latest_non_vulnerable_version": "6.2.11",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44942?format=api",
            "vulnerability_id": "VCID-ehpw-txyw-auh6",
            "summary": "Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')\nIn spring framework versions prior to 5.2.24 release+,5.3.27+ and 6.0.8+, it is possible for a user to provide a specially crafted SpEL expression that may cause a denial-of-service (DoS) condition.",
            "references": [
                {
                    "reference_url": "https://github.com/spring-projects/spring-framework/commit/b73f5fcac22555f844cf27a7eeb876cb9d7f7f7e",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/spring-projects/spring-framework/commit/b73f5fcac22555f844cf27a7eeb876cb9d7f7f7e"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-20863",
                    "reference_id": "CVE-2023-20863",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-20863"
                },
                {
                    "reference_url": "https://spring.io/security/cve-2023-20863",
                    "reference_id": "CVE-2023-20863",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://spring.io/security/cve-2023-20863"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-wxqc-pxw9-g2p8",
                    "reference_id": "GHSA-wxqc-pxw9-g2p8",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-wxqc-pxw9-g2p8"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64711?format=api",
                    "purl": "pkg:maven/org.springframework/spring-core@5.2.24.RELEASE",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-core@5.2.24.RELEASE"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64709?format=api",
                    "purl": "pkg:maven/org.springframework/spring-core@5.3.27",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-core@5.3.27"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64710?format=api",
                    "purl": "pkg:maven/org.springframework/spring-core@6.0.8",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-core@6.0.8"
                }
            ],
            "aliases": [
                "CVE-2023-20863",
                "GHSA-wxqc-pxw9-g2p8"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ehpw-txyw-auh6"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-core@5.2.24.RELEASE"
}