USN-7664-1

Type: Security
Severity: Medium
Published: 2025-07-22
Ubuntu 20.04 LTS (Focal Fossa)
Ubuntu 22.04 LTS (Jammy Jellyfish)

It was discovered that Sinatra incorrectly handled serving static files. An attacker could possibly use this issue to perform local file inclusion, obtaining sensitive information. (CVE-2022-29970) It was discovered that Sinatra incorrectly handled special characters in the Content-Disposition HTTP header. An attacker could possibly use this issue to perform a reflected file download attack, achieving remote code execution. (CVE-2022-45442) Update Instructions: Run `sudo pro fix USN-7664-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: ruby-rack-protection - 2.0.8.1-1ubuntu0.1~esm2 ruby-sinatra - 2.0.8.1-1ubuntu0.1~esm2 ruby-sinatra-contrib - 2.0.8.1-1ubuntu0.1~esm2 Available with Ubuntu Pro: https://ubuntu.com/pro

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T00:47:41.838Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T00:47:41.838Z UTC. Last updated 2025-11-26T08:53:46Z UTC.

Upstream Advisory

Affected Packages

  • ruby-rack-protection 2.0.8.1-1ubuntu0.1~esm2-2.0.8.1-1ubuntu0.1~esm2

  • ruby-sinatra 2.0.8.1-1ubuntu0.1~esm2-2.0.8.1-1ubuntu0.1~esm2

  • ruby-sinatra-contrib 2.0.8.1-1ubuntu0.1~esm2-2.0.8.1-1ubuntu0.1~esm2

  • ruby-rack-protection 2.0.8.1-2+deb11u1build0.22.04.1-2.0.8.1-2+deb11u1build0.22.04.1

  • ruby-sinatra 2.0.8.1-2+deb11u1build0.22.04.1-2.0.8.1-2+deb11u1build0.22.04.1

  • ruby-sinatra-contrib 2.0.8.1-2+deb11u1build0.22.04.1-2.0.8.1-2+deb11u1build0.22.04.1

Interested in being alerted when there are new versions of ruby-rack-protection and the other packages? Set up an alert.
USN-7664-1: Sinatra vulnerabilities | Package Alert