CVE-2022-29970:
Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
CVE-2022-45442:
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.
Depends on packages which need a new maintainer
normal
The packages that ruby-sinatra depends on which need a new maintainer are:
Among the 4 debian patches
available in version 3.0.5-3 of the package,
we noticed the following issues:
4 patches
where the metadata indicates that the patch has not yet been forwarded
upstream. You should either forward the patch upstream or update the
metadata to document its real status.