Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/70812?format=api",
    "purl": "pkg:gem/rack@3.2.3",
    "type": "gem",
    "namespace": "",
    "name": "rack",
    "version": "3.2.3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "3.2.5",
    "latest_non_vulnerable_version": "3.2.5",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/48004?format=api",
            "vulnerability_id": "VCID-3jru-u17n-tyg1",
            "summary": "Rack has a Possible Information Disclosure Vulnerability\nA possible information disclosure vulnerability existed in `Rack::Sendfile` when running behind a proxy that supports `x-sendfile` headers (such as Nginx). Specially crafted headers could cause `Rack::Sendfile` to miscommunicate with the proxy and trigger unintended internal requests, potentially bypassing proxy-level access restrictions.",
            "references": [
                {
                    "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/commit/57277b7741581fa827472c5c666f6e6a33abd784",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/rack/rack/commit/57277b7741581fa827472c5c666f6e6a33abd784"
                },
                {
                    "reference_url": "https://github.com/rack/rack/commit/7e69f65eefe9cd2868df9f9f3b0977b86f93523a",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/rack/rack/commit/7e69f65eefe9cd2868df9f9f3b0977b86f93523a"
                },
                {
                    "reference_url": "https://github.com/rack/rack/commit/fba2c8bc63eb787ff4b19bc612d315fda6126d85",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/rack/rack/commit/fba2c8bc63eb787ff4b19bc612d315fda6126d85"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-61780",
                    "reference_id": "CVE-2025-61780",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-61780"
                },
                {
                    "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2025-61780.yml",
                    "reference_id": "CVE-2025-61780.YML",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2025-61780.yml"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-r657-rxjc-j557",
                    "reference_id": "GHSA-r657-rxjc-j557",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-r657-rxjc-j557"
                },
                {
                    "reference_url": "https://github.com/rack/rack/security/advisories/GHSA-r657-rxjc-j557",
                    "reference_id": "GHSA-r657-rxjc-j557",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/rack/rack/security/advisories/GHSA-r657-rxjc-j557"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/70810?format=api",
                    "purl": "pkg:gem/rack@2.2.20",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack@2.2.20"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/70811?format=api",
                    "purl": "pkg:gem/rack@3.1.18",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack@3.1.18"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/70812?format=api",
                    "purl": "pkg:gem/rack@3.2.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack@3.2.3"
                }
            ],
            "aliases": [
                "CVE-2025-61780",
                "GHSA-r657-rxjc-j557"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-3jru-u17n-tyg1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/48000?format=api",
            "vulnerability_id": "VCID-e11g-k7zm-vkhu",
            "summary": "Rack is vulnerable to a memory-exhaustion DoS through unbounded URL-encoded body parsing\n`Rack::Request#POST` reads the entire request body into memory for `Content-Type: application/x-www-form-urlencoded`, calling `rack.input.read(nil)` without enforcing a length or cap. Large request bodies can therefore be buffered completely into process memory before parsing, leading to denial of service (DoS) through memory exhaustion.",
            "references": [
                {
                    "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/commit/4e2c903991a790ee211a3021808ff4fd6fe82881",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/rack/rack/commit/4e2c903991a790ee211a3021808ff4fd6fe82881"
                },
                {
                    "reference_url": "https://github.com/rack/rack/commit/cbd541e8a3d0c5830a3c9a30d3718ce2e124f9db",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/rack/rack/commit/cbd541e8a3d0c5830a3c9a30d3718ce2e124f9db"
                },
                {
                    "reference_url": "https://github.com/rack/rack/commit/e179614c4a653283286f5f046428cbb85f21146f",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/rack/rack/commit/e179614c4a653283286f5f046428cbb85f21146f"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-61919",
                    "reference_id": "CVE-2025-61919",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-61919"
                },
                {
                    "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2025-61919.yml",
                    "reference_id": "CVE-2025-61919.YML",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2025-61919.yml"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-6xw4-3v39-52mm",
                    "reference_id": "GHSA-6xw4-3v39-52mm",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-6xw4-3v39-52mm"
                },
                {
                    "reference_url": "https://github.com/rack/rack/security/advisories/GHSA-6xw4-3v39-52mm",
                    "reference_id": "GHSA-6xw4-3v39-52mm",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/rack/rack/security/advisories/GHSA-6xw4-3v39-52mm"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/70810?format=api",
                    "purl": "pkg:gem/rack@2.2.20",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack@2.2.20"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/70811?format=api",
                    "purl": "pkg:gem/rack@3.1.18",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack@3.1.18"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/70812?format=api",
                    "purl": "pkg:gem/rack@3.2.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack@3.2.3"
                }
            ],
            "aliases": [
                "CVE-2025-61919",
                "GHSA-6xw4-3v39-52mm"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-e11g-k7zm-vkhu"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rack@3.2.3"
}