You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Possible File Disclosure of Locally Encrypted Files
8
8
date: 2023-08-23
9
9
description: |
10
-
There is a possible file disclosure of locally encrypted files in Active Support. This vulnerability has been assigned the CVE identifier CVE-2023-38037.
10
+
There is a possible file disclosure of locally encrypted files in
11
+
Active Support. This vulnerability has been assigned the
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.
16
19
17
-
Attackers that have access to the file system could possibly read the contents of this temporary file while a user is editing it.
20
+
ActiveSupport::EncryptedFile writes contents that will be encrypted
21
+
to a temporary file. The temporary file’s permissions are defaulted
22
+
to the user’s current umask settings, meaning that it’s possible
23
+
for other users on the same system to read the contents of the
24
+
temporary file.
18
25
19
-
All users running an affected release should either upgrade or use one of the workarounds immediately.
26
+
Attackers that have access to the file system could possibly read
27
+
the contents of this temporary file while a user is editing it.
28
+
29
+
All users running an affected release should either upgrade or use
30
+
one of the workarounds immediately.
20
31
21
32
# Releases
33
+
22
34
The fixed releases are available at the normal locations.
23
35
24
36
# Workarounds
25
-
To work around this issue, you can set your umask to be more restrictive like this:
26
37
27
-
```ruby
28
-
$ umask 0077
29
-
```
38
+
To work around this issue, you can set your umask to be more
0 commit comments