CVE-2023-38037
Vulnerability Summary
Timeline
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 Metrics
- v3.0•MEDIUM•Score: 5.5CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L
EPSS Trends
Current EPSS score: 0.27%• Percentile: 20%
Techniques & Countermeasures
- CWE-732•Incorrect Permission Assignment for Critical Resource
The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.
Affected Systems
- chainguard•kube-fluentd-operator
< 1.17.6-r8
- wolfi•kube-fluentd-operator
< 1.17.6-r8
- debian•rails
< 2:6.0.3.7+dfsg-2+deb11u3 | < 2:6.1.7.10+dfsg-1~deb12u1 | < 2:7.2.2.1+dfsg-1 | < 2:7.2.2.1+dfsg-1
- rails•activesupport
≥ >= 5.2.0, < >= 5.2.0
References (9)
- https://discuss.rubyonrails.org/t/cve-2023-38037-possible-file-disclosure-of-locally-encrypted-files/83544
- https://security.netapp.com/advisory/ntap-20250214-0010/
- https://security-tracker.debian.org/tracker/CVE-2023-38037
- https://nvd.nist.gov/vuln/detail/CVE-2023-38037
- https://github.com/rails/rails/commit/a21d6edf35a60383dfa6c4da49e4b1aef5f00731
- https://github.com/rails/rails
- https://github.com/rails/rails/releases/tag/v7.0.7.1
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2023-38037.yml
- https://security.netapp.com/advisory/ntap-20250214-0010