Skip to content
OpenAdvisories
High USN-4561-2 2 CVEs

ruby-rack vulnerabilities

Published Apr 6, 2021 · Updated Feb 10, 2026

Summary

USN-4561-1 fixed vulnerabilities in Rack. This update provides the
corresponding update for Ubuntu 16.04 LTS, Ubuntu 20.04 LTS and Ubuntu 20.10.

Original advisory details:

It was discovered that Rack incorrectly handled certain paths. An attacker
could possibly use this issue to obtain sensitive information. This issue
only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS and Ubuntu 20.04 LTS.
(CVE-2020-8161)

It was discovered that Rack incorrectly validated cookies. An attacker
could possibly use this issue to forge a secure cookie. (CVE-2020-8184)

Fixed packages 2

ReleasePackageFixed in
Ubuntu · 16.04 LTS 16.04:LTS ruby-rack 1.6.4-3ubuntu0.2
Ubuntu · 20.04 LTS 20.04:LTS ruby-rack 2.0.7-2ubuntu0.1

Vulnerabilities 2

  • High 8.6

    Directory traversal in Rack::Directory app bundled with Rack

    A directory traversal vulnerability exists in rack < 2.2.0 that allows an attacker perform directory traversal vulnerability in the Rack::Directory app that is bundled with Rack which could result in information disclosure.

  • High 7.5

    Rack allows Percent-encoded cookies to overwrite existing prefixed cookie names

    A reliance on cookies without validation/integrity check security vulnerability exists in rack < 2.2.3, rack < 2.1.4 that makes it is possible for an attacker to forge a secure or host-only cookie prefix.

References

  • report
    https://ubuntu.com/security/CVE-2020-8161
  • report
    https://ubuntu.com/security/CVE-2020-8184