Ruby/activesupport/7.0.4.3


A toolkit of support libraries and Ruby core extensions extracted from the Rails framework. Rich support for multibyte strings, internationalization, time zones, and testing.

https://rubygems.org/gems/activesupport
MIT

2 Security Vulnerabilities

Active Support Possibly Discloses Locally Encrypted Files

Published date: 2023-08-23T20:36:24Z
CVE: CVE-2023-38037
Links:

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 workarounds immediately.

Releases

The fixed releases are available at the normal locations.

Workarounds

To work around this issue, you can set your umask to be more restrictive like this:

$ umask 0077

Affected versions: ["7.0.0", "7.0.1", "7.0.2", "7.0.2.1", "7.0.2.2", "7.0.2.3", "7.0.2.4", "7.0.3", "7.0.3.1", "7.0.4", "7.0.4.1", "7.0.4.2", "7.0.4.3", "7.0.5", "7.0.5.1", "7.0.6", "7.0.7", "6.0.3.3", "6.0.3.1", "6.0.2.2", "6.0.2.1", "6.0.2.rc2", "6.0.2.rc1", "6.0.0", "6.0.0.rc2", "6.0.0.beta3", "5.2.4.3", "5.2.4", "5.2.3.rc1", "5.2.2.1", "5.2.2", "5.2.1", "5.2.1.rc1", "5.2.0", "6.1.0.rc1", "6.0.3.4", "6.0.3.2", "6.0.3", "6.0.3.rc1", "6.0.2", "6.0.1", "6.0.1.rc1", "6.0.0.rc1", "6.0.0.beta2", "6.0.0.beta1", "5.2.4.4", "5.2.4.2", "5.2.4.1", "5.2.4.rc1", "5.2.3", "5.2.2.rc1", "5.2.1.1", "6.1.0.rc2", "6.1.0", "6.1.1", "6.1.2", "6.0.3.5", "5.2.4.5", "6.1.2.1", "6.1.3", "6.1.3.1", "6.0.3.6", "5.2.5", "6.0.3.7", "5.2.6", "5.2.4.6", "6.1.3.2", "6.0.4", "6.1.4", "6.0.4.1", "6.1.4.1", "6.1.4.2", "6.0.4.3", "6.1.4.3", "6.0.4.2", "6.1.4.4", "6.0.4.4", "6.1.4.6", "6.1.4.5", "6.0.4.6", "6.0.4.5", "5.2.6.2", "5.2.6.1", "6.0.4.7", "5.2.6.3", "6.1.4.7", "6.1.5", "5.2.7", "6.0.4.8", "5.2.7.1", "6.1.5.1", "6.1.6", "5.2.8", "6.0.5", "6.1.6.1", "5.2.8.1", "6.0.5.1", "6.1.7", "6.0.6", "6.1.7.1", "6.0.6.1", "6.1.7.2", "6.1.7.3", "6.1.7.4"]
Secure versions: [6.1.7.10, 6.1.7.5, 6.1.7.6, 6.1.7.7, 6.1.7.8, 6.1.7.9, 7.0.7.1, 7.0.7.2, 7.0.8, 7.0.8.1, 7.0.8.2, 7.0.8.3, 7.0.8.4, 7.0.8.5, 7.0.8.6, 7.0.8.7, 7.1.0, 7.1.0.beta1, 7.1.0.rc1, 7.1.0.rc2, 7.1.1, 7.1.2, 7.1.3, 7.1.3.1, 7.1.3.2, 7.1.3.3, 7.1.3.4, 7.1.4, 7.1.4.1, 7.1.4.2, 7.1.5, 7.1.5.1, 7.2.0, 7.2.0.beta1, 7.2.0.beta2, 7.2.0.beta3, 7.2.0.rc1, 7.2.1, 7.2.1.1, 7.2.1.2, 7.2.2, 7.2.2.1, 8.0.0, 8.0.0.1, 8.0.0.beta1, 8.0.0.rc1, 8.0.0.rc2, 8.0.1, 8.0.2]
Recommendation: Update to version 8.0.2.

Possible File Disclosure of Locally Encrypted Files

Published date: 2023-08-23
Framework: rails
CVE: 2023-38037
CVSS V3: 5.5
Links:

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 workarounds immediately.

Releases

The fixed releases are available at the normal locations.

Workarounds

To work around this issue, you can set your umask to be more restrictive like this:

$ umask 0077

Affected versions: ["6.0.3.3", "6.0.3.1", "6.0.2.2", "6.0.2.1", "6.0.2.rc2", "6.0.2.rc1", "6.0.0", "6.0.0.rc2", "6.0.0.beta3", "5.2.4.3", "5.2.4", "5.2.3.rc1", "5.2.2.1", "5.2.2", "5.2.1", "5.2.1.rc1", "5.2.0", "6.1.0.rc1", "6.0.3.4", "6.0.3.2", "6.0.3", "6.0.3.rc1", "6.0.2", "6.0.1", "6.0.1.rc1", "6.0.0.rc1", "6.0.0.beta2", "6.0.0.beta1", "5.2.4.4", "5.2.4.2", "5.2.4.1", "5.2.4.rc1", "5.2.3", "5.2.2.rc1", "5.2.1.1", "6.1.0.rc2", "6.1.0", "6.1.1", "6.1.2", "6.0.3.5", "5.2.4.5", "6.1.2.1", "6.1.3", "6.1.3.1", "6.0.3.6", "5.2.5", "6.0.3.7", "5.2.6", "5.2.4.6", "6.1.3.2", "6.0.4", "6.1.4", "6.0.4.1", "6.1.4.1", "7.0.0.alpha1", "7.0.0.alpha2", "7.0.0.rc1", "7.0.0.rc2", "6.1.4.2", "6.0.4.3", "7.0.0.rc3", "6.1.4.3", "6.0.4.2", "6.1.4.4", "6.0.4.4", "7.0.0", "7.0.1", "7.0.2", "7.0.2.1", "7.0.2.2", "6.1.4.6", "6.1.4.5", "6.0.4.6", "6.0.4.5", "5.2.6.2", "5.2.6.1", "7.0.2.3", "6.0.4.7", "5.2.6.3", "6.1.4.7", "6.1.5", "5.2.7", "6.0.4.8", "5.2.7.1", "7.0.2.4", "6.1.5.1", "7.0.3", "6.1.6", "5.2.8", "6.0.5", "6.1.6.1", "5.2.8.1", "7.0.3.1", "6.0.5.1", "6.1.7", "7.0.4", "6.0.6", "7.0.4.1", "6.1.7.1", "6.0.6.1", "7.0.4.2", "6.1.7.2", "7.0.4.3", "6.1.7.3", "7.0.5", "7.0.5.1", "6.1.7.4", "7.0.6", "7.0.7"]
Secure versions: [6.1.7.10, 6.1.7.5, 6.1.7.6, 6.1.7.7, 6.1.7.8, 6.1.7.9, 7.0.7.1, 7.0.7.2, 7.0.8, 7.0.8.1, 7.0.8.2, 7.0.8.3, 7.0.8.4, 7.0.8.5, 7.0.8.6, 7.0.8.7, 7.1.0, 7.1.0.beta1, 7.1.0.rc1, 7.1.0.rc2, 7.1.1, 7.1.2, 7.1.3, 7.1.3.1, 7.1.3.2, 7.1.3.3, 7.1.3.4, 7.1.4, 7.1.4.1, 7.1.4.2, 7.1.5, 7.1.5.1, 7.2.0, 7.2.0.beta1, 7.2.0.beta2, 7.2.0.beta3, 7.2.0.rc1, 7.2.1, 7.2.1.1, 7.2.1.2, 7.2.2, 7.2.2.1, 8.0.0, 8.0.0.1, 8.0.0.beta1, 8.0.0.rc1, 8.0.0.rc2, 8.0.1, 8.0.2]
Recommendation: Update to version 8.0.2.

483 Other Versions

Version License Security Released
4.0.6.rc2 MIT 8 2014-06-16 - 16:14 about 11 years
4.0.6.rc1 MIT 8 2014-05-27 - 16:05 about 11 years
4.0.5 MIT 8 2014-05-06 - 16:12 about 11 years
4.0.4 MIT 8 2014-03-14 - 17:36 over 11 years
4.0.4.rc1 MIT 8 2014-03-11 - 17:30 over 11 years
4.0.3 MIT 8 2014-02-18 - 18:48 over 11 years
4.0.2 MIT 8 2013-12-03 - 19:01 over 11 years
4.0.1 MIT 8 2013-11-01 - 19:07 over 11 years
4.0.1.rc4 MIT 8 2013-10-30 - 20:49 over 11 years
4.0.1.rc3 MIT 8 2013-10-23 - 21:40 over 11 years
4.0.1.rc2 MIT 8 2013-10-21 - 21:56 over 11 years
4.0.1.rc1 MIT 8 2013-10-17 - 16:46 over 11 years
4.0.0 MIT 8 2013-06-25 - 14:31 about 12 years
4.0.0.rc2 MIT 7 2013-06-11 - 20:24 about 12 years
4.0.0.rc1 MIT 7 2013-04-29 - 15:38 about 12 years
4.0.0.beta1 MIT 7 2013-02-26 - 00:04 over 12 years
3.2.22.5 MIT 5 2016-09-14 - 21:18 almost 9 years
3.2.22.4 MIT 6 2016-08-11 - 19:20 almost 9 years
3.2.22.3 MIT 6 2016-08-11 - 17:34 almost 9 years
3.2.22.2 MIT 6 2016-02-29 - 19:22 over 9 years
3.2.22.1 MIT 6 2016-01-25 - 19:25 over 9 years
3.2.22 MIT 6 2015-06-16 - 18:05 about 10 years
3.2.21 MIT 8 2014-11-17 - 16:00 over 10 years
3.2.20 MIT 8 2014-10-30 - 18:37 over 10 years
3.2.19 MIT 8 2014-07-02 - 17:01 almost 11 years
3.2.18 MIT 8 2014-05-06 - 16:15 about 11 years
3.2.17 MIT 8 2014-02-18 - 18:54 over 11 years
3.2.16 MIT 8 2013-12-03 - 19:01 over 11 years
3.2.15 MIT 8 2013-10-16 - 17:23 over 11 years
3.2.15.rc3 MIT 8 2013-10-11 - 21:17 over 11 years
3.2.15.rc2 MIT 8 2013-10-04 - 20:48 over 11 years
3.2.15.rc1 MIT 8 2013-10-03 - 18:54 over 11 years
3.2.14 MIT 8 2013-07-22 - 16:44 almost 12 years
3.2.14.rc2 MIT 8 2013-07-16 - 16:13 almost 12 years
3.2.14.rc1 MIT 8 2013-07-13 - 00:25 almost 12 years
3.2.13 UNKNOWN 8 2013-03-18 - 17:13 over 12 years
3.2.13.rc2 UNKNOWN 10 2013-03-06 - 23:06 over 12 years
3.2.13.rc1 UNKNOWN 10 2013-02-27 - 20:25 over 12 years
3.2.12 UNKNOWN 10 2013-02-11 - 18:17 over 12 years
3.2.11 UNKNOWN 10 2013-01-08 - 20:08 over 12 years
3.2.10 UNKNOWN 10 2013-01-02 - 21:19 over 12 years
3.2.9 UNKNOWN 10 2012-11-12 - 15:21 over 12 years
3.2.9.rc3 UNKNOWN 10 2012-11-09 - 18:00 over 12 years
3.2.9.rc2 UNKNOWN 10 2012-11-01 - 17:39 over 12 years
3.2.9.rc1 UNKNOWN 10 2012-10-29 - 17:07 over 12 years
3.2.8 UNKNOWN 10 2012-08-09 - 21:23 almost 13 years
3.2.8.rc2 UNKNOWN 12 2012-08-03 - 14:28 almost 13 years
3.2.8.rc1 UNKNOWN 12 2012-08-01 - 20:57 almost 13 years
3.2.7 UNKNOWN 12 2012-07-26 - 22:08 almost 13 years
3.2.7.rc1 UNKNOWN 12 2012-07-23 - 21:45 almost 13 years