karma-runner / karma-runner/karma
Critical vulnerability: Insufficient validation when decoding a Socket.IO packet
- Dominant language
- JavaScript
- Stars
- 12k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
We are currently facing a critical vulnerability in our project that depends on karma.
https://github.com/advisories/GHSA-qm95-pgcg-qqfq
Steps to reproduce:
`npm install`
`npm audit`
Console message:
```
├─ socket.io-parser: 4.0.4
│ ├─ Issue: Insufficient validation when decoding a Socket.IO packet
│ ├─ URL: https://github.com/advisories/GHSA-qm95-pgcg-qqfq
│ ├─ Severity: critical
│ ├─ Vulnerable Versions:
│ ├─ Patched Versions: >=4.0.5
│ ├─ Via: karma, karma-htmlfile-reporter, karma-jasmine-html-reporter
│ └─ Recommendation: Upgrade to version 4.0.5 or later
```
Thank you in advance.
Contributor guide
Research direction
Start by inspecting the repository's dependency declarations, then run the reported npm install and npm audit commands. Confirm that the Socket.IO parser dependency is at least 4.0.5 and that the critical audit finding is no longer reported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- security, testing-qa
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100