Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/274607?format=api",
    "purl": "pkg:maven/org.ops4j.pax.logging/pax-logging-log4j2@1.10.10",
    "type": "maven",
    "namespace": "org.ops4j.pax.logging",
    "name": "pax-logging-log4j2",
    "version": "1.10.10",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.11.13",
    "latest_non_vulnerable_version": "2.0.14",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/11768?format=api",
            "vulnerability_id": "VCID-gnhu-4afv-pfhy",
            "summary": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in org.ops4j.pax.logging:pax-logging-log4j2.",
            "references": [
                {
                    "reference_url": "https://github.com/ops4j/org.ops4j.pax.logging",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/ops4j/org.ops4j.pax.logging"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-jfh8-c2jp-5v3q",
                    "reference_id": "GHSA-jfh8-c2jp-5v3q",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-jfh8-c2jp-5v3q"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-xxfh-x98p-j8fr",
                    "reference_id": "GHSA-xxfh-x98p-j8fr",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-xxfh-x98p-j8fr"
                },
                {
                    "reference_url": "https://github.com/ops4j/org.ops4j.pax.logging/security/advisories/GHSA-xxfh-x98p-j8fr",
                    "reference_id": "GHSA-xxfh-x98p-j8fr",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/ops4j/org.ops4j.pax.logging/security/advisories/GHSA-xxfh-x98p-j8fr"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/42079?format=api",
                    "purl": "pkg:maven/org.ops4j.pax.logging/pax-logging-log4j2@1.11.10",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-8977-tjss-w7ba"
                        },
                        {
                            "vulnerability": "VCID-r67p-yqg2-9bbq"
                        },
                        {
                            "vulnerability": "VCID-sjuz-dd96-sqe3"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.ops4j.pax.logging/pax-logging-log4j2@1.11.10"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/42080?format=api",
                    "purl": "pkg:maven/org.ops4j.pax.logging/pax-logging-log4j2@2.0.11",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-8977-tjss-w7ba"
                        },
                        {
                            "vulnerability": "VCID-r67p-yqg2-9bbq"
                        },
                        {
                            "vulnerability": "VCID-sjuz-dd96-sqe3"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.ops4j.pax.logging/pax-logging-log4j2@2.0.11"
                }
            ],
            "aliases": [
                "GHSA-xxfh-x98p-j8fr",
                "GMS-2021-75"
            ],
            "risk_score": 4.5,
            "exploitability": "0.5",
            "weighted_severity": "9.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-gnhu-4afv-pfhy"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.5",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.ops4j.pax.logging/pax-logging-log4j2@1.10.10"
}