Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address CVEs on @babel/helpers, @babel/runtime, axios and serialize-javascript #1475

Merged
merged 1 commit into from
Mar 13, 2025

Conversation

Antonio-Maranhao
Copy link
Contributor

Overview

Address CVEs identified by npm audit on @babel/helpers, @babel/runtime, axios and serialize-javascript:

@babel/helpers  <7.26.10
Severity: moderate
Babel has inefficient RexExp complexity in generated code with .replace when transpiling named capturing groups - https://github.com/advisories/GHSA-968p-4wvh-cqc8
fix available via `npm audit fix`
node_modules/@babel/helpers

@babel/runtime  <7.26.10
Severity: moderate
Babel has inefficient RexExp complexity in generated code with .replace when transpiling named capturing groups - https://github.com/advisories/GHSA-968p-4wvh-cqc8
fix available via `npm audit fix`
node_modules/@babel/runtime

axios  <1.8.2
Severity: high
axios Requests Vulnerable To Possible SSRF and Credential Leakage via Absolute URL - https://github.com/advisories/GHSA-jr5f-v2jv-69x6
fix available via `npm audit fix`
node_modules/axios

serialize-javascript  6.0.0 - 6.0.1
Severity: moderate
Cross-site Scripting (XSS) in serialize-javascript - https://github.com/advisories/GHSA-76p7-773f-r4q5
fix available via `npm audit fix --force`
Will install nightwatch@1.7.13, which is a breaking change
node_modules/serialize-javascript
  mocha  9.0.2 - 10.5.2
  Depends on vulnerable versions of serialize-javascript
  node_modules/mocha
    nightwatch  0.2.3-preview.1 || >=2.0.0-alpha.1
    Depends on vulnerable versions of mocha
    node_modules/nightwatch

6 vulnerabilities (5 moderate, 1 high)

Testing recommendations

CI should pass

GitHub issue number

n/a

Related Pull Requests

n/a

Checklist

  • Code is written and works correctly;
  • Changes are covered by tests;
  • Documentation reflects the changes;
  • Update rebar.config.script with the correct tag once a new Fauxton release is made

@Antonio-Maranhao Antonio-Maranhao merged commit caa6778 into apache:main Mar 13, 2025
3 checks passed
@Antonio-Maranhao Antonio-Maranhao deleted the address-cves-on-deps branch March 13, 2025 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants