Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2023-38037

rubygem-activesupport: File Disclosure of Locally Encrypted Files

Overview

Published
9 Jan 2025
Modified
17 Jun 2026
Medium CVE
1 Registry packages
16 OS packages
7 Linux distributions
Yes Fix available

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

Packages affected by CVE-2023-38037
EcosystemPackageVulnerableFixed 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

affected 2
rubygem-activesupport tfm-rubygem-activesupport
Red Hat fixes for CVE-2023-38037
ReleasePackageFixed in
rubygem-activesupport +1 affected
7 tfm-rubygem-activesupport affected

chainguard 1 release · 1 package

fixed 1
kube-fluentd-operator
chainguard fixes for CVE-2023-38037
ReleasePackageFixed in
kube-fluentd-operator 1.17.6-r8

debian 4 releases · 1 package

fixed 4
rails
debian fixes for CVE-2023-38037
ReleasePackageFixed 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

fixed 1
rails
echo fixes for CVE-2023-38037
ReleasePackageFixed in
rails 2:6.1.7.10+dfsg-1~deb12u1

openSUSE 1 release · 9 packages

fixed 9
ruby3-2-rubygem-activesupport-7-0 ruby3-2-rubygem-activerecord-7-0 ruby3-2-rubygem-rails-7-0 ruby3-3-rubygem-activerecord-7-0 ruby3-3-rubygem-activesupport-7-0 ruby3-3-rubygem-rails-7-0 +3
openSUSE fixes for CVE-2023-38037
ReleasePackageFixed inAdvisory
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

fixed 1
python-jinja2
seal Red Hat fixes for CVE-2023-38037
ReleasePackageFixed in
7 python-jinja2 +1 2.7.2-4.el7+sp999

wolfi 1 release · 1 package

fixed 1
kube-fluentd-operator
wolfi fixes for CVE-2023-38037
ReleasePackageFixed in
kube-fluentd-operator 1.17.6-r8

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.