CVE-2026-22701 (CNNVD-202601-1733)
中文标题:
filelock 安全漏洞
英文标题:
filelock Time-of-Check-Time-of-Use (TOCTOU) Symlink Vulnerability in SoftFileLock
漏洞描述
中文描述:
filelock是tox development team开源的一个Python文件锁。 filelock 3.20.3之前版本存在安全漏洞,该漏洞源于SoftFileLock实现中存在TOCTOU竞争条件,可能导致锁定操作失败或行为异常。
英文描述:
filelock is a platform-independent file lock for Python. Prior to version 3.20.3, a TOCTOU race condition vulnerability exists in the SoftFileLock implementation of the filelock package. An attacker with local filesystem access and permission to create symlinks can exploit a race condition between the permission validation and file creation to cause lock operations to fail or behave unexpectedly. The vulnerability occurs in the _acquire() method between raise_on_not_writable_file() (permission check) and os.open() (file creation). During this race window, an attacker can create a symlink at the lock file path, potentially causing the lock to operate on an unintended target file or leading to denial of service. This issue has been patched in version 3.20.3.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| tox-dev | filelock | < 3.20.3 | - | - |
cpe:2.3:a:tox-dev:filelock:<_3.20.3:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
参考链接
cve.org
cve.org
cve.org
CVSS评分详情
3.1 (cna)
MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2026-22701 |
2026-01-11 02:02:50 | 2026-01-12 02:12:39 |
| NVD | nvd_CVE-2026-22701 |
2026-01-11 03:00:07 | 2026-01-12 02:28:17 |
| CNNVD | cnnvd_CNNVD-202601-1733 |
2026-01-13 07:38:23 | 2026-01-13 07:41:16 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 其他
- cnnvd_id: 未提取 -> CNNVD-202601-1733
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- data_sources: ['cve'] -> ['cve', 'nvd']