Skip to content
Discussion options

You must be logged in to vote

Thank you for the detailed analysis and reproduction steps.

The application/json endpoint is designed to receive JSON generated by vuls scan. In that workflow, non-running kernel packages are already filtered out during the scan phase by parseInstalledPackages()
(e.g., scanner/debian.go#L429-L484), so the performance issue you observed does not occur in the normal usage path.

The JSON in your reproduction was crafted externally and differs from what vuls produces in two ways:

  1. Non-running kernel packages are included — vuls currently filters these out during the scan phase.
  2. SrcPackages keys use - (e.g., "linux-aws-4.4.0-1070.80") — vuls uses the source package name as the key (e.g., "linu…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@knqyf263
Comment options

Answer selected by knqyf263
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #2506 on April 10, 2026 03:13.