#VU60961 Time-of-check Time-of-use (TOCTOU) Race Condition in B2 Python SDK


Published: 2022-03-02

Vulnerability identifier: #VU60961

Vulnerability risk: Low

CVSSv3.1: 4.1 [CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-23651

CWE-ID: CWE-367

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
B2 Python SDK
Universal components / Libraries / Libraries used by multiple products

Vendor: Backblaze

Description

The vulnerability allows a local user to gain access to potentially sensitive information.

The vulnerability exists due to a time-of-check-time-of-use (TOCTOU) race condition. A local user can gain unauthorized access to sensitive information on the system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

B2 Python SDK: 0.1.4 - 1.14.0


External links
http://github.com/Backblaze/b2-sdk-python/commit/62476638986e5b6d7459aca5ef8ce220760226e0
http://pypi.org/project/b2sdk/
http://github.com/Backblaze/b2-sdk-python/security/advisories/GHSA-p867-fxfr-ph2w


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability