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

exploitDog

debian логотип

CVE-2022-1348

Опубликовано: 25 мая 2022
Источник: debian
EPSS Низкий

Описание

A vulnerability was found in logrotate in how the state file is created. The state file is used to prevent parallel executions of multiple instances of logrotate by acquiring and releasing a file lock. When the state file does not exist, it is created with world-readable permission, allowing an unprivileged user to lock the state file, stopping any rotation. This flaw affects logrotate versions before 3.20.0.

Пакеты

ПакетСтатусВерсия исправленияРелизТип
logrotatefixed3.20.1-1package
logrotatefixed3.18.0-2+deb11u1bullseyepackage
logrotatenot-affectedbusterpackage
logrotatenot-affectedstretchpackage

Примечания

  • https://www.openwall.com/lists/oss-security/2022/05/25/3

  • Introduced by: https://github.com/logrotate/logrotate/commit/f46d0bdfc9c53515c13880c501f4d2e1e7dd8b25 (3.17.0)

  • https://github.com/logrotate/logrotate/pull/446

  • Fixed by: https://github.com/logrotate/logrotate/commit/1f76a381e2caa0603ae3dbc51ed0f1aa0d6658b9 (3.20.0)

  • Fixed by: https://github.com/logrotate/logrotate/commit/addbd293242b0b78aa54f054e6c1d249451f137d (3.20.1)

  • Packages are built with --with-state-file-path=/var/lib/logrotate/status

  • but /var/lib/logrotate has 0755 permissions, allowing a user to aquire a lock on the file.

EPSS

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

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

CVSS3: 6.5
ubuntu
около 3 лет назад

A vulnerability was found in logrotate in how the state file is created. The state file is used to prevent parallel executions of multiple instances of logrotate by acquiring and releasing a file lock. When the state file does not exist, it is created with world-readable permission, allowing an unprivileged user to lock the state file, stopping any rotation. This flaw affects logrotate versions before 3.20.0.

CVSS3: 6.2
redhat
около 3 лет назад

A vulnerability was found in logrotate in how the state file is created. The state file is used to prevent parallel executions of multiple instances of logrotate by acquiring and releasing a file lock. When the state file does not exist, it is created with world-readable permission, allowing an unprivileged user to lock the state file, stopping any rotation. This flaw affects logrotate versions before 3.20.0.

CVSS3: 6.5
nvd
около 3 лет назад

A vulnerability was found in logrotate in how the state file is created. The state file is used to prevent parallel executions of multiple instances of logrotate by acquiring and releasing a file lock. When the state file does not exist, it is created with world-readable permission, allowing an unprivileged user to lock the state file, stopping any rotation. This flaw affects logrotate versions before 3.20.0.

CVSS3: 6.5
msrc
около 3 лет назад

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

suse-cvrf
около 3 лет назад

Security update for logrotate

EPSS

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