CVE-2021-29480
CVSS V2 Low 3.5
CVSS V3 Low 3.1
Description
Ratpack is a toolkit for creating web applications. In versions prior to 1.9.0, the client side session module uses the application startup time as the signing key by default. This means that if an attacker can determine this time, and if encryption is not also used (which is recommended, but is not on by default), 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, but its use is not actively prevented. As of Ratpack 1.9.0, the default value is a securely randomly generated value, generated at application startup time. As a workaround, supply an alternative signing key, as per the documentation's recommendation.
Overview
- CVE ID
- CVE-2021-29480
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-06-29T19:15:09
- Last Modified Date
- 2022-08-02T16:00:08
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:ratpack_project:ratpack:*:*:*:*:*:*:*:* | 1 | OR | 1.9.0 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:S/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- SINGLE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 3.5
- Severity
- LOW
- Exploitability Score
- 6.8
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- HIGH
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 3.1
- Base Severity
- LOW
- Exploitability Score
- 1.6
- Impact Score
- 1.4
References
Reference URL | Reference Tags |
---|---|
https://github.com/ratpack/ratpack/blob/29434f7ac6fd4b36a4495429b70f4c8163100332/ratpack-session/src/main/java/ratpack/session/clientside/ClientSideSessionConfig.java#L29 | Third Party Advisory |
https://github.com/ratpack/ratpack/security/advisories/GHSA-2cc5-23r7-vc4v | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-29480 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29480 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:08:34 | Added to TrackCVE | |||
2022-12-05 05:12:15 | 2021-06-29T19:15Z | 2021-06-29T19:15:09 | CVE Published Date | updated |
2022-12-05 05:12:15 | 2022-08-02T16:00:08 | CVE Modified Date | updated | |
2022-12-05 05:12:15 | Analyzed | Vulnerability Status | updated |