PT-2021-18242 · Ratpack · Ratpack

Jlleitschuh

+1

·

Published

2021-06-29

·

Updated

2022-08-02

·

CVE-2021-29480

CVSS v3.1

4.4

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions: Ratpack versions prior to 1.9.0
Description: The client side session module in Ratpack uses the application startup time as the signing key by default. If an attacker can determine this time and encryption is not used, the session data could be tampered with by someone with the ability to write cookies. The default configuration is unsuitable for production use as an application restart renders all sessions invalid and is not multi-host compatible.
Recommendations: For versions prior to 1.9.0, supply an alternative signing key, as per the documentation's recommendation. For versions prior to 1.9.0, consider updating to Ratpack 1.9.0 or later, which uses a securely randomly generated value as the default signing key.

Fix

Use of Insufficiently Random Values

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-29480
GHSA-2CC5-23R7-VC4V

Affected Products

Ratpack