CVE-2023-38037

unknown
Published 2023-08-23 ยท Modified 2026-02-04
CVSS v3
โ€”
CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
โ€”

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.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 2:7.2.2.1+dfsg-1
sid Fixed 2:7.2.2.1+dfsg-1
forky Fixed 2:7.2.2.1+dfsg-1
bullseye Fixed 2:6.0.3.7+dfsg-2+deb11u3
bookworm Fixed 2:6.1.7.10+dfsg-1~deb12u1

Package impact

EcosystemPackageVulnerableFixed
ruby RubyGemsactivesupport!< 5.2.0||<~> 6.1.7, >= 6.1.7.5~> 6.1.7, >= 6.1.7.5
ruby RubyGemsactivesupport>=5.2.0,<6.1.7.56.1.7.5
ruby RubyGemsactivesupport>=7.0.0,<7.0.7.17.0.7.1

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.