Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/937465?format=api",
    "purl": "pkg:deb/debian/rails@2.3.5-1?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "rails",
    "version": "2.3.5-1",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.3.11-0.1",
    "latest_non_vulnerable_version": "2:7.2.3.1+dfsg-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/8468?format=api",
            "vulnerability_id": "VCID-4zhj-en7h-3yaz",
            "summary": "Improper Authentication\nThe example code for the digest authentication functionality (http_authentication.rb) in Ruby on Rails before 2.3.3 defines an authenticate_or_request_with_http_digest block that returns nil instead of false when the user does not exist, which allows context-dependent attackers to bypass authentication for applications that are derived from this example by sending an invalid username without a password.",
            "references": [
                {
                    "reference_url": "http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html"
                },
                {
                    "reference_url": "http://n8.tumblr.com/post/117477059/security-hole-found-in-rails-2-3s",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://n8.tumblr.com/post/117477059/security-hole-found-in-rails-2-3s"
                },
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2009-2422.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2009-2422.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2009-2422",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00403",
                            "scoring_system": "epss",
                            "scoring_elements": "0.60898",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00403",
                            "scoring_system": "epss",
                            "scoring_elements": "0.60917",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00403",
                            "scoring_system": "epss",
                            "scoring_elements": "0.60779",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00403",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6093",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00403",
                            "scoring_system": "epss",
                            "scoring_elements": "0.60946",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00403",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6094",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00403",
                            "scoring_system": "epss",
                            "scoring_elements": "0.60909",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00403",
                            "scoring_system": "epss",
                            "scoring_elements": "0.60893",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00403",
                            "scoring_system": "epss",
                            "scoring_elements": "0.60844",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00403",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6088",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00403",
                            "scoring_system": "epss",
                            "scoring_elements": "0.60852",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00403",
                            "scoring_system": "epss",
                            "scoring_elements": "0.60931",
                            "published_at": "2026-04-11T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2009-2422"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2422",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2422"
                },
                {
                    "reference_url": "http://secunia.com/advisories/35702",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://secunia.com/advisories/35702"
                },
                {
                    "reference_url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/51528",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/51528"
                },
                {
                    "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2009-2422.yml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2009-2422.yml"
                },
                {
                    "reference_url": "http://support.apple.com/kb/HT4077",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://support.apple.com/kb/HT4077"
                },
                {
                    "reference_url": "https://web.archive.org/web/20090711160153/http://secunia.com/advisories/35702",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://web.archive.org/web/20090711160153/http://secunia.com/advisories/35702"
                },
                {
                    "reference_url": "https://web.archive.org/web/20200229192617/http://www.securityfocus.com/bid/35579",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://web.archive.org/web/20200229192617/http://www.securityfocus.com/bid/35579"
                },
                {
                    "reference_url": "http://weblog.rubyonrails.org/2009/6/3/security-problem-with-authenticate_with_http_digest",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": ""
                        },
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://weblog.rubyonrails.org/2009/6/3/security-problem-with-authenticate_with_http_digest"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/35579",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/35579"
                },
                {
                    "reference_url": "http://www.vupen.com/english/advisories/2009/1802",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.vupen.com/english/advisories/2009/1802"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=509564",
                    "reference_id": "509564",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=509564"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=535896",
                    "reference_id": "535896",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=535896"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2009-2422",
                    "reference_id": "CVE-2009-2422",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2009-2422"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-rxq3-gm4p-5fj4",
                    "reference_id": "GHSA-rxq3-gm4p-5fj4",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-rxq3-gm4p-5fj4"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/200912-02",
                    "reference_id": "GLSA-200912-02",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/200912-02"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/937465?format=api",
                    "purl": "pkg:deb/debian/rails@2.3.5-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rails@2.3.5-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/937455?format=api",
                    "purl": "pkg:deb/debian/rails@2:6.0.3.7%2Bdfsg-2%2Bdeb11u2?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-4tzv-1t1b-t3g3"
                        },
                        {
                            "vulnerability": "VCID-5tky-d2en-u7c7"
                        },
                        {
                            "vulnerability": "VCID-96qr-hdbp-p7ff"
                        },
                        {
                            "vulnerability": "VCID-a6z9-5n6k-2kak"
                        },
                        {
                            "vulnerability": "VCID-ad6q-vtdf-syb6"
                        },
                        {
                            "vulnerability": "VCID-hatd-vkun-13hj"
                        },
                        {
                            "vulnerability": "VCID-n8r7-wthv-fqaj"
                        },
                        {
                            "vulnerability": "VCID-qxe4-dubt-1kfp"
                        },
                        {
                            "vulnerability": "VCID-sarm-n22v-akcm"
                        },
                        {
                            "vulnerability": "VCID-wpmk-wgpm-cuee"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rails@2:6.0.3.7%252Bdfsg-2%252Bdeb11u2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/937453?format=api",
                    "purl": "pkg:deb/debian/rails@2:6.1.7.10%2Bdfsg-1~deb12u2?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-4tzv-1t1b-t3g3"
                        },
                        {
                            "vulnerability": "VCID-5tky-d2en-u7c7"
                        },
                        {
                            "vulnerability": "VCID-96qr-hdbp-p7ff"
                        },
                        {
                            "vulnerability": "VCID-a6z9-5n6k-2kak"
                        },
                        {
                            "vulnerability": "VCID-ad6q-vtdf-syb6"
                        },
                        {
                            "vulnerability": "VCID-hatd-vkun-13hj"
                        },
                        {
                            "vulnerability": "VCID-qxe4-dubt-1kfp"
                        },
                        {
                            "vulnerability": "VCID-sarm-n22v-akcm"
                        },
                        {
                            "vulnerability": "VCID-wpmk-wgpm-cuee"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rails@2:6.1.7.10%252Bdfsg-1~deb12u2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/937458?format=api",
                    "purl": "pkg:deb/debian/rails@2:7.2.2.2%2Bdfsg-2~deb13u1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-4tzv-1t1b-t3g3"
                        },
                        {
                            "vulnerability": "VCID-5tky-d2en-u7c7"
                        },
                        {
                            "vulnerability": "VCID-96qr-hdbp-p7ff"
                        },
                        {
                            "vulnerability": "VCID-a6z9-5n6k-2kak"
                        },
                        {
                            "vulnerability": "VCID-ad6q-vtdf-syb6"
                        },
                        {
                            "vulnerability": "VCID-hatd-vkun-13hj"
                        },
                        {
                            "vulnerability": "VCID-qxe4-dubt-1kfp"
                        },
                        {
                            "vulnerability": "VCID-sarm-n22v-akcm"
                        },
                        {
                            "vulnerability": "VCID-wpmk-wgpm-cuee"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rails@2:7.2.2.2%252Bdfsg-2~deb13u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/937456?format=api",
                    "purl": "pkg:deb/debian/rails@2:7.2.2.2%2Bdfsg-2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rails@2:7.2.2.2%252Bdfsg-2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/937457?format=api",
                    "purl": "pkg:deb/debian/rails@2:7.2.3%2Bdfsg-3?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-4tzv-1t1b-t3g3"
                        },
                        {
                            "vulnerability": "VCID-5tky-d2en-u7c7"
                        },
                        {
                            "vulnerability": "VCID-96qr-hdbp-p7ff"
                        },
                        {
                            "vulnerability": "VCID-a6z9-5n6k-2kak"
                        },
                        {
                            "vulnerability": "VCID-ad6q-vtdf-syb6"
                        },
                        {
                            "vulnerability": "VCID-hatd-vkun-13hj"
                        },
                        {
                            "vulnerability": "VCID-qxe4-dubt-1kfp"
                        },
                        {
                            "vulnerability": "VCID-sarm-n22v-akcm"
                        },
                        {
                            "vulnerability": "VCID-wpmk-wgpm-cuee"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rails@2:7.2.3%252Bdfsg-3%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1066847?format=api",
                    "purl": "pkg:deb/debian/rails@2:7.2.3.1%2Bdfsg-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rails@2:7.2.3.1%252Bdfsg-1%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2009-2422",
                "GHSA-rxq3-gm4p-5fj4"
            ],
            "risk_score": 4.5,
            "exploitability": "0.5",
            "weighted_severity": "9.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4zhj-en7h-3yaz"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rails@2.3.5-1%3Fdistro=trixie"
}