CVE-2023-38037

State
Published
Severity
5.5 Medium
Published
Jan 9, 2025
Updated
Feb 15, 2025
Reserved
Jul 12, 2023

Read the record on cve.org

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

CVSSScoreVectorSource
3.05.5 MediumCVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:Lhackerone

Weaknesses

  • CWE-732 Incorrect Permission Assignment for Critical Resource

Affected Products

ProductVersions
ActiveSupportRails
  • >= 5.2.0 to before >= 5.2.0Affected
  • 5.2.0 to before 5.2.0Not affected
  • 7.0.7.1, 6.1.7.5 to before 7.0.7.1, 6.1.7.5Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.