CVE-2023-38037Incorrect Permission Assignment in Rails Activesupport

Severity
5.5MEDIUMNVD
EPSS
0.1%
top 77.18%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJan 9

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 workarou

CVSS vector

CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:LExploitability: 0.8 | Impact: 4.7

Affected Packages2 packages

CVEListV5rails/activesupport>= 5.2.0>= 5.2.0
Debianrubyonrails/rails< 2:6.0.3.7+dfsg-2+deb11u3+3

🔴Vulnerability Details

4
OSV
CVE-2023-38037: ActiveSupport::EncryptedFile writes contents that will be encrypted to a temporary file2025-01-09
CVEList
CVE-2023-38037: ActiveSupport::EncryptedFile writes contents that will be encrypted to a temporary file2025-01-09
GHSA
Active Support Possibly Discloses Locally Encrypted Files2023-08-23
OSV
Active Support Possibly Discloses Locally Encrypted Files2023-08-23

📋Vendor Advisories

2
Red Hat
rubygem-activesupport: File Disclosure of Locally Encrypted Files2023-08-23
Debian
CVE-2023-38037: rails - ActiveSupport::EncryptedFile writes contents that will be encrypted to a tempor...2023
CVE-2023-38037 — Incorrect Permission Assignment | cvebase