{"url":"http://public2.vulnerablecode.io/api/packages/102856?format=json","purl":"pkg:deb/debian/ruby-sinatra@4.1.1-2?distro=trixie","type":"deb","namespace":"debian","name":"ruby-sinatra","version":"4.1.1-2","qualifiers":{"distro":"trixie"},"subpath":"","is_vulnerable":false,"next_non_vulnerable_version":"0","latest_non_vulnerable_version":"4.2.1-3","affected_by_vulnerabilities":[],"fixing_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/48714?format=json","vulnerability_id":"VCID-p4dg-33re-63bp","summary":"Versions of the package sinatra from 0.0.0 are vulnerable to Reliance on Untrusted Inputs in a Security Decision via the X-Forwarded-Host (XFH) header. When making a request to a method with redirect applied, it is possible to trigger an Open Redirect Attack by inserting an arbitrary address into this header. If used for caching purposes, such as with servers like Nginx, or as a reverse proxy, without handling the X-Forwarded-Host header, attackers can potentially exploit Cache Poisoning or Routing-based SSRF.","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2024-21510","reference_id":"","reference_type":"","scores":[{"value":"0.00209","scoring_system":"epss","scoring_elements":"0.43458","published_at":"2026-06-11T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2024-21510"},{"reference_url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21510","reference_id":"","reference_type":"","scores":[],"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21510"},{"reference_url":"https://github.com/advisories/GHSA-hxx2-7vcw-mqr3","reference_id":"","reference_type":"","scores":[{"value":"5.4","scoring_system":"cvssv3","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-hxx2-7vcw-mqr3"},{"reference_url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1087290","reference_id":"1087290","reference_type":"","scores":[],"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1087290"},{"reference_url":"https://github.com/sinatra/sinatra/pull/2010","reference_id":"2010","reference_type":"","scores":[{"value":"5.4","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P"},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-11-01T14:19:38Z/"}],"url":"https://github.com/sinatra/sinatra/pull/2010"},{"reference_url":"https://github.com/sinatra/sinatra/blob/b626e2d82c23b4fde0b51782fd32ca27ccde1d1a/lib/sinatra/base.rb%23L319","reference_id":"base.rb%23L319","reference_type":"","scores":[{"value":"5.4","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P"},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-11-01T14:19:38Z/"}],"url":"https://github.com/sinatra/sinatra/blob/b626e2d82c23b4fde0b51782fd32ca27ccde1d1a/lib/sinatra/base.rb%23L319"},{"reference_url":"https://github.com/sinatra/sinatra/blob/b626e2d82c23b4fde0b51782fd32ca27ccde1d1a/lib/sinatra/base.rb%23L323C1-L343C17","reference_id":"base.rb%23L323C1-L343C17","reference_type":"","scores":[{"value":"5.4","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P"},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-11-01T14:19:38Z/"}],"url":"https://github.com/sinatra/sinatra/blob/b626e2d82c23b4fde0b51782fd32ca27ccde1d1a/lib/sinatra/base.rb%23L323C1-L343C17"},{"reference_url":"https://security.snyk.io/vuln/SNYK-RUBY-SINATRA-6483832","reference_id":"SNYK-RUBY-SINATRA-6483832","reference_type":"","scores":[{"value":"5.4","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P"},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-11-01T14:19:38Z/"}],"url":"https://security.snyk.io/vuln/SNYK-RUBY-SINATRA-6483832"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/102856?format=json","purl":"pkg:deb/debian/ruby-sinatra@4.1.1-2?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-sinatra@4.1.1-2%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/102852?format=json","purl":"pkg:deb/debian/ruby-sinatra@4.1.1-5?distro=trixie","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-bnc4-apdt-2kcq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-sinatra@4.1.1-5%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/102851?format=json","purl":"pkg:deb/debian/ruby-sinatra@4.2.1-3?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-sinatra@4.2.1-3%3Fdistro=trixie"}],"aliases":["CVE-2024-21510","GHSA-hxx2-7vcw-mqr3"],"risk_score":2.5,"exploitability":"0.5","weighted_severity":"4.9","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-p4dg-33re-63bp"}],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/ruby-sinatra@4.1.1-2%3Fdistro=trixie"}