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

exploitDog

github логотип

GHSA-6wxm-mpqj-6jpf

Опубликовано: 28 янв. 2025
Источник: github
Github: Прошло ревью
CVSS4: 4.1
CVSS3: 7.1

Описание

Insecure Temporary File usage in github.com/golang/glog

When logs are written to a widely-writable directory (the default), an unprivileged attacker may predict a privileged process's log file path and pre-create a symbolic link to a sensitive file in its place. When that privileged process runs, it will follow the planted symlink and overwrite that sensitive file. To fix that, glog now causes the program to exit (with status code 2) when it finds that the configured log file already exists.

Пакеты

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

github.com/golang/glog

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

< 1.2.4

1.2.4

EPSS

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

4.1 Medium

CVSS4

7.1 High

CVSS3

Дефекты

CWE-377
CWE-61

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

CVSS3: 7.1
ubuntu
7 месяцев назад

When logs are written to a widely-writable directory (the default), an unprivileged attacker may predict a privileged process's log file path and pre-create a symbolic link to a sensitive file in its place. When that privileged process runs, it will follow the planted symlink and overwrite that sensitive file. To fix that, glog now causes the program to exit (with status code 2) when it finds that the configured log file already exists.

CVSS3: 7.1
redhat
7 месяцев назад

When logs are written to a widely-writable directory (the default), an unprivileged attacker may predict a privileged process's log file path and pre-create a symbolic link to a sensitive file in its place. When that privileged process runs, it will follow the planted symlink and overwrite that sensitive file. To fix that, glog now causes the program to exit (with status code 2) when it finds that the configured log file already exists.

CVSS3: 7.1
nvd
7 месяцев назад

When logs are written to a widely-writable directory (the default), an unprivileged attacker may predict a privileged process's log file path and pre-create a symbolic link to a sensitive file in its place. When that privileged process runs, it will follow the planted symlink and overwrite that sensitive file. To fix that, glog now causes the program to exit (with status code 2) when it finds that the configured log file already exists.

CVSS3: 7.1
msrc
7 месяцев назад

Описание отсутствует

CVSS3: 7.1
debian
7 месяцев назад

When logs are written to a widely-writable directory (the default), an ...

EPSS

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

4.1 Medium

CVSS4

7.1 High

CVSS3

Дефекты

CWE-377
CWE-61