CVE-2023-38037

MEDIUM

ActiveSupport 5.2.0-6.1.7.5 and 7.0.0-7.0.7.1 - Unprotected Temporary File Exposure via EncryptedFile

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0026
EPSS Percentile 16.9%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-732
Status published
Products (4)
Rails/ActiveSupport 5.2.0
Rails/ActiveSupport 7.0.7.1, 6.1.7.5
Rails/ActiveSupport >= 5.2.0
rubygems/activesupport 5.2.0 - 6.1.7.5RubyGems
Published Jan 09, 2025
Tracked Since Feb 18, 2026