目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2025-27789— Babel 安全漏洞

一分钟漏洞结论

影响对象
babel babel
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Babel是Babel开源的一个 JavaScript 的编译器。 Babel 7.26.10之前版本和8.0.0-alpha.17之前版本存在安全漏洞,该漏洞源于编译正则表达式命名捕获组时生成的.replace方法在某些特定替换模式字符串上具有二次复杂度,可能导致资源消耗增加。

CVSS 6.2 · Medium EPSS 0.56% · P45

可能的 ATT&CK 技术 1 AI

T1496 · Resource Hijacking
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2025-27789 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Inefficient RexExp complexity in generated code with .replace when transpiling named capturing groups
来源: CVE Program / CVE List V5
Vulnerability Description
Babel is a compiler for writing next generation JavaScript. When using versions of Babel prior to 7.26.10 and 8.0.0-alpha.17 to compile regular expression named capturing groups, Babel will generate a polyfill for the `.replace` method that has quadratic complexity on some specific replacement pattern strings (i.e. the second argument passed to `.replace`). Generated code is vulnerable if all the following conditions are true: Using Babel to compile regular expression named capturing groups, using the `.replace` method on a regular expression that contains named capturing groups, and the code using untrusted strings as the second argument of `.replace`. This problem has been fixed in `@babel/helpers` and `@babel/runtime` 7.26.10 and 8.0.0-alpha.17. It's likely that individual users do not directly depend on `@babel/helpers`, and instead depend on `@babel/core` (which itself depends on `@babel/helpers`). Upgrading to `@babel/core` 7.26.10 is not required, but it guarantees use of a new enough `@babel/helpers` version. Note that just updating Babel dependencies is not enough; one will also need to re-compile the code. No known workarounds are available.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
CWE-1333
来源: CVE Program / CVE List V5
Vulnerability Title
Babel 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Babel是Babel开源的一个 JavaScript 的编译器。 Babel 7.26.10之前版本和8.0.0-alpha.17之前版本存在安全漏洞,该漏洞源于编译正则表达式命名捕获组时生成的.replace方法在某些特定替换模式字符串上具有二次复杂度,可能导致资源消耗增加。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
babel babel < 7.26.10 -

二、漏洞 CVE-2025-27789 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2025-27789 的情报信息

请登录查看更多情报信息。

CVE-2025-27789 补丁与修复 (1)

CVE-2025-27789 厂商安全公告 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-27789

暂无评论


发表评论