Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/937483?format=api",
    "purl": "pkg:deb/debian/rails@2:5.2.0%2Bdfsg-2?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "rails",
    "version": "2:5.2.0+dfsg-2",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2:5.2.2+dfsg-1",
    "latest_non_vulnerable_version": "2:7.2.3.1+dfsg-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/33526?format=api",
            "vulnerability_id": "VCID-g5q6-7uav-sqh1",
            "summary": "Remote code execution via user-provided local names in ActionView\nThe is a code injection vulnerability in versions of Rails prior to 5.0.1 that would allow an attacker who controlled the `locals` argument of a `render` call to perform a RCE.",
            "references": [
                {
                    "reference_url": "http://packetstormsecurity.com/files/158604/Ruby-On-Rails-5.0.1-Remote-Code-Execution.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://packetstormsecurity.com/files/158604/Ruby-On-Rails-5.0.1-Remote-Code-Execution.html"
                },
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-8163.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-8163.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-8163",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.90927",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99634",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.90927",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99633",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.90927",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99632",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.90927",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9963",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.90927",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99631",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.90927",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99635",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.90927",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99637",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.91071",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99646",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.91071",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99645",
                            "published_at": "2026-04-24T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-8163"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8163",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8163"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2020-8163.yml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2020-8163.yml"
                },
                {
                    "reference_url": "https://groups.google.com/forum/#!topic/rubyonrails-security/hWuKcHyoKh0",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": ""
                        },
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://groups.google.com/forum/#!topic/rubyonrails-security/hWuKcHyoKh0"
                },
                {
                    "reference_url": "https://groups.google.com/g/rubyonrails-security/c/hWuKcHyoKh0",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://groups.google.com/g/rubyonrails-security/c/hWuKcHyoKh0"
                },
                {
                    "reference_url": "https://hackerone.com/reports/304805",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://hackerone.com/reports/304805"
                },
                {
                    "reference_url": "https://lists.debian.org/debian-lts-announce/2020/07/msg00013.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://lists.debian.org/debian-lts-announce/2020/07/msg00013.html"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-8163",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-8163"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1848724",
                    "reference_id": "1848724",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1848724"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/ruby/webapps/48716.rb",
                    "reference_id": "CVE-2020-8163",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/ruby/webapps/48716.rb"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-cr3x-7m39-c6jq",
                    "reference_id": "GHSA-cr3x-7m39-c6jq",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-cr3x-7m39-c6jq"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/937483?format=api",
                    "purl": "pkg:deb/debian/rails@2:5.2.0%2Bdfsg-2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rails@2:5.2.0%252Bdfsg-2%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-2020-8163",
                "GHSA-cr3x-7m39-c6jq"
            ],
            "risk_score": 10.0,
            "exploitability": "2.0",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-g5q6-7uav-sqh1"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rails@2:5.2.0%252Bdfsg-2%3Fdistro=trixie"
}