Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/63596?format=api",
    "purl": "pkg:gem/rack@3.0.0.0",
    "type": "gem",
    "namespace": "",
    "name": "rack",
    "version": "3.0.0.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.0.4.1",
    "latest_non_vulnerable_version": "3.2.5",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44226?format=api",
            "vulnerability_id": "VCID-ebb6-b5tx-5bhf",
            "summary": "Duplicate\nThis advisory duplicates another.",
            "references": [
                {
                    "reference_url": "https://discuss.rubyonrails.org/t/cve-2022-44571-possible-denial-of-service-vulnerability-in-rack-content-disposition-parsing/82126",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://discuss.rubyonrails.org/t/cve-2022-44571-possible-denial-of-service-vulnerability-in-rack-content-disposition-parsing/82126"
                },
                {
                    "reference_url": "https://github.com/rack/rack/releases/tag/v3.0.4.1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/rack/rack/releases/tag/v3.0.4.1"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-44571",
                    "reference_id": "CVE-2022-44571",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-44571"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-93pm-5p5f-3ghx",
                    "reference_id": "GHSA-93pm-5p5f-3ghx",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-93pm-5p5f-3ghx"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/63600?format=api",
                    "purl": "pkg:gem/rack@3.0.4.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack@3.0.4.1"
                }
            ],
            "aliases": [
                "CVE-2022-44571",
                "GHSA-93pm-5p5f-3ghx",
                "GMS-2023-65"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ebb6-b5tx-5bhf"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44225?format=api",
            "vulnerability_id": "VCID-mgx9-9bua-37f3",
            "summary": "Duplicate\nThis advisory duplicates another.",
            "references": [
                {
                    "reference_url": "https://discuss.rubyonrails.org/t/cve-2022-44570-possible-denial-of-service-vulnerability-in-racks-range-header-parsing/82125",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://discuss.rubyonrails.org/t/cve-2022-44570-possible-denial-of-service-vulnerability-in-racks-range-header-parsing/82125"
                },
                {
                    "reference_url": "https://github.com/rack/rack",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/rack/rack"
                },
                {
                    "reference_url": "https://github.com/rack/rack/releases/tag/v3.0.4.1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/rack/rack/releases/tag/v3.0.4.1"
                },
                {
                    "reference_url": "https://security.netapp.com/advisory/ntap-20231208-0010",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.netapp.com/advisory/ntap-20231208-0010"
                },
                {
                    "reference_url": "https://www.debian.org/security/2023/dsa-5530",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.debian.org/security/2023/dsa-5530"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-44570",
                    "reference_id": "CVE-2022-44570",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-44570"
                },
                {
                    "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2022-44570.yml",
                    "reference_id": "CVE-2022-44570.YML",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2022-44570.yml"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-65f5-mfpf-vfhj",
                    "reference_id": "GHSA-65f5-mfpf-vfhj",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-65f5-mfpf-vfhj"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/63600?format=api",
                    "purl": "pkg:gem/rack@3.0.4.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack@3.0.4.1"
                }
            ],
            "aliases": [
                "CVE-2022-44570",
                "GHSA-65f5-mfpf-vfhj",
                "GMS-2023-64"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mgx9-9bua-37f3"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack@3.0.0.0"
}