CVE-2023-38037
published 2025-01-09CVE-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…
PriorityP426medium5.5CVSS 3.0
AVLACHPRLUIRSUCHILAL
EPSS
0.26%
17.4th percentile
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
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | rails | < rails 2:6.1.7.10+dfsg-1~deb12u1 (bookworm) | rails 2:6.1.7.10+dfsg-1~deb12u1 (bookworm) |
| rails | activesupport | >= 5.2.0 < 6.1.7.5 | 6.1.7.5 |
| rails | activesupport | >= 7.0.0 < 7.0.7.1 | 7.0.7.1 |
| rails | activesupport | >= >= 5.2.0 < >= 5.2.0 | >= 5.2.0 |
| rubyonrails | rails | >= 0 < 2:6.0.3.7+dfsg-2+deb11u3 | 2:6.0.3.7+dfsg-2+deb11u3 |
| rubyonrails | rails | >= 0 < 2:6.1.7.10+dfsg-1~deb12u1 | 2:6.1.7.10+dfsg-1~deb12u1 |
| rubyonrails | rails | >= 0 < 2:7.2.2.1+dfsg-1 | 2:7.2.2.1+dfsg-1 |
| rubyonrails | rails | >= 0 < 2:7.2.2.1+dfsg-1 | 2: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
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
rubygem-activesupport: File Disclosure of Locally Encrypted Files
vendor_redhat·2023-08-23·CVSS 5.5
CVE-2023-38037 [MEDIUM] CWE-377 rubygem-activesupport: File Disclosure of Locally Encrypted Files
rubygem-activesupport: File Disclosure of Locally Encrypted Files
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.
An insecure temporary file vulnerability was found in activesupport rubygem. Contents that will be encrypted are written to a temporary file that has the user’s current umask settings, possibly leading to information
Debian
CVE-2023-38037: rails - ActiveSupport::EncryptedFile writes contents that will be encrypted to a
tempor...
vendor_debian·2023·CVSS 5.5
CVE-2023-38037 [MEDIUM] CVE-2023-38037: rails - ActiveSupport::EncryptedFile writes contents that will be encrypted to a
tempor...
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.
Scope: local
bookworm: resolved (fixed in 2:6.1.7.10+dfsg-1~deb12u1)
bullseye: resolved (fixed in 2:6.0.3.7+dfsg-2+deb11u3)
forky: resolved (fixed in 2:7.2.2.1+dfsg-1)
sid: resolved (fixed in 2:7.2.2.1+dfsg-1)
trixie: resolved (fixed in 2:7.2.2.1+dfsg-1)
OSV
CVE-2023-38037: ActiveSupport::EncryptedFile writes contents that will be encrypted to a temporary file
osv·2025-01-09·CVSS 5.5
CVE-2023-38037 [MEDIUM] CVE-2023-38037: ActiveSupport::EncryptedFile writes contents that will be encrypted to a temporary file
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.
GHSA
Active Support Possibly Discloses Locally Encrypted Files
ghsa·2023-08-23·CVSS 5.5
CVE-2023-38037 [MEDIUM] CWE-377 Active Support Possibly Discloses Locally Encrypted Files
Active Support Possibly Discloses Locally Encrypted Files
There is a possible file disclosure of locally encrypted files in Active Support. This vulnerability has been assigned the CVE identifier CVE-2023-38037.
Versions Affected: >= 5.2.0 Not affected: < 5.2.0 Fixed Versions: 7.0.7.1, 6.1.7.5
# Impact
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 wor
OSV
Active Support Possibly Discloses Locally Encrypted Files
osv·2023-08-23·CVSS 5.5
CVE-2023-38037 [MEDIUM] Active Support Possibly Discloses Locally Encrypted Files
Active Support Possibly Discloses Locally Encrypted Files
There is a possible file disclosure of locally encrypted files in Active Support. This vulnerability has been assigned the CVE identifier CVE-2023-38037.
Versions Affected: >= 5.2.0 Not affected: < 5.2.0 Fixed Versions: 7.0.7.1, 6.1.7.5
# Impact
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 wor
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2025-01-09
Published