Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/127557?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/127557?format=api", "purl": "pkg:deb/debian/ruby-rack@2.1.1-6?distro=trixie", "type": "deb", "namespace": "debian", "name": "ruby-rack", "version": "2.1.1-6", "qualifiers": { "distro": "trixie" }, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "2.1.4-3+deb11u1", "latest_non_vulnerable_version": "3.2.6-2", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/51543?format=api", "vulnerability_id": "VCID-huph-y2xr-g3dk", "summary": "Percent-encoded cookies can be used to overwrite existing prefixed cookie names\nIt is possible to forge a secure or host-only cookie prefix in Rack using\nan arbitrary cookie write by using URL encoding (percent-encoding) on the\nname of the cookie. This could result in an application that is dependent on\nthis prefix to determine if a cookie is safe to process being manipulated\ninto processing an insecure or cross-origin request.\nThis vulnerability has been assigned the CVE identifier CVE-2020-8184.\n\nVersions Affected: rack < 2.2.3, rack < 2.1.4\nNot affected: Applications which do not rely on __Host- and __Secure- prefixes to determine if a cookie is safe to process\nFixed Versions: rack >= 2.2.3, rack >= 2.1.4\n\nImpact\n------\n\nAn attacker may be able to trick a vulnerable application into processing an\ninsecure (non-SSL) or cross-origin request if they can gain the ability to write\narbitrary cookies that are sent to the application.\n\nWorkarounds\n-----------\n\nIf your application is impacted but you cannot upgrade to the released versions or apply\nthe provided patch, this issue can be temporarily addressed by adding the following workaround:\n\n```\nmodule Rack\n module Utils\n module_function def parse_cookies_header(header)\n return {} unless header\n header.split(/[;] */n).each_with_object({}) do |cookie, cookies|\n next if cookie.empty?\n key, value = cookie.split('=', 2)\n cookies[key] = (unescape(value) rescue value) unless cookies.key?(key)\n end\n end\n end\nend\n```", "references": [ { "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-8184.json", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N" } ], "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-8184.json" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-8184", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00811", "scoring_system": "epss", "scoring_elements": "0.74625", "published_at": "2026-06-09T12:55:00Z" }, { "value": "0.00811", "scoring_system": "epss", "scoring_elements": "0.74599", "published_at": "2026-06-08T12:55:00Z" }, { "value": "0.00811", "scoring_system": "epss", "scoring_elements": "0.74616", "published_at": "2026-06-07T12:55:00Z" }, { "value": "0.00811", "scoring_system": "epss", "scoring_elements": "0.74628", "published_at": "2026-06-06T12:55:00Z" }, { "value": "0.00811", "scoring_system": "epss", "scoring_elements": "0.74622", "published_at": "2026-06-05T12:55:00Z" }, { "value": "0.00811", "scoring_system": "epss", "scoring_elements": "0.74591", "published_at": "2026-06-04T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-8184" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8184", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8184" }, { "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/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": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/rack/rack" }, { "reference_url": "https://github.com/rack/rack/commit/1f5763de6a9fe515ff84992b343d63c88104654c", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/rack/rack/commit/1f5763de6a9fe515ff84992b343d63c88104654c" }, { "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2020-8184.yml", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2020-8184.yml" }, { "reference_url": "https://groups.google.com/g/rubyonrails-security/c/OWtmozPH9Ak", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3", "scoring_elements": "" }, { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://groups.google.com/g/rubyonrails-security/c/OWtmozPH9Ak" }, { "reference_url": "https://hackerone.com/reports/895727", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://hackerone.com/reports/895727" }, { "reference_url": "https://lists.debian.org/debian-lts-announce/2020/07/msg00006.html", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://lists.debian.org/debian-lts-announce/2020/07/msg00006.html" }, { "reference_url": "https://lists.debian.org/debian-lts-announce/2023/01/msg00038.html", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://lists.debian.org/debian-lts-announce/2023/01/msg00038.html" }, { "reference_url": "https://usn.ubuntu.com/4561-1", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://usn.ubuntu.com/4561-1" }, { "reference_url": "https://usn.ubuntu.com/4561-1/", "reference_id": "", "reference_type": "", "scores": [], "url": "https://usn.ubuntu.com/4561-1/" }, { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1849141", "reference_id": "1849141", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1849141" }, { "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=963477", "reference_id": "963477", "reference_type": "", "scores": [], "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=963477" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-8184", "reference_id": "CVE-2020-8184", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-8184" }, { "reference_url": "https://github.com/advisories/GHSA-j6w9-fv6q-3q52", "reference_id": "GHSA-j6w9-fv6q-3q52", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-j6w9-fv6q-3q52" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2020:4366", "reference_id": "RHSA-2020:4366", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2020:4366" }, { "reference_url": "https://usn.ubuntu.com/4561-2/", "reference_id": "USN-4561-2", "reference_type": "", "scores": [], "url": "https://usn.ubuntu.com/4561-2/" }, { "reference_url": "https://usn.ubuntu.com/USN-5253-1/", "reference_id": "USN-USN-5253-1", "reference_type": "", "scores": [], "url": "https://usn.ubuntu.com/USN-5253-1/" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/127557?format=api", "purl": "pkg:deb/debian/ruby-rack@2.1.1-6?distro=trixie", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-rack@2.1.1-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-2020-8184", "GHSA-j6w9-fv6q-3q52" ], "risk_score": 4.0, "exploitability": "0.5", "weighted_severity": "8.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-huph-y2xr-g3dk" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-rack@2.1.1-6%3Fdistro=trixie" }