Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/127554?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/127554?format=api", "purl": "pkg:deb/debian/ruby-rack@1.6.4-6?distro=trixie", "type": "deb", "namespace": "debian", "name": "ruby-rack", "version": "1.6.4-6", "qualifiers": { "distro": "trixie" }, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "2.1.1-2", "latest_non_vulnerable_version": "3.2.6-2", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40437?format=api", "vulnerability_id": "VCID-1ra1-pgt2-3ubf", "summary": "Cross-site Scripting\nThere is a possible XSS vulnerability in Rack. Carefully crafted requests can impact the data returned by the `scheme` method on `Rack::Request`. Applications that expect the scheme to be limited to HTTP or HTTPS and do not escape the return value could be vulnerable to an XSS attack. Note that applications using the normal escaping mechanisms provided by Rails may not be impacted, but applications that bypass the escaping mechanisms, or do not use them may be vulnerable.", "references": [ { "reference_url": "http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00032.html", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00032.html" }, { "reference_url": "http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00016.html", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00016.html" }, { "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-16471.json", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" } ], "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-16471.json" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-16471", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00829", "scoring_system": "epss", "scoring_elements": "0.74894", "published_at": "2026-06-04T12:55:00Z" }, { "value": "0.00829", "scoring_system": "epss", "scoring_elements": "0.7493", "published_at": "2026-06-09T12:55:00Z" }, { "value": "0.00829", "scoring_system": "epss", "scoring_elements": "0.74919", "published_at": "2026-06-07T12:55:00Z" }, { "value": "0.00829", "scoring_system": "epss", "scoring_elements": "0.74928", "published_at": "2026-06-06T12:55:00Z" }, { "value": "0.00829", "scoring_system": "epss", "scoring_elements": "0.74904", "published_at": "2026-06-08T12:55:00Z" }, { "value": "0.00829", "scoring_system": "epss", "scoring_elements": "0.74923", "published_at": "2026-06-05T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-16471" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16471", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16471" }, { "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" } ], "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml" }, { "reference_url": "https://github.com/rack/rack", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/rack/rack" }, { "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2018-16471.yml", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2018-16471.yml" }, { "reference_url": "https://groups.google.com/forum/#!topic/rubyonrails-security/GKsAFT924Ag", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://groups.google.com/forum/#!topic/rubyonrails-security/GKsAFT924Ag" }, { "reference_url": "https://groups.google.com/forum/#!topic/ruby-security-ann/NAalCee8n6o", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3", "scoring_elements": "" }, { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://groups.google.com/forum/#!topic/ruby-security-ann/NAalCee8n6o" }, { "reference_url": "https://lists.debian.org/debian-lts-announce/2018/11/msg00022.html", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://lists.debian.org/debian-lts-announce/2018/11/msg00022.html" }, { "reference_url": "https://usn.ubuntu.com/4089-1", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://usn.ubuntu.com/4089-1" }, { "reference_url": "https://usn.ubuntu.com/4089-1/", "reference_id": "", "reference_type": "", "scores": [], "url": "https://usn.ubuntu.com/4089-1/" }, { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1646818", "reference_id": "1646818", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1646818" }, { "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913005", "reference_id": "913005", "reference_type": "", "scores": [], "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913005" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-16471", "reference_id": "CVE-2018-16471", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-16471" }, { "reference_url": "https://github.com/advisories/GHSA-5r2p-j47h-mhpg", "reference_id": "GHSA-5r2p-j47h-mhpg", "reference_type": "", "scores": [ { "value": "MODERATE", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-5r2p-j47h-mhpg" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/127554?format=api", "purl": "pkg:deb/debian/ruby-rack@1.6.4-6?distro=trixie", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-rack@1.6.4-6%3Fdistro=trixie" }, { "url": "http://public2.vulnerablecode.io/api/packages/127546?format=api", "purl": "pkg:deb/debian/ruby-rack@2.1.4-3%2Bdeb11u2?distro=trixie", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-3nmb-xetr-6qbg" }, { "vulnerability": "VCID-6ydb-e746-vbd8" }, { "vulnerability": "VCID-e8ab-9br9-6ybt" }, { "vulnerability": "VCID-ewfc-rx8b-jfc4" }, { "vulnerability": "VCID-gnc7-wp69-h7ag" }, { "vulnerability": "VCID-h8af-h199-qqfz" }, { "vulnerability": "VCID-hpw3-uw3x-mqgq" }, { "vulnerability": "VCID-p3dy-qbad-q3ab" }, { "vulnerability": "VCID-pydr-47y4-y3fu" }, { "vulnerability": "VCID-r1hk-cy5k-9kad" }, { "vulnerability": "VCID-tc69-2tad-43cv" }, { "vulnerability": "VCID-u1u4-7b3v-fue7" }, { "vulnerability": "VCID-uh69-24kx-xucy" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-rack@2.1.4-3%252Bdeb11u2%3Fdistro=trixie" }, { "url": "http://public2.vulnerablecode.io/api/packages/127544?format=api", "purl": "pkg:deb/debian/ruby-rack@2.2.22-0%2Bdeb12u1?distro=trixie", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-3nmb-xetr-6qbg" }, { "vulnerability": "VCID-6ydb-e746-vbd8" }, { "vulnerability": "VCID-e8ab-9br9-6ybt" }, { "vulnerability": "VCID-ewfc-rx8b-jfc4" }, { "vulnerability": "VCID-gnc7-wp69-h7ag" }, { "vulnerability": "VCID-h8af-h199-qqfz" }, { "vulnerability": "VCID-hpw3-uw3x-mqgq" }, { "vulnerability": "VCID-p3dy-qbad-q3ab" }, { "vulnerability": "VCID-pydr-47y4-y3fu" }, { "vulnerability": "VCID-r1hk-cy5k-9kad" }, { "vulnerability": "VCID-tc69-2tad-43cv" }, { "vulnerability": "VCID-u1u4-7b3v-fue7" }, { "vulnerability": "VCID-uh69-24kx-xucy" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-rack@2.2.22-0%252Bdeb12u1%3Fdistro=trixie" }, { "url": "http://public2.vulnerablecode.io/api/packages/127549?format=api", "purl": "pkg:deb/debian/ruby-rack@3.1.20-0%2Bdeb13u1?distro=trixie", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-3nmb-xetr-6qbg" }, { "vulnerability": "VCID-6ydb-e746-vbd8" }, { "vulnerability": "VCID-e8ab-9br9-6ybt" }, { "vulnerability": "VCID-ewfc-rx8b-jfc4" }, { "vulnerability": "VCID-gnc7-wp69-h7ag" }, { "vulnerability": "VCID-h8af-h199-qqfz" }, { "vulnerability": "VCID-hpw3-uw3x-mqgq" }, { "vulnerability": "VCID-p3dy-qbad-q3ab" }, { "vulnerability": "VCID-pydr-47y4-y3fu" }, { "vulnerability": "VCID-r1hk-cy5k-9kad" }, { "vulnerability": "VCID-tc69-2tad-43cv" }, { "vulnerability": "VCID-u1u4-7b3v-fue7" }, { "vulnerability": "VCID-uh69-24kx-xucy" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-rack@3.1.20-0%252Bdeb13u1%3Fdistro=trixie" }, { "url": "http://public2.vulnerablecode.io/api/packages/127547?format=api", "purl": "pkg:deb/debian/ruby-rack@3.2.6-2?distro=trixie", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-rack@3.2.6-2%3Fdistro=trixie" } ], "aliases": [ "CVE-2018-16471", "GHSA-5r2p-j47h-mhpg" ], "risk_score": 3.1, "exploitability": "0.5", "weighted_severity": "6.2", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1ra1-pgt2-3ubf" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-rack@1.6.4-6%3Fdistro=trixie" }