Skip to content

fix: resolve critical security vulnerability in execa dependency#150

Merged
herzykj merged 1 commit intoakamai:masterfrom
mgwoj:security/update-vulnerable-dependencies
Dec 23, 2025
Merged

fix: resolve critical security vulnerability in execa dependency#150
herzykj merged 1 commit intoakamai:masterfrom
mgwoj:security/update-vulnerable-dependencies

Conversation

@mgwoj
Copy link
Contributor

@mgwoj mgwoj commented Dec 23, 2025

This commit addresses a critical security vulnerability (GMS-2020-2, CVSS 9.8) in the execa package, which is a transitive dependency through shelljs.

Changes Made

  • Added npm override to force execa version upgrade from 1.0.0 to 9.6.1
  • Updated package-lock.json with new dependency tree
  • Verified build still works correctly with updated dependencies

Vulnerability Details

  • Package: execa@1.0.0 (transitive dependency via shelljs@0.9.2)
  • CVE: GMS-2020-2
  • Severity: CRITICAL (CVSS 9.8)
  • Category: OWASP Top Ten 2017 A9 - Using Components with Known Vulnerabilities
  • Fix: Upgrade to execa >= 2.0.0

This commit addresses a critical security vulnerability (GMS-2020-2, CVSS 9.8)
in the execa package, which is a transitive dependency through shelljs.

## Changes Made

- Added npm override to force execa version upgrade from 1.0.0 to 9.6.1
- Updated package-lock.json with new dependency tree
- Verified build still works correctly with updated dependencies

## Vulnerability Details

- **Package**: execa@1.0.0 (transitive dependency via shelljs@0.9.2)
- **CVE**: GMS-2020-2
- **Severity**: CRITICAL (CVSS 9.8)
- **Category**: OWASP Top Ten 2017 A9 - Using Components with Known Vulnerabilities
- **Fix**: Upgrade to execa >= 2.0.0

## Testing

- ✅ npm install completes successfully
- ✅ npm run build completes without errors
- ✅ npm audit reports 0 vulnerabilities
- ✅ execa now resolved to version 9.6.1

## Related

This fix was identified through Docker Scout vulnerability scanning of
the akamai/sandbox Docker image which bundles this CLI tool.

Co-authored-by: GitHub Copilot <github-copilot@github.com>
@herzykj herzykj self-requested a review December 23, 2025 09:52
@herzykj herzykj merged commit 94a93d9 into akamai:master Dec 23, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants