Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/80359?format=api",
    "purl": "pkg:maven/com.vaadin/vaadin-bom@10.0.17",
    "type": "maven",
    "namespace": "com.vaadin",
    "name": "vaadin-bom",
    "version": "10.0.17",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "10.0.19",
    "latest_non_vulnerable_version": "20.0.6",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/54373?format=api",
            "vulnerability_id": "VCID-tywj-48df-uqcb",
            "summary": "Cross-Site Request Forgery (CSRF) in com.vaadin:vaadin-bom.",
            "references": [
                {
                    "reference_url": "https://github.com/vaadin/platform",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.0",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/vaadin/platform"
                },
                {
                    "reference_url": "https://vaadin.com/security/cve-2021-31404",
                    "reference_id": "CVE-2021-31404",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.0",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://vaadin.com/security/cve-2021-31404"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-c6c4-7x48-4cqp",
                    "reference_id": "GHSA-c6c4-7x48-4cqp",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-c6c4-7x48-4cqp"
                },
                {
                    "reference_url": "https://github.com/vaadin/platform/security/advisories/GHSA-c6c4-7x48-4cqp",
                    "reference_id": "GHSA-c6c4-7x48-4cqp",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.0",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/vaadin/platform/security/advisories/GHSA-c6c4-7x48-4cqp"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/80359?format=api",
                    "purl": "pkg:maven/com.vaadin/vaadin-bom@10.0.17",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.vaadin/vaadin-bom@10.0.17"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/80360?format=api",
                    "purl": "pkg:maven/com.vaadin/vaadin-bom@14.4.7",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-cuep-9tpy-zfbp"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.vaadin/vaadin-bom@14.4.7"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/80361?format=api",
                    "purl": "pkg:maven/com.vaadin/vaadin-bom@18.0.6",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-93dy-76qc-8fb7"
                        },
                        {
                            "vulnerability": "VCID-tmht-98ed-a3fq"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.vaadin/vaadin-bom@18.0.6"
                }
            ],
            "aliases": [
                "GHSA-c6c4-7x48-4cqp",
                "GMS-2021-67"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-tywj-48df-uqcb"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.vaadin/vaadin-bom@10.0.17"
}