Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2023-38037

ActiveSupport::EncryptedFile writes contents that will be encrypted to a

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Rails ActiveSupport

  • >= 5.2.0 to < >= 5.2.0affected
  • 5.2.0 to < 5.2.0unaffected
  • 7.0.7.1, 6.1.7.5 to < 7.0.7.1, 6.1.7.5unaffected

References