fix(deps): update dependency @babel/runtime-corejs3 to v7.26.10 [security]#763
Conversation
|
321ccd6 to
4cc2a15
Compare
e53bb90 to
e3a4b0a
Compare
e3a4b0a to
8101c09
Compare
8101c09 to
56bf203
Compare
56bf203 to
1b8a10e
Compare
…tps://github.com/commercetools/test-data into renovate/npm-babel-runtime-corejs3-vulnerability
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This PR contains the following updates:
7.26.0->7.26.10GitHub Vulnerability Alerts
CVE-2025-27789
Impact
When using Babel to compile regular expression named capturing groups, Babel will generate a polyfill for the
.replacemethod that has quadratic complexity on some specific replacement pattern strings (i.e. the second argument passed to.replace).Your generated code is vulnerable if all the following conditions are true:
.replacemethod on a regular expression that contains named capturing groups.replaceIf you are using
@babel/preset-envwith thetargetsoption, the transform that injects the vulnerable code is automatically enabled if:You can verify what transforms
@babel/preset-envis using by enabling thedebugoption.Patches
This problem has been fixed in
@babel/helpersand@babel/runtime7.26.10 and 8.0.0-alpha.17, please upgrade. It's likely that you do not directly depend on@babel/helpers, and instead you depend on@babel/core(which itself depends on@babel/helpers). Upgrading to@babel/core7.26.10 is not required, but it guarantees that you are on a new enough@babel/helpersversion.Please note that just updating your Babel dependencies is not enough: you will also need to re-compile your code.
Workarounds
If you are passing user-provided strings as the second argument of
.replaceon regular expressions that contain named capturing groups, validate the input and make sure it does not contain the substring$<if it's then not followed by>(possibly with other characters in between).References
This vulnerability was reported and fixed in https://github.com/babel/babel/pull/17173.
Release Notes
babel/babel (@babel/runtime-corejs3)
v7.26.10Compare Source
👓 Spec Compliance
babel-parser🐛 Bug Fix
babel-parser,babel-templatebabel-corebabel-parser,babel-plugin-transform-typescriptbabel-traversebabel-generatorabstract override(@liuxingbaoyu)babel-parserbabel-helpers,babel-runtime,babel-runtime-corejs2,babel-runtime-corejs3💅 Polish
babel-standalone🏠 Internal
babel-parserv7.26.9Compare Source
🐛 Bug Fix
babel-typesTSPropertySignature.kind(@liuxingbaoyu)babel-generator,babel-types🏠 Internal
babel-types.tsfiles with explicit reexports to solve name conflicts (@nicolo-ribaudo)babel-core@types/gensyncin Babel 7 (@nicolo-ribaudo)v7.26.7Compare Source
🐛 Bug Fix
babel-helpers,babel-preset-env,babel-runtime-corejs3babel-plugin-transform-typeof-symboltypeofin arrow functions (@liuxingbaoyu)babel-parserrangesoption in estree method value (@JLHwung)babel-corebabel-plugin-transform-typescriptbabel-plugin-transform-typescript,babel-traverse,babel-typesimport x = y.z(@liuxingbaoyu)Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.