Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-cr5q-6q9f-rq6q

Опубликовано: 23 авг. 2023
Источник: github
Github: Прошло ревью
CVSS3: 5.5

Описание

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 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

Пакеты

Наименование

activesupport

rubygems
Затронутые версииВерсия исправления

>= 5.2.0, < 6.1.7.5

6.1.7.5

Наименование

activesupport

rubygems
Затронутые версииВерсия исправления

>= 7.0.0, < 7.0.7.1

7.0.7.1

EPSS

Процентиль: 21%
0.0007
Низкий

5.5 Medium

CVSS3

Дефекты

CWE-377
CWE-732

Связанные уязвимости

CVSS3: 5.5
ubuntu
около 1 года назад

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.

CVSS3: 3.3
redhat
больше 2 лет назад

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.

CVSS3: 5.5
nvd
около 1 года назад

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.

CVSS3: 5.5
debian
около 1 года назад

ActiveSupport::EncryptedFile writes contents that will be encrypted to ...

suse-cvrf
больше 2 лет назад

Security update for rubygem-activesupport-5.2

EPSS

Процентиль: 21%
0.0007
Низкий

5.5 Medium

CVSS3

Дефекты

CWE-377
CWE-732