CVE-2023-38037 Details
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.
A vulnerability exists in multiple NetApp products that use Ruby on Rails. Active Support versions 5.2.0 prior to 6.1.7.5 and prior to 7.0.7.1 are affected. The vulnerability arises because ActiveSupport::EncryptedFile writes encrypted contents to a temporary file with permissions determined by the user's `umask` settings. This configuration may allow other users on the same system to read the temporary file's contents. Attackers with file system access could potentially intercept the data while the file is being edited.
Users should upgrade to a version of Ruby on Rails that is not vulnerable. NetApp products affected by this vulnerability should consult the NetApp advisory NTAP-20250214-0010 for guidance.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jan 9, 2025CISA-ADP
Assessed Jan 9, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://security.netapp.com/advisory/ntap-20250214-0010/ | CVE | AdvisoryRemedyVendor |
| https://discuss.rubyonrails.org/t/cve-2023-38037-possible-file-disclosure-of-locally-encrypted-files/83544 | [email protected] | Issue TrackingTechnical DescriptionVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-732 | Incorrect Permission Assignment for Critical Resource | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| Ruby on Rails | All versions |
CPE
Remediation
| |
| NetApp | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 15, 2025 | CVE Modified | CVE |
| Jan 9, 2025 | CVE Modified | CISA-ADP |
| Jan 9, 2025 | New CVE Received | [email protected] |
Volerion