CVE-2026-23996

LOW
中文标题:
(暂无数据)
英文标题:
FastAPI Api Key has a timing side-channel in verify_key that allows statistical key validity detection
CVSS分数: 3.7
发布时间: 2026-01-21 22:29:24
漏洞类型: (暂无数据)
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v2
漏洞描述
中文描述:

(暂无数据)

英文描述:

FastAPI Api Key provides a backend-agnostic library that provides an API key system. Version 1.1.0 has a timing side-channel vulnerability in verify_key(). The method applied a random delay only on verification failures, allowing an attacker to statistically distinguish valid from invalid API keys by measuring response latencies. With enough repeated requests, an adversary could infer whether a key_id corresponds to a valid key, potentially accelerating brute-force or enumeration attacks. All users relying on verify_key() for API key authentication prior to the fix are affected. Users should upgrade to version 1.1.0 to receive a patch. The patch applies a uniform random delay (min_delay to max_delay) to all responses regardless of outcome, eliminating the timing correlation. Some workarounds are available. Add an application-level fixed delay or random jitter to all authentication responses (success and failure) before the fix is applied and/or use rate limiting to reduce the feasibility of statistical timing attacks.

CWE类型:
CWE-208
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
Athroniaeth fastapi-api-key < 1.1.0 - - cpe:2.3:a:athroniaeth:fastapi-api-key:<_1.1.0:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/Athroniaeth/fastapi-api-key/security/advisories/GHSA-95c6-p277-p87g x_refsource_CONFIRM
cve.org
访问
https://github.com/Athroniaeth/fastapi-api-key/commit/310b2c5c77305f38c63c0b917539a0344071dfd8 x_refsource_MISC
cve.org
访问
https://github.com/Athroniaeth/fastapi-api-key/releases/tag/1.1.0 x_refsource_MISC
cve.org
访问
CVSS评分详情
3.1 (cna)
LOW
3.7
CVSS向量: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
机密性
LOW
完整性
NONE
可用性
NONE
时间信息
发布时间:
2026-01-21 22:29:24
修改时间:
2026-01-21 22:29:24
创建时间:
2026-01-22 06:00:11
更新时间:
2026-01-22 06:00:14
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2026-23996 2026-01-22 03:19:50 2026-01-21 22:00:11
NVD nvd_CVE-2026-23996 2026-01-22 02:00:05 2026-01-21 22:00:14
版本与语言
当前版本: v2
主要语言: EN
支持语言:
EN
安全公告
暂无安全公告信息
变更历史
v2 NVD
2026-01-22 06:00:14
data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • data_sources: ['cve'] -> ['cve', 'nvd']