npm audit reports high-severity vulnerabilities but npm audit fix resolves none in Kafka-UI #4557
Unanswered
lobsangshakya
asked this question in
Q&A
Replies: 2 comments
-
|
This behavior is expected when reported vulnerabilities exist only in transitive dependencies and no compatible patched versions satisfy existing peer dependency constraints. In Kafka-UI’s case, npm audit fix cannot apply updates safely because:
The recommended and safest approaches are:
This approach preserves build stability while avoiding peer dependency breakage. |
Beta Was this translation helpful? Give feedback.
0 replies
-
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
Uh oh!
There was an error while loading. Please reload this page.
-
I am working with Kafka-UI and noticed that npm audit reports several high-severity vulnerabilities, but running npm audit fix results in:
fixed 0 of X vulnerabilities
Even after removing node_modules and regenerating package-lock.json, the warnings persist. This appears to be related to transitive dependencies and peer dependency constraints, where no compatible patched versions are available yet.
Is the recommended approach in this case to:
Manually upgrade specific direct dependencies,
Use npm overrides cautiously, or
Wait for upstream dependency updates from maintainers?
Looking for guidance on the safest way to handle this without breaking peer dependencies or build stability.
Beta Was this translation helpful? Give feedback.
All reactions