How to fix cross-spawn (package.json) vulnerability #8071
Replies: 2 comments 5 replies
-
Hello @nikunjworld Did you run |
Beta Was this translation helpful? Give feedback.
-
Seems this is an issue from It cannot be updated using it's parent package version upgrade as it is transitive dependent package to Tried with below: Still no luck!
|
Beta Was this translation helpful? Give feedback.
-
Question
We have travy enabled on node js project, it is reporting cross-spawn CVE-2024-21538 from version: 7.0.3. Since it is not directly used in package.json however it is indirectly reported from Jest lib which has dependency on execa, so reported vulnerability is from execa lib. So I wanted to know how can I fix it as it is an indirect dependency. Although I added overrides section in package.json as advised from online. But travy is still reporting it, please let me know how to fix it.
"overrides": { "execa":"7.0.0" },
Target
Git Repository
Scanner
Vulnerability
Output Format
None
Mode
None
Operating System
family="alpine" version="3.20.3"
Version
Beta Was this translation helpful? Give feedback.
All reactions