Skip to content
Fencer Vulns
medium 5.5

CVE-2023-38037 json

Active Support Possibly Discloses Locally Encrypted Files

published 2023-08-23 3 y ago modified 2026-09-10 59 d ago also EUVD-2023-2274 , GHSA-cr5q-6q9f-rq6q

cvss
5.5
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 19%
public exploits
0
none known

Summary

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.

Patch / fix

  • rubygems activesupport 6.1.7.5, 7.0.7.1
  • activesupport_project activesupport 6.1.7.5, 7.0.7.1
  • rails activesupport 6.1.7.5, 7.0.7.1
  • rubyonrails activesupport 6.1.7.5, 7.0.7.1
  • rails Debian 12 2:6.1.7.10+dfsg-1~deb12u1
  • rails Debian 14, Debian 13 2:7.2.2.1+dfsg-1

debian advisories DEBIAN-CVE-2023-38037

  • foreman satellite utils 6.15, satellite capsule 6.15, satellite 6.15 3.9.1.6-1.el8sat
  • foreman-cli satellite utils 6.15, satellite 6.15 3.9.1.6-1.el8sat
  • foreman-ec2 satellite 6.15 3.9.1.6-1.el8sat
  • foreman-pcp satellite 6.15 3.9.1.6-1.el8sat
  • puppetserver satellite capsule 6.15, satellite 6.15 7.14.0-1.el8sat
  • rubygem-puma satellite 6.15 6.4.2-1.el8sat
  • foreman-ovirt satellite 6.15 3.9.1.6-1.el8sat
  • foreman-redis satellite 6.15 3.9.1.6-1.el8sat

red hat advisories RHSA-2024:2010

  • rubygem-activerecord-7.0 openSUSE Tumbleweed 7.0.8.6-1.3
  • rubygem-activesupport-7.0 openSUSE Tumbleweed 7.0.8.6-1.3
  • rubygem-rails-7.0 openSUSE Tumbleweed 7.0.8.6-1.3
  • rubygem-activerecord-7.0 openSUSE Tumbleweed 7.0.8.4-1.1
  • rubygem-activesupport-7.0 openSUSE Tumbleweed 7.0.8.4-1.1
  • rubygem-rails-7.0 openSUSE Tumbleweed 7.0.8.4-1.1
  • ruby3.2-rubygem-activesupport-7.0 openSUSE Tumbleweed 7.0.8-1.1
  • ruby3.2-rubygem-activerecord-7.0 openSUSE Tumbleweed 7.0.8-1.1

opensuse advisories openSUSE-SU-2025:15112-1openSUSE-SU-2025:15114-1openSUSE-SU-2025:15124-1openSUSE-SU-2024:14069-1openSUSE-SU-2024:14071-1openSUSE-SU-2024:14074-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-38037 updated cvss 3.3

rubygem-activesupport: File Disclosure of Locally Encrypted Files

  • Red Hat 3scale API Management Platform 2 3scale-amp2/backend-rhel8 Red Hat Satellite 6 tfm-rubygem-activesupport Red Hat Storage 3 rubygem-activesupport
    affected: workaround, no fix available “To work around this issue, users can set their umask to be more restrictive: $ umask 0077”
  • Red Hat Satellite 6.15 for RHEL 8 rubygem-activesupport 6.1.7.6-1.el8sat
    fixed: vendor fix “To work around this issue, users can set their umask to be more restrictive: $ umask 0077” RHSA-2024:2010
  • Red Hat RHOL 5.7 for RHEL 8 openshift-logging/fluentd-rhel8 v1.14.6-203
    fixed: vendor fix “To work around this issue, users can set their umask to be more restrictive: $ umask 0077” RHSA-2024:0268
  • Red Hat RHOL 5.8 for RHEL 9 openshift-logging/fluentd-rhel9 v5.8.1-9
    fixed: vendor fix “To work around this issue, users can set their umask to be more restrictive: $ umask 0077” RHSA-2023:7720
  • Red Hat OpenShift Container Platform 3.11 rubygem-activesupport Red Hat Satellite 6 candlepin, candlepin-selinux Red Hat Satellite 6.15 for RHEL 8 cjson 1.7.14-5.el8sat, libsolv 0.7.22-6.el8pc, katello 4.11.0-1.el8sat, libcomps 0.1.18-8.el8pc, python-jq 1.6.0-3.el8pc, foreman 3.9.1.6-1.el8sat, +678 more Red Hat RHOL 5.7 for RHEL 8 openshift-logging/vector-rhel8 v0.28.1-45, openshift-logging/kibana6-rhel8 v6.8.1-413, openshift-logging/logging-loki-rhel8 v2.9.3-2, openshift-logging/eventrouter-rhel8 v0.4.0-201, openshift-logging/loki-rhel8-operator v5.7.10-4, openshift-logging/loki-operator-bundle v5.7.10-7, +11 more Red Hat RHOL 5.8 for RHEL 9 openshift-logging/vector-rhel9 v0.28.1-43, openshift-logging/eventrouter-rhel9 v0.4.0-200, openshift-logging/logging-loki-rhel9 v2.9.2-12, openshift-logging/loki-rhel9-operator v5.8.1-16, openshift-logging/loki-operator-bundle v5.8.1-30, openshift-logging/opa-openshift-rhel9 v0.1.0-180, +10 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
21 mo ago

Exploit prediction

0.27% chance of exploitation in the next 30 days, higher than 19% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.0 5.5 CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L
GitHub 3.0 5.5 CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L

Affected packages

ecosystem package affected fixed in
rubygems activesupport
>=5.2.0, <6.1.7.5
>=7.0.0, <7.0.7.1
6.1.7.5
7.0.7.1

Affected products

  • Rails ActiveSupport

Classification

Weakness
  • CWE-732 Incorrect Permission Assignment for Critical Resource
  • CWE-377 DEPRECATED: Insecure Temporary File
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.