# CVE-2023-38037: Active Support Possibly Discloses Locally Encrypted Files

- Severity: Medium 5.5 (CVSS:3.0, scored by hackerone) `CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 21% of CVEs (2026-12-01)
- Published: 2023-08-23T20:36:24.000Z
- Modified: 2026-09-10T03:49:57.611Z
- Also known as: GHSA-cr5q-6q9f-rq6q
- Weaknesses: CWE-377, CWE-732
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: hackerone

## 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.

(As written by CVE List.)

## Affected

- Rails ActiveSupport: from >= 5.2.0 before >= 5.2.0 (not affected: from 5.2.0 before 5.2.0; from 7.0.7.1, 6.1.7.5 before 7.0.7.1, 6.1.7.5)
- activesupport (RubyGems): from 5.2.0 before 6.1.7.5; from 7.0.0 before 7.0.7.1

## Every score

- hackerone: CVSS:3.0 5.5 Medium `CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L`
- GitHub: CVSS:3.0 5.5 Medium `CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L`

## 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/>
- <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)
- <https://security.netapp.com/advisory/ntap-20250214-0010> (web)

## Sources

- CVE List: [CVE-2023-38037](https://www.cve.org/CVERecord?id=CVE-2023-38037), CVE Terms of Use, modified 2025-02-15
- GitHub Advisory Database: [GHSA-cr5q-6q9f-rq6q](https://github.com/advisories/GHSA-cr5q-6q9f-rq6q), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-38037](https://nvd.nist.gov/vuln/detail/CVE-2023-38037), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-38037 · Whole record: https://cve.day/CVE-2023-38037.json · Rebuilt by cve.day 2026-11-25T22:58:34.493Z
