Advisory

UBUNTU-CVE-2026-39324

Also known as: CVE-2026-39324

Summary

The record has no summary.

Details

Rack::Session is a session management implementation for Rack. From 2.0.0 to before 2.1.2, Rack::Session::Cookie incorrectly handles decryption failures when configured with secrets:. If cookie decryption fails, the implementation falls back to a default decoder instead of rejecting the cookie. This allows an unauthenticated attacker to supply a crafted session cookie that is accepted as valid session data without knowledge of any configured secret. Because this mechanism is used to load session state, an attacker can manipulate session contents and potentially gain unauthorized access. This vulnerability is fixed in 2.1.2.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2026-04-07 18:16 UTC
Modified
2026-05-20 16:25 UTC

Affected packages and fixes

ruby-rack-session

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 2.1.1-0.1ubuntu0.1 (ecosystem)

Fixed versions

2.1.1-0.1ubuntu0.1

Fix

  • Fixed version 2.1.1-0.1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

ruby-rack-session

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 2.1.1-0.1ubuntu0.26.04.1 (ecosystem)

Fixed versions

2.1.1-0.1ubuntu0.26.04.1

Fix

  • Fixed version 2.1.1-0.1ubuntu0.26.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences