cbcvebase.
CVE-2023-38037
published 2025-01-09

CVE-2023-38037: ActiveSupport::EncryptedFile writes contents that will be encrypted to a temporary file. The temporary file's permissions are defaulted to the user's current…

medium5.5CVSS 3.0
AVLACHPRLUIRSUCHILAL
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

8 ranges
VendorProductVersion rangeFixed in
debianrails< rails 2:6.1.7.10+dfsg-1~deb12u1 (bookworm)rails 2:6.1.7.10+dfsg-1~deb12u1 (bookworm)
railsactivesupport>= 5.2.0 < 6.1.7.56.1.7.5
railsactivesupport>= 7.0.0 < 7.0.7.17.0.7.1
railsactivesupport>= >= 5.2.0 < >= 5.2.0>= 5.2.0
rubyonrailsrails>= 0 < 2:6.0.3.7+dfsg-2+deb11u32:6.0.3.7+dfsg-2+deb11u3
rubyonrailsrails>= 0 < 2:6.1.7.10+dfsg-1~deb12u12:6.1.7.10+dfsg-1~deb12u1
rubyonrailsrails>= 0 < 2:7.2.2.1+dfsg-12:7.2.2.1+dfsg-1
rubyonrailsrails>= 0 < 2:7.2.2.1+dfsg-12:7.2.2.1+dfsg-1

CVSS provenance

nvdv3.05.5MEDIUMCVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L
ghsa5.5MEDIUM
osv5.5MEDIUM