Skip to content

Technical guide

Vulnerable dependencies: sort the CVEs that matter

A security advisory says a version is affected, not that your application is exposed. Here is how to read an advisory and decide what to fix first.

Discuss your project

Start from the versions actually installed

The lockfile (package-lock.json, pnpm-lock.yaml, yarn.lock, poetry.lock, uv.lock, Pipfile.lock, Cargo.lock, Gemfile.lock, composer.lock, go.mod) gives the exact version of every package, including those you did not choose yourself. A manifest that asks for ^1.2.0 does not say what is installed. Without a lockfile, no reliable answer is possible.

Read the advisory

An advisory carries an identifier (CVE, GHSA), the affected versions and, when there is one, the fixed version. Its severity describes the worst case in general, not your situation. Check that the installed version is inside the affected range, and that a fixed version exists in a line compatible with yours.

Direct or transitive

A direct dependency is updated in your manifest. A transitive one is fixed by updating the package that brings it in, or by a version override when that package is slow to move. Write down the reason for each override, so that it is removed when no longer needed.

Is the vulnerable part called?

The question that changes the priority: is the affected function used by your code, with data an attacker controls, in what runs in production? A package used only to build or test does not expose the application in the same way, but it remains a risk for the delivery chain. Write the conclusion and its evidence: “not affected, the vulnerable code is not called” is a decision that can be reviewed.

In which order to fix

First what is actively exploited, reachable from the network without authentication, and fixable without a breaking change. Then the rest, in batches, with your tests. Automatic updates proposed as pull requests keep you from piling up years of delay.

What Brunel checks, and its limit

Brunel reads the lockfiles of npm, PyPI, Go, RubyGems, crates.io and Packagist, queries the public OSV database at each analysis, and reports each affected version with the identifier of the advisory and the fixed version when there is one. It does not say whether the vulnerable part is called by your code: that check remains to be done. Without a lockfile, the analysis says so instead of concluding.

Official references

Content reviewed on 27 October 2026. Brunel Cloud is operated by Séverine Kornafel (BloomVPN), a French sole trader. Mathis Torquéau founded the project and leads product and development.

Vulnerable dependencies: sort the CVEs that matter · Brunel