Skip to content
5.5 Medium

CVE-2023-38037 ActiveSupport::EncryptedFile writes contents that will be encrypted to a temporary file

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 and versions

Product Affected versions Fixed in
ActiveSupport 5.2 5.2.0 → < 5.2.0 5.2.0

References

Timeline

  1. Published
  2. Last modified
The 5 CVEs of ActiveSupport →
Track this CVE