CVE-2023-38037
rubygem-activesupport: File Disclosure of Locally Encrypted Files
Overview
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.
Source: OX vulnerability database
Severity
5.5 · MEDIUM
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- Low
- Availability
- Low
CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L
Weakness: CWE-732
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | activesupport | >=5.2.0, <6.1.7.5>=7.0.0, <7.0.7.1 | 6.1.7.57.0.7.1~> 6.1.7, >= 6.1.7.5 |
Open a package to see all its vulnerabilities.
Operating systems · 19 fixes
Red Hat 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| rubygem-activesupport +1 | affected | |
| 7 | tfm-rubygem-activesupport | affected |
chainguard 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| kube-fluentd-operator | 1.17.6-r8 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rails | 2:6.0.3.7+dfsg-2+deb11u3 |
| 12 | rails | 2:6.1.7.10+dfsg-1~deb12u1 |
| 13 | rails | 2:7.2.2.1+dfsg-1 |
| 14 | rails | 2:7.2.2.1+dfsg-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| rails | 2:6.1.7.10+dfsg-1~deb12u1 |
openSUSE 1 release · 9 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | ruby3-2-rubygem-activesupport-7-0 | 7.0.8-1.1 | openSUSE-SU-2024:13397-1 |
| Tumbleweed | ruby3-2-rubygem-activerecord-7-0 | 7.0.8-1.1 | openSUSE-SU-2024:13432-1 |
| Tumbleweed | ruby3-2-rubygem-rails-7-0 | 7.0.8-1.1 | openSUSE-SU-2024:13433-1 |
| Tumbleweed | ruby3-3-rubygem-activerecord-7-0 | 7.0.8.4-1.1 | openSUSE-SU-2024:14069-1 |
| Tumbleweed | ruby3-3-rubygem-activesupport-7-0 | 7.0.8.4-1.1 | openSUSE-SU-2024:14071-1 |
| Tumbleweed | ruby3-3-rubygem-rails-7-0 | 7.0.8.4-1.1 | openSUSE-SU-2024:14074-1 |
3 more rows
seal Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | python-jinja2 +1 | 2.7.2-4.el7+sp999 |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| kube-fluentd-operator | 1.17.6-r8 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-38037
- discuss.rubyonrails.org https://discuss.rubyonrails.org/t/cve-2023-38037-possible-file-disclosure-of-locally-encrypted-files/83544
- github.com https://github.com/advisories/GHSA-cr5q-6q9f-rq6q
- github.com https://github.com/rails/rails
- github.com https://github.com/rails/rails/commit/a21d6edf35a60383dfa6c4da49e4b1aef5f00731
- github.com https://github.com/rails/rails/releases/tag/v7.0.7.1
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2023-38037.yml
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-38037
- security.netapp.com https://security.netapp.com/advisory/ntap-20250214-0010
- security.netapp.com https://security.netapp.com/advisory/ntap-20250214-0010/
Show all 11 references
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.