CVE-2022-45442

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-45442
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-45442.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-45442
Aliases
Related
Published
2022-11-28T21:15:10Z
Modified
2024-10-12T10:18:00.872387Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Sinatra is a domain-specific language for creating web applications in Ruby. An 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. Version 2.2.3 and 3.0.4 contain patches for this issue.

References

Affected packages

Debian:11 / ruby-sinatra

Package

Name
ruby-sinatra
Purl
pkg:deb/debian/ruby-sinatra?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.8.1-2+deb11u1

Affected versions

2.*

2.0.8.1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / ruby-sinatra

Package

Name
ruby-sinatra
Purl
pkg:deb/debian/ruby-sinatra?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0.5-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / ruby-sinatra

Package

Name
ruby-sinatra
Purl
pkg:deb/debian/ruby-sinatra?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0.5-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/sinatra/sinatra

Affected ranges

Type
GIT
Repo
https://github.com/sinatra/sinatra
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.0.1
0.1.0
0.1.5
0.1.6
0.1.7
0.2.0
0.2.2
0.3.0
0.3.1
0.3.2
0.3.3
0.9.0.1
0.9.0.2
0.9.1
0.9.1.1
0.9.2

1.*

1.0
1.0.a
1.0.b
1.1.0
1.1.a
1.1.b
1.2.0
1.2.0.a
1.2.0.b
1.2.0.c
1.2.0.d
1.2.1
1.3.0
1.3.1
1.3.2
1.4.0
1.4.1
1.4.2
1.4.3

2.*

2.0.0.rc3
2.0.0.rc4
2.0.0.rc5

Other

semver

v1.*

v1.0.0
v1.1.0
v1.2.0
v1.2.1
v1.3.0
v1.3.1
v1.3.2
v1.4.0
v1.4.1
v1.4.2
v1.4.3
v1.4.4
v1.4.5
v1.4.6

v2.*

v2.0.0
v2.0.0.beta2
v2.0.0.rc1
v2.0.0.rc2
v2.0.0.rc3
v2.0.0.rc4
v2.0.0.rc5
v2.0.0.rc6
v2.0.1
v2.0.1.rc1
v2.0.2
v2.0.3
v2.0.4
v2.0.5
v2.0.6
v2.0.7
v2.0.8
v2.0.8.1
v2.1.0
v2.2.0

v3.*

v3.0.0
v3.0.1
v3.0.2
v3.0.3