CVE-2023-38037
unknown
CVSS v3
—
CVSS v2
—
VIR risk
—
Description
ActiveSupport::EncryptedFile writes contents that will be encrypted to a temporary file. The temporary file's permissions are defaulted to the user's current `umask` settings, meaning that it's possible for other users on the same system to read the contents of the temporary file. Attackers that have access to the file system could possibly read the contents of this temporary file while a user is editing it. All users running an affected release should either upgrade or use one of the workarounds immediately.
Predictions
Exploit likelihood
20%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2023-38037
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 2:6.1.7.10+dfsg-1~deb12u1 |
| debian | bullseye | fixed | 2:6.0.3.7+dfsg-2+deb11u3 |
| debian | forky | fixed | 2:7.2.2.1+dfsg-1 |
| debian | sid | fixed | 2:7.2.2.1+dfsg-1 |
| debian | trixie | fixed | 2:7.2.2.1+dfsg-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| RubyGems | activesupport | !< 5.2.0||<~> 6.1.7, >= 6.1.7.5 | ~> 6.1.7, >= 6.1.7.5 |
| RubyGems | activesupport | >=5.2.0,<6.1.7.5 | 6.1.7.5 |
| RubyGems | activesupport | >=7.0.0,<7.0.7.1 | 7.0.7.1 |
References
- https://github.com/rails/rails/releases/tag/v7.0.7.1
- https://nvd.nist.gov/vuln/detail/CVE-2023-38037
- https://github.com/rails/rails/commit/a21d6edf35a60383dfa6c4da49e4b1aef5f00731
- https://discuss.rubyonrails.org/t/cve-2023-38037-possible-file-disclosure-of-locally-encrypted-files/83544
- https://github.com/rails/rails
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2023-38037.yml
- https://security.netapp.com/advisory/ntap-20250214-0010
- https://security-tracker.debian.org/tracker/CVE-2023-38037
Verify integrity in audit chain (admin only). AS-IS.