Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/523844?format=api",
    "purl": "pkg:composer/lexik/jwt-authentication-bundle@1.2.0",
    "type": "composer",
    "namespace": "lexik",
    "name": "jwt-authentication-bundle",
    "version": "1.2.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.10.7",
    "latest_non_vulnerable_version": "2.11.3",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/54497?format=api",
            "vulnerability_id": "VCID-27h5-qade-nqg9",
            "summary": "User enumeration in authentication mechanisms\nThe ability to enumerate users was possible without relevant permissions due to different exception messages depending on whether the user existed or not.",
            "references": [
                {
                    "reference_url": "https://github.com/lexik/LexikJWTAuthenticationBundle",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/lexik/LexikJWTAuthenticationBundle"
                },
                {
                    "reference_url": "https://github.com/lexik/LexikJWTAuthenticationBundle/commit/a175d6dab968d93e96a3e4f80c495435f71d5eb7",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/lexik/LexikJWTAuthenticationBundle/commit/a175d6dab968d93e96a3e4f80c495435f71d5eb7"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-2frx-j9hj-6c65",
                    "reference_id": "GHSA-2frx-j9hj-6c65",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "LOW",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-2frx-j9hj-6c65"
                },
                {
                    "reference_url": "https://github.com/lexik/LexikJWTAuthenticationBundle/security/advisories/GHSA-2frx-j9hj-6c65",
                    "reference_id": "GHSA-2frx-j9hj-6c65",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "LOW",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        },
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/lexik/LexikJWTAuthenticationBundle/security/advisories/GHSA-2frx-j9hj-6c65"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/80765?format=api",
                    "purl": "pkg:composer/lexik/jwt-authentication-bundle@2.10.7",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/lexik/jwt-authentication-bundle@2.10.7"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/80766?format=api",
                    "purl": "pkg:composer/lexik/jwt-authentication-bundle@2.11.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/lexik/jwt-authentication-bundle@2.11.3"
                }
            ],
            "aliases": [
                "GHSA-2frx-j9hj-6c65",
                "GMS-2021-53"
            ],
            "risk_score": 1.4,
            "exploitability": "0.5",
            "weighted_severity": "2.7",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-27h5-qade-nqg9"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "1.4",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/lexik/jwt-authentication-bundle@1.2.0"
}