Medium severity5.5GHSA Advisory· Published Jan 9, 2025· Updated Apr 15, 2026
CVE-2023-38037
CVE-2023-38037
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
activesupportRubyGems | >= 5.2.0, < 6.1.7.5 | 6.1.7.5 |
activesupportRubyGems | >= 7.0.0, < 7.0.7.1 | 7.0.7.1 |
Affected products
18- Range: >= 7.0.0, < 7.0.7.1
- osv-coords17 versionspkg:apk/chainguard/kube-fluentd-operatorpkg:apk/chainguard/kube-fluentd-operator-compatpkg:apk/chainguard/kube-fluentd-operator-default-configpkg:apk/chainguard/kube-fluentd-operator-oci-entrypointpkg:apk/wolfi/kube-fluentd-operatorpkg:apk/wolfi/kube-fluentd-operator-compatpkg:apk/wolfi/kube-fluentd-operator-default-configpkg:apk/wolfi/kube-fluentd-operator-oci-entrypointpkg:gem/activesupportpkg:rpm/opensuse/ruby3.2-rubygem-activerecord-7.0&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/ruby3.2-rubygem-activesupport-7.0&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/ruby3.2-rubygem-rails-7.0&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/rubygem-activerecord-7.0&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/rubygem-activesupport-5.2&distro=openSUSE%20Leap%2015.5pkg:rpm/opensuse/rubygem-activesupport-7.0&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/rubygem-rails-7.0&distro=openSUSE%20Tumbleweedpkg:rpm/suse/rubygem-activesupport-5.2&distro=SUSE%20Package%20Hub%2015%20SP5
< 1.17.6-r8+ 16 more
- (no CPE)range: < 1.17.6-r8
- (no CPE)range: < 1.17.6-r8
- (no CPE)range: < 1.17.6-r8
- (no CPE)range: < 1.17.6-r8
- (no CPE)range: < 1.17.6-r8
- (no CPE)range: < 1.17.6-r8
- (no CPE)range: < 1.17.6-r8
- (no CPE)range: < 1.17.6-r8
- (no CPE)range: >= 5.2.0, < 6.1.7.5
- (no CPE)range: < 7.0.8-1.1
- (no CPE)range: < 7.0.8-1.1
- (no CPE)range: < 7.0.8-1.1
- (no CPE)range: < 7.0.8.4-1.1
- (no CPE)range: < 5.2.3-bp155.3.5.1
- (no CPE)range: < 7.0.8.4-1.1
- (no CPE)range: < 7.0.8.4-1.1
- (no CPE)range: < 5.2.3-bp155.3.5.1
Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-cr5q-6q9f-rq6qghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-38037ghsaADVISORY
- discuss.rubyonrails.org/t/cve-2023-38037-possible-file-disclosure-of-locally-encrypted-files/83544nvdWEB
- github.com/rails/rails/commit/a21d6edf35a60383dfa6c4da49e4b1aef5f00731ghsaWEB
- github.com/rails/rails/releases/tag/v7.0.7.1ghsaWEB
- github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2023-38037.ymlghsaWEB
- security.netapp.com/advisory/ntap-20250214-0010ghsaWEB
- security.netapp.com/advisory/ntap-20250214-0010/nvd
News mentions
0No linked articles in our index yet.