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

exploitDog

github логотип

GHSA-frp2-5qfc-7r8m

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

Описание

request_store has Incorrect Default Permissions

Impact

The files published as part of request_store 1.3.2 have 0666 permissions, meaning that they are world-writable, which allows local users to execute arbitrary code.

This version was published in 2017, and most production environments do not allow access for local users, so the chances of this being exploited are very low, given that the vast majority of users will have upgraded, and those that have not, if any, are not likely to be exposed.

Patches

I am not aware of any other version of the gem with incorrect permissions, so simply upgrading should fix the issue.

Workarounds

You could chmod the files yourself, I guess.

References

https://cwe.mitre.org/data/definitions/276.html

Пакеты

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

request_store

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

= 1.3.2

1.4.0

EPSS

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

5.9 Medium

CVSS4

7.8 High

CVSS3

Дефекты

CWE-276

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

CVSS3: 7.8
ubuntu
больше 1 года назад

RequestStore provides per-request global storage for Rack. The files published as part of request_store 1.3.2 have 0666 permissions, meaning that they are world-writable, which allows local users to execute arbitrary code. This version was published in 2017, and most production environments do not allow access for local users, so the chances of this being exploited are very low, given that the vast majority of users will have upgraded, and those that have not, if any, are not likely to be exposed.

CVSS3: 7.8
redhat
больше 1 года назад

RequestStore provides per-request global storage for Rack. The files published as part of request_store 1.3.2 have 0666 permissions, meaning that they are world-writable, which allows local users to execute arbitrary code. This version was published in 2017, and most production environments do not allow access for local users, so the chances of this being exploited are very low, given that the vast majority of users will have upgraded, and those that have not, if any, are not likely to be exposed.

CVSS3: 7.8
nvd
больше 1 года назад

RequestStore provides per-request global storage for Rack. The files published as part of request_store 1.3.2 have 0666 permissions, meaning that they are world-writable, which allows local users to execute arbitrary code. This version was published in 2017, and most production environments do not allow access for local users, so the chances of this being exploited are very low, given that the vast majority of users will have upgraded, and those that have not, if any, are not likely to be exposed.

CVSS3: 7.8
debian
больше 1 года назад

RequestStore provides per-request global storage for Rack. The files p ...

EPSS

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

5.9 Medium

CVSS4

7.8 High

CVSS3

Дефекты

CWE-276