CVE-2023-38037

published 9 Jan 2025 · updated 15 Feb 2025

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

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in activesupport >= 5.2.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Railsactivesupport>=>= 5.2.0 <>= 5.2.0>= 5.2.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Rails, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-38037 severity on Zeptric[![CVE-2023-38037](https://zeptric.io/badge/cve/CVE-2023-38037.svg)](https://zeptric.io/cve/CVE-2023-38037)