CVE Database
/

CVE-2023-38037

Back to search

CVE-2023-38037

Published: Jan 9, 2025

Modified: Feb 15, 2025

PUBLISHED

CVSS v3.0

5.5

MEDIUM

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.

VendorProductVersions

Rails

ActiveSupport

affected
>= 5.2.0 - < >= 5.2.0
unaffected
5.2.0 - < 5.2.0
unaffected
7.0.7.1, 6.1.7.5 - < 7.0.7.1, 6.1.7.5

CVSS v3.0 Details

CVSS v3.0 Vector

CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L

Attack Vector

Local

Attack Complexity

High

Privileges Required

Low

User Interaction

Required

Scope

Unchanged

Confidentiality

High

Integrity

Low

Availability

Low

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now