Live threats

All CVEs / Rails

CVE-2023-38037Rails ActiveSupport

Medium 5.5

Priority
33
CVSS 3.0
5.5
EPSS
0.3%
probability of exploitation in 30 days · percentile 13
Auth required
Yes
Published
Jan 9, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-732
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for ActiveSupport.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems activesupport ≥ 5.2.0 < 6.1.7.5 6.1.7.5 gem "activesupport", ">= 6.1.7.5"
RubyGems activesupport ≥ 7.0.0 < 7.0.7.1 7.0.7.1 gem "activesupport", ">= 7.0.7.1"

Per OSV / GitHub Advisories (GHSA-cr5q-6q9f-rq6q). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.