CVE-2025-54365 (CNNVD-202507-3052)

HIGH
中文标题:
fastapi-guard 安全漏洞
英文标题:
fastapi-guard patch contains bypassable RegEx
CVSS分数: 7.8
发布时间: 2025-07-23 22:11:36
漏洞类型: 其他
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

fastapi-guard是Renzo F个人开发者的一个FastAPI的安全库,提供中间件来控制IP、记录请求和检测渗透尝试。 fastapi-guard 3.0.1版本存在安全漏洞,该漏洞源于正则表达式长度限制不当,可能导致绕过防护机制。

英文描述:

fastapi-guard is a security library for FastAPI that provides middleware to control IPs, log requests, detect penetration attempts and more. In version 3.0.1, the regular expression patched to mitigate the ReDoS vulnerability by limiting the length of string fails to catch inputs that exceed this limit. This type of patch fails to detect cases in which the string representing the attributes of a <script> tag exceeds 100 characters. As a result, most of the regex patterns present in version 3.0.1 can be bypassed. This is fixed in version 3.0.2.

CWE类型:
CWE-20 CWE-1333 CWE-185
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
rennf93 fastapi-guard >= 3.0.1, < 3.0.2 - - cpe:2.3:a:rennf93:fastapi-guard:>=_3.0.1,_<_3.0.2:*:*:*:*:*:*:*
fastapi-guard fastapi_guard 3.0.1 - - cpe:2.3:a:fastapi-guard:fastapi_guard:3.0.1:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/rennf93/fastapi-guard/security/advisories/GHSA-rrf6-pxg8-684g x_refsource_CONFIRM
cve.org
访问
https://github.com/rennf93/fastapi-guard/commit/0829292c322d33dc14ab00c5451c5c138148035a x_refsource_MISC
cve.org
访问
https://github.com/rennf93/fastapi-guard/commit/d9d50e8130b7b434cdc1b001b8cfd03a06729f7f x_refsource_MISC
cve.org
访问
CVSS评分详情
4.0 (cna)
HIGH
7.8
CVSS向量: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:P
机密性
NONE
完整性
LOW
可用性
HIGH
后续系统影响 (Subsequent):
机密性
NONE
完整性
NONE
可用性
NONE
时间信息
发布时间:
2025-07-23 22:11:36
修改时间:
2025-07-24 13:36:52
创建时间:
2025-11-11 15:40:42
更新时间:
2025-11-11 16:00:01
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2025-54365 2025-11-11 15:23:28 2025-11-11 07:40:42
NVD nvd_CVE-2025-54365 2025-11-11 15:00:57 2025-11-11 07:48:29
CNNVD cnnvd_CNNVD-202507-3052 2025-11-11 15:12:51 2025-11-11 08:00:01
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 16:00:01
vulnerability_type: 未提取 → 其他; cnnvd_id: 未提取 → CNNVD-202507-3052; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 其他
  • cnnvd_id: 未提取 -> CNNVD-202507-3052
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:48:29
affected_products_count: 1 → 2; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • affected_products_count: 1 -> 2
  • data_sources: ['cve'] -> ['cve', 'nvd']