Medium severity · published Jan 9, 2025
CVE-2023-38037
ActiveSupport::EncryptedFile writes contents that will be encrypted to a temporary file
5.5
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L
Attack vector
Local
Complexity
High
Privileges
Low
User interaction
Required
Confidentiality
High
Integrity
Low
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 20% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AC
ActiveSupport · Rails
>= 5.2.0 before >= 5.2.0 · source: vendor
Affected product
AC
ActiveSupport
Rails
More from ActiveSupport
7.5
CVE-2026-33176
Rails Active Support has a possible DoS vulnerability in its number helpers
6.1
CVE-2026-33170
Rails Active Support has a possible XSS vulnerability in SafeBuffer#%
5.3
CVE-2026-33169
Rails Active Support has a possible ReDoS vulnerability in number_to_delimited
5.3
CVE-2023-28120
There is a vulnerability in ActiveSupport if the new bytesplice method is called on a SafeBuffer with untrusted user input