PNPM Lockfile v9 support #6503
Closed
willem-delbare
started this conversation in
Ideas
Replies: 2 comments
-
The format looks much different. It's not a bug but a new feature. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Created #6510 to update documentation. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
When running trivy on the new PNPM v9 lockfiles, Trivy detects incorrect versions
Desired Behavior
Correctly parse the new (slightly altered) lockfile format
Actual Behavior
Mixes versions of different packages
Reproduction Steps
lockfile version 8: (pnpm-lock.yaml)
When scanning above file, no issues are found (correct behavior)
Lockfile version 9: (pnpm-lock.yaml)
Result: Trivy finds critical CVE-2019-10744 in lodash because it believes lodash 4.17.0 is installed (it is not)
Target
Filesystem
Scanner
Vulnerability
Output Format
Table
Mode
Standalone
Debug Output
Operating System
Windows+Linux
Version
Checklist
trivy image --reset
Beta Was this translation helpful? Give feedback.
All reactions