UBUNTU-CVE-2024-21510

Source
https://ubuntu.com/security/CVE-2024-21510
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-21510.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-21510
Related
Published
2024-11-01T05:15:00Z
Modified
2024-11-27T16:31:38Z
Summary
[none]
Details

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

Affected packages

Ubuntu:Pro:16.04:LTS / ruby-sinatra

Package

Name
ruby-sinatra
Purl
pkg:deb/ubuntu/ruby-sinatra?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.4.6-2
1.4.7-3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / ruby-sinatra

Package

Name
ruby-sinatra
Purl
pkg:deb/ubuntu/ruby-sinatra?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.4.7-5
1.4.8-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / ruby-sinatra

Package

Name
ruby-sinatra
Purl
pkg:deb/ubuntu/ruby-sinatra?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.0.5-4ubuntu1
2.0.8.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / ruby-sinatra

Package

Name
ruby-sinatra
Purl
pkg:deb/ubuntu/ruby-sinatra?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.0.8.1-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / ruby-sinatra

Package

Name
ruby-sinatra
Purl
pkg:deb/ubuntu/ruby-sinatra?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.0.5-3ubuntu1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / ruby-sinatra

Package

Name
ruby-sinatra
Purl
pkg:deb/ubuntu/ruby-sinatra?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.0.5-3
3.0.5-3ubuntu1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}