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

exploitDog

nvd логотип

CVE-2022-23651

Опубликовано: 23 фев. 2022
Источник: nvd
CVSS3: 4.7
CVSS2: 1.9
EPSS Низкий

Описание

b2-sdk-python is a python library to access cloud storage provided by backblaze. Linux and Mac releases of the SDK version 1.14.0 and below contain a key disclosure vulnerability that, in certain conditions, can be exploited by local attackers through a time-of-check-time-of-use (TOCTOU) race condition. SDK users of the SqliteAccountInfo format are vulnerable while users of the InMemoryAccountInfo format are safe. The SqliteAccountInfo saves API keys (and bucket name-to-id mapping) in a local database file ($XDG_CONFIG_HOME/b2/account_info, ~/.b2_account_info or a user-defined path). When first created, the file is world readable and is (typically a few milliseconds) later altered to be private to the user. If the directory containing the file is readable by a local attacker then during the brief period between file creation and permission modification, a local attacker can race to open the file and maintain a handle to it. This allows the local attacker to read the contents after the

Уязвимые конфигурации

Конфигурация 1

Одно из

cpe:2.3:a:backblaze:b2_python_software_development_kit:*:*:*:*:*:linux:*:*
Версия до 1.14.0 (включая)
cpe:2.3:a:backblaze:b2_python_software_development_kit:*:*:*:*:*:mac:*:*
Версия до 1.14.0 (включая)

EPSS

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

4.7 Medium

CVSS3

1.9 Low

CVSS2

Дефекты

CWE-367

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

CVSS3: 4.7
github
почти 4 года назад

b2-sdk-python TOCTOU application key disclosure

EPSS

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

4.7 Medium

CVSS3

1.9 Low

CVSS2

Дефекты

CWE-367