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

exploitDog

github логотип

GHSA-j5fj-rfh6-qj85

Опубликовано: 12 мая 2023
Источник: github
Github: Прошло ревью
CVSS4: 7.1
CVSS3: 5.5

Описание

Planet's secret file is created with excessive permissions

Impact

The secret file stores the user's Planet API authentication information. It should only be accessible by the user, but its permissions allowed the user's group and non-group to read the file as well.

Validation

Check the permissions on the secret file with ls -l ~/.planet.json and ensure that they read as -rw-------

Patches

d71415a8

Workarounds

Set the secret file permissions to only user read/write by hand:

chmod 600 ~/.planet.json

Пакеты

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

planet

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

< 2.0.1

2.0.1

EPSS

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

7.1 High

CVSS4

5.5 Medium

CVSS3

Дефекты

CWE-732

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

CVSS3: 5.2
nvd
больше 2 лет назад

Planet is software that provides satellite data. The secret file stores the user's Planet API authentication information. It should only be accessible by the user, but before version 2.0.1, its permissions allowed the user's group and non-group to read the file as well. This issue was patched in version 2.0.1. As a workaround, set the secret file permissions to only user read/write by hand.

EPSS

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

7.1 High

CVSS4

5.5 Medium

CVSS3

Дефекты

CWE-732