Skip to main content
← All vulnerabilities
CVE-2023-38037GHSA-CR5Q-6Q9F-RQ6Q

ActiveSupport::EncryptedFile writes contents that will be encrypted to a temporary file.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.1.7.5, 7.0.7.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Rails ActiveSupport

    From 5.2.0

  • activesupportRubyGems

    From 5.2.0 · fixed in 6.1.7.5

  • activesupportRubyGems

    From 7.0.0 · fixed in 7.0.7.1

References 1

discuss.rubyonrails.org