Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/1049991?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/1049991?format=api", "purl": "pkg:deb/debian/ruby-sinatra@1.3.2-2", "type": "deb", "namespace": "debian", "name": "ruby-sinatra", "version": "1.3.2-2", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "4.2.1-3", "latest_non_vulnerable_version": "4.2.1-3", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/14283?format=api", "vulnerability_id": "VCID-7f81-3s1y-sfec", "summary": "sinatra does not validate expanded path matches\nSinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.", "references": [ { "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-29970.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:H/I:N/A:N" } ], "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-29970.json" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-29970", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00601", "scoring_system": "epss", "scoring_elements": "0.69524", "published_at": "2026-04-18T12:55:00Z" }, { "value": "0.00601", "scoring_system": "epss", "scoring_elements": "0.69515", "published_at": "2026-04-16T12:55:00Z" }, { "value": "0.00601", "scoring_system": "epss", "scoring_elements": "0.69476", "published_at": "2026-04-13T12:55:00Z" }, { "value": "0.00601", "scoring_system": "epss", "scoring_elements": "0.6949", "published_at": "2026-04-12T12:55:00Z" }, { "value": "0.00601", "scoring_system": "epss", "scoring_elements": "0.69505", "published_at": "2026-04-11T12:55:00Z" }, { "value": "0.00601", "scoring_system": "epss", "scoring_elements": "0.69483", "published_at": "2026-04-09T12:55:00Z" }, { "value": "0.00601", "scoring_system": "epss", "scoring_elements": "0.69468", "published_at": "2026-04-08T12:55:00Z" }, { "value": "0.00601", "scoring_system": "epss", "scoring_elements": "0.69438", "published_at": "2026-04-04T12:55:00Z" }, { "value": "0.00601", "scoring_system": "epss", "scoring_elements": "0.69417", "published_at": "2026-04-07T12:55:00Z" }, { "value": "0.00601", "scoring_system": "epss", "scoring_elements": "0.69421", "published_at": "2026-04-02T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-29970" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-29970", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-29970" }, { "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml", "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:H/I:N/A:N" } ], "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml" }, { "reference_url": "https://github.com/sinatra/sinatra", "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:H/I:N/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/sinatra/sinatra" }, { "reference_url": "https://github.com/sinatra/sinatra/pull/1683", "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:H/I:N/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/sinatra/sinatra/pull/1683" }, { "reference_url": "https://github.com/sinatra/sinatra/pull/1683/commits/462c3ca1db53ed3cfc394cf5948e9c948ad1c10e", "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:H/I:N/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/sinatra/sinatra/pull/1683/commits/462c3ca1db53ed3cfc394cf5948e9c948ad1c10e" }, { "reference_url": "https://github.com/skylightio/skylight-ruby/pull/294", "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:H/I:N/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/skylightio/skylight-ruby/pull/294" }, { "reference_url": "https://lists.debian.org/debian-lts-announce/2022/10/msg00034.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:H/I:N/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://lists.debian.org/debian-lts-announce/2022/10/msg00034.html" }, { "reference_url": "https://lists.debian.org/debian-lts-announce/2024/09/msg00020.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:H/I:N/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://lists.debian.org/debian-lts-announce/2024/09/msg00020.html" }, { "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014717", "reference_id": "1014717", "reference_type": "", "scores": [], "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014717" }, { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2081096", "reference_id": "2081096", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2081096" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-29970", "reference_id": "CVE-2022-29970", "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:H/I:N/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-29970" }, { "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sinatra/CVE-2022-29970.yml", "reference_id": "CVE-2022-29970.YML", "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:H/I:N/A:N" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sinatra/CVE-2022-29970.yml" }, { "reference_url": "https://github.com/advisories/GHSA-qp49-3pvw-x4m5", "reference_id": "GHSA-qp49-3pvw-x4m5", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-qp49-3pvw-x4m5" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2022:2253", "reference_id": "RHSA-2022:2253", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2022:2253" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2022:2255", "reference_id": "RHSA-2022:2255", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2022:2255" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2022:2256", "reference_id": "RHSA-2022:2256", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2022:2256" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2022:4587", "reference_id": "RHSA-2022:4587", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2022:4587" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2022:4661", "reference_id": "RHSA-2022:4661", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2022:4661" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2022:8506", "reference_id": "RHSA-2022:8506", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2022:8506" }, { "reference_url": "https://usn.ubuntu.com/7664-1/", "reference_id": "USN-7664-1", "reference_type": "", "scores": [], "url": "https://usn.ubuntu.com/7664-1/" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/995010?format=api", "purl": "pkg:deb/debian/ruby-sinatra@3.0.5-3%2Bdeb12u1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-vy9q-nvxx-yfh5" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-sinatra@3.0.5-3%252Bdeb12u1" } ], "aliases": [ "CVE-2022-29970", "GHSA-qp49-3pvw-x4m5" ], "risk_score": 4.0, "exploitability": "0.5", "weighted_severity": "8.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-7f81-3s1y-sfec" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/53426?format=api", "vulnerability_id": "VCID-k7su-xtsg-jyg9", "summary": "Sinatra vulnerable to Reflected File Download attack\n### Description\nAn issue was discovered in Sinatra 2.0 before 2.2.3 and 3.0 before 3.0.4. An application is vulnerable to a reflected file download (RFD) attack that sets the Content-Disposition header of a response when the filename is derived from user-supplied input.\n\n### References\n* https://www.blackhat.com/docs/eu-14/materials/eu-14-Hafif-Reflected-File-Download-A-New-Web-Attack-Vector.pdf\n* https://github.com/advisories/GHSA-8x94-hmjh-97hq", "references": [ { "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-45442.json", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H" } ], "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-45442.json" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-45442", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00299", "scoring_system": "epss", "scoring_elements": "0.53276", "published_at": "2026-04-18T12:55:00Z" }, { "value": "0.00317", "scoring_system": "epss", "scoring_elements": "0.5479", "published_at": "2026-04-13T12:55:00Z" }, { "value": "0.00317", "scoring_system": "epss", "scoring_elements": "0.54779", "published_at": "2026-04-02T12:55:00Z" }, { "value": "0.00317", "scoring_system": "epss", "scoring_elements": "0.54802", "published_at": "2026-04-04T12:55:00Z" }, { "value": "0.00317", "scoring_system": "epss", "scoring_elements": "0.54771", "published_at": "2026-04-07T12:55:00Z" }, { "value": "0.00317", "scoring_system": "epss", "scoring_elements": "0.54822", "published_at": "2026-04-08T12:55:00Z" }, { "value": "0.00317", "scoring_system": "epss", "scoring_elements": "0.54819", "published_at": "2026-04-09T12:55:00Z" }, { "value": "0.00317", "scoring_system": "epss", "scoring_elements": "0.54812", "published_at": "2026-04-12T12:55:00Z" }, { "value": "0.00317", "scoring_system": "epss", "scoring_elements": "0.5483", "published_at": "2026-04-11T12:55:00Z" }, { "value": "0.00317", "scoring_system": "epss", "scoring_elements": "0.54829", "published_at": "2026-04-16T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-45442" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45442", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45442" }, { "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml", "reference_id": "", "reference_type": "", "scores": [ { "value": "7", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L" } ], "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml" }, { "reference_url": "https://github.com/advisories/GHSA-8x94-hmjh-97hq", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track*", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-04-22T15:40:06Z/" } ], "url": "https://github.com/advisories/GHSA-8x94-hmjh-97hq" }, { "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sinatra/CVE-2022-45442.yml", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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/sinatra/CVE-2022-45442.yml" }, { "reference_url": "https://github.com/sinatra/sinatra", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/sinatra/sinatra" }, { "reference_url": "https://github.com/sinatra/sinatra/commit/ea8fc9495a350f7551b39e3025bfcd06f49f363b", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track*", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-04-22T15:40:06Z/" } ], "url": "https://github.com/sinatra/sinatra/commit/ea8fc9495a350f7551b39e3025bfcd06f49f363b" }, { "reference_url": "https://github.com/sinatra/sinatra/security/advisories/GHSA-2x8x-jmrp-phxw", "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:N/UI:R/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track*", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-04-22T15:40:06Z/" } ], "url": "https://github.com/sinatra/sinatra/security/advisories/GHSA-2x8x-jmrp-phxw" }, { "reference_url": "https://lists.debian.org/debian-lts-announce/2023/01/msg00005.html", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track*", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-04-22T15:40:06Z/" } ], "url": "https://lists.debian.org/debian-lts-announce/2023/01/msg00005.html" }, { "reference_url": "https://lists.debian.org/debian-lts-announce/2024/09/msg00020.html", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://lists.debian.org/debian-lts-announce/2024/09/msg00020.html" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-45442", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-45442" }, { "reference_url": "https://www.blackhat.com/docs/eu-14/materials/eu-14-Hafif-Reflected-File-Download-A-New-Web-Attack-Vector.pdf", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track*", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-04-22T15:40:06Z/" } ], "url": "https://www.blackhat.com/docs/eu-14/materials/eu-14-Hafif-Reflected-File-Download-A-New-Web-Attack-Vector.pdf" }, { "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025125", "reference_id": "1025125", "reference_type": "", "scores": [], "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025125" }, { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2153363", "reference_id": "2153363", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2153363" }, { "reference_url": "https://github.com/advisories/GHSA-2x8x-jmrp-phxw", "reference_id": "GHSA-2x8x-jmrp-phxw", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-2x8x-jmrp-phxw" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2023:0393", "reference_id": "RHSA-2023:0393", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2023:0393" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2023:0427", "reference_id": "RHSA-2023:0427", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2023:0427" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2023:0506", "reference_id": "RHSA-2023:0506", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2023:0506" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2023:0527", "reference_id": "RHSA-2023:0527", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2023:0527" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2023:0855", "reference_id": "RHSA-2023:0855", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2023:0855" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2023:0857", "reference_id": "RHSA-2023:0857", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2023:0857" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2023:0974", "reference_id": "RHSA-2023:0974", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2023:0974" }, { "reference_url": "https://usn.ubuntu.com/7664-1/", "reference_id": "USN-7664-1", "reference_type": "", "scores": [], "url": "https://usn.ubuntu.com/7664-1/" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/995010?format=api", "purl": "pkg:deb/debian/ruby-sinatra@3.0.5-3%2Bdeb12u1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-vy9q-nvxx-yfh5" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-sinatra@3.0.5-3%252Bdeb12u1" } ], "aliases": [ "CVE-2022-45442", "GHSA-2x8x-jmrp-phxw" ], "risk_score": 4.0, "exploitability": "0.5", "weighted_severity": "8.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-k7su-xtsg-jyg9" } ], "fixing_vulnerabilities": [], "risk_score": "4.0", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-sinatra@1.3.2-2" }