CVE-2021-29481

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-29481
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-29481.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-29481
Aliases
Published
2021-06-29T19:15:09Z
Modified
2024-05-14T08:33:23.360346Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

Ratpack is a toolkit for creating web applications. In versions prior to 1.9.0, the default configuration of client side sessions results in unencrypted, but signed, data being set as cookie values. This means that if something sensitive goes into the session, it could be read by something with access to the cookies. For this to be a vulnerability, some kind of sensitive data would need to be stored in the session and the session cookie would have to leak. For example, the cookies are not configured with httpOnly and an adjacent XSS vulnerability within the site allowed capture of the cookies. As of version 1.9.0, a securely randomly generated signing key is used. As a workaround, one may supply an encryption key, as per the documentation recommendation.

References

Affected packages

Git / github.com/ratpack/ratpack

Affected ranges

Type
GIT
Repo
https://github.com/ratpack/ratpack
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.5.2
0.6.1

1.*

1.6.0-rc-1

Other

spring-boot-pr-3

v0.*

v0.9.0
v0.9.1
v0.9.10
v0.9.11
v0.9.12
v0.9.13
v0.9.14
v0.9.15
v0.9.16
v0.9.17
v0.9.18
v0.9.19
v0.9.2
v0.9.3
v0.9.4
v0.9.5
v0.9.6
v0.9.7
v0.9.8
v0.9.9

v1.*

v1.0.0
v1.0.0-rc-1
v1.0.0-rc-2
v1.0.0-rc-3
v1.1.0
v1.1.1
v1.2.0
v1.2.0-RC-1
v1.2.0-rc-2
v1.3.0
v1.3.0-rc-1
v1.3.0-rc-2
v1.3.1
v1.3.2
v1.3.3
v1.4.0
v1.4.0-rc-1
v1.4.0-rc-2
v1.4.0-rc-3
v1.4.1
v1.4.2
v1.4.3
v1.4.4
v1.4.5
v1.4.6
v1.5.0
v1.5.0-rc-1
v1.5.0-rc-2
v1.5.0-rc-3
v1.5.1
v1.5.2
v1.5.3
v1.5.4
v1.6.0
v1.6.0-rc-2
v1.6.0-rc-3
v1.6.0-rc-4
v1.6.1
v1.7.0
v1.7.1
v1.7.2
v1.7.3
v1.7.4
v1.7.5
v1.7.6
v1.8.0
v1.8.1
v1.8.2
v1.9.0-rc-1
v1.9.0-rc-2