Skip to content
OpenAdvisories
Medium · 5.5 CVE-2023-38037 EUVD-2023-2274GHSA-cr5q-6q9f-rq6q

Active Support Possibly Discloses Locally Encrypted Files

Published Jan 9, 2025 · Updated Feb 15, 2025 · Assigned by hackerone

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.

Affected products

VendorProductAffectedFixed
Rails ActiveSupport >= 5.2.0 – < >= 5.2.0 >= 5.2.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rails 2:7.2.2.1+dfsg-1 —
Debian 13 rails 2:7.2.2.1+dfsg-1 —
Debian 12 rails 2:6.1.7.10+dfsg-1~deb12u1 DSA-5881-1
Debian 11 rails 2:6.0.3.7+dfsg-2+deb11u3 DLA-4383-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rails No fix yet —
Ubuntu 26.04 LTS rails No fix yet —
Ubuntu 25.10 rails No fix yet —
Ubuntu 24.04 LTS rails No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS rails No fix yet —
Ubuntu Pro 20.04 LTS rails No fix yet —
Ubuntu Pro 18.04 LTS rails No fix yet —
Ubuntu Pro 16.04 LTS rails No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Satellite Utils 6 foreman +1 3.9.1.6-1.el8sat RHSA-2024:2010
Red Hat Satellite Capsule 6 foreman +1 3.9.1.6-1.el8sat RHSA-2024:2010
Red Hat Satellite Capsule 6 puppetserver 7.14.0-1.el8sat RHSA-2024:2010
Red Hat Satellite Capsule 6 python-aiohttp +1 3.9.2-1.el8pc RHSA-2024:2010
Red Hat Satellite Capsule 6 python-django +1 4.2.9-1.el8pc RHSA-2024:2010
Red Hat Satellite Capsule 6 python-galaxy-importer +1 0.4.19-2.el8pc RHSA-2024:2010
Red Hat Satellite Capsule 6 python-jinja2 +1 3.1.3-1.el8pc RHSA-2024:2010
Red Hat Satellite Capsule 6 python-pycryptodomex +1 3.20.0-1.el8pc RHSA-2024:2010
Red Hat Satellite Capsule 6 python-pygments +1 2.17.0-1.el8pc RHSA-2024:2010
Red Hat Satellite Capsule 6 rubygem-activesupport 6.1.7.6-1.el8sat RHSA-2024:2010
Red Hat Satellite 6 foreman +14 3.9.1.6-1.el8sat RHSA-2024:2010
Red Hat Satellite 6 puppetserver 7.14.0-1.el8sat RHSA-2024:2010
Red Hat Satellite 6 python-aiohttp +1 3.9.2-1.el8pc RHSA-2024:2010
Red Hat Satellite 6 python-django +1 4.2.9-1.el8pc RHSA-2024:2010
Red Hat Satellite 6 python-galaxy-importer +1 0.4.19-2.el8pc RHSA-2024:2010
Red Hat Satellite 6 python-jinja2 +1 3.1.3-1.el8pc RHSA-2024:2010
Red Hat Satellite 6 python-pycryptodomex +1 3.20.0-1.el8pc RHSA-2024:2010
Red Hat Satellite 6 python-pygments +1 2.17.0-1.el8pc RHSA-2024:2010
Red Hat Satellite 6 rubygem-activesupport 6.1.7.6-1.el8sat RHSA-2024:2010
Red Hat Satellite 6 rubygem-audited 5.4.2-1.el8sat RHSA-2024:2010
Red Hat Satellite 6 rubygem-puma 6.4.2-1.el8sat RHSA-2024:2010
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP5 rubygem-activesupport-5.2 5.2.3-bp155.3.5.1 openSUSE-SU-2023:0350-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ruby3.2-rubygem-rails-7.0 +2 7.0.8-1.1 openSUSE-SU-2024:13433-1, openSUSE-SU-2024:13432-1, openSUSE-SU-2024:13397-1
openSUSE Tumbleweed rubygem-rails-7.0 +2 7.0.8.4-1.1 openSUSE-SU-2025:15124-1, openSUSE-SU-2025:15114-1, openSUSE-SU-2025:15112-1
openSUSE Leap 15.5 rubygem-activesupport-5.2 5.2.3-bp155.3.5.1 openSUSE-SU-2023:0350-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling kube-fluentd-operator 1.17.6-r8 —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems activesupport >= 5.2.0, < 6.1.7.5 6.1.7.5 GHSA-cr5q-6q9f-rq6q
RubyGems activesupport >= 7.0.0, < 7.0.7.1 7.0.7.1 GHSA-cr5q-6q9f-rq6q

Advisories 15

References