CVE-2023-38037
MEDIUM 5.5CVSS 3.0Active Support Possibly Discloses Locally Encrypted Files
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.
- Published
- 9 Jan 2025
- Last modified
- 10 Sep 2026
- Assigned by
- support@hackerone.com
- NVD status
- Deferred
- Weakness
- CWE-377CWE-732
- Also known as
- GHSA-cr5q-6q9f-rq6q
- Sources
- NVDJSONOSV GHSA-cr5q-6q9f-rq6qJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | support@hackerone.com (Secondary) | CVSS 3.0 | MEDIUM 5.5 | CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L |
| OSV | GitHub | CVSS 3.0 | MEDIUM 5.5 | CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | RubyGems | activesupport | >= 5.2.0, < 6.1.7.5 | 6.1.7.5 |
| OSV | RubyGems | activesupport | >= 7.0.0, < 7.0.7.1 | 7.0.7.1 |
References
- https://discuss.rubyonrails.org/t/cve-2023-38037-possible-file-disclosure-of-locally-encrypted-files/83544 · WEB
- https://security.netapp.com/advisory/ntap-20250214-0010/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-38037 · ADVISORY
- https://github.com/rails/rails/commit/a21d6edf35a60383dfa6c4da49e4b1aef5f00731 · WEB
- https://github.com/rails/rails · PACKAGE
- https://github.com/rails/rails/releases/tag/v7.0.7.1 · WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2023-38037.yml · WEB
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 9 Jan 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Aug 2023)