Skip to content

CVEScanner 1.5.1

Choose a tag to compare

@github-actions github-actions released this 22 Nov 14:39
· 44 commits to main since this release

CVEScanner 1.5.1 — which known vulnerabilities apply to the dependencies of Maven, Gradle and npm projects, to the components off-the-shelf they ship (GDAL, FFmpeg, OpenSSL…) and to an installed product read from its binaries (jars, node_modules, Python packages, native libraries), from vulnerability databases you download yourself (GitHub Advisory Database, CVE List, OSV.dev, NVD), scored with CVSS for the environment the software runs in, upgraded with the project's own build tool if you ask, and exported as a CycloneDX SBOM that VEX statements inform. Self-contained, and it never reaches the network.

What's new

1.5 was tagged but not published: its Windows build failed. 1.5.1 is 1.5 with that fixed.

  • Fixed, on Windows: a damaged file of the databases' index cache is written again (it stayed open, and Windows
    refused to replace it: the zip was read again at every scan).

  • The dependency tree: each dependency knows the packages that bring it, from Maven's and Gradle's walks and from
    package-lock.json (v2, v3), yarn.lock (v1, berry), pnpm-lock.yaml, poetry.lock and uv.lock, each package
    under its nearest path. Checked against npm ls, pnpm list, mvn dependency:tree and gradle dependencies. The
    window's new Dependencies tab shows each file's tree with the worst finding of each dependency;
    dependencies.csv puts it in a spreadsheet, a row per dependency with its depth and its path
    (jackson-dataformat-yaml 2.14.2 > snakeyaml 1.33). Gradle's lockfile, Pipfile.lock and npm's v1 lockfile do not
    record what brings a package: their indirect ones are listed apart, with no depth.

  • Direct dependencies only: --direct-only (the old --no-transitive its alias) and the toolbar's box scan what
    the projects declare, at their locked versions: no Maven repository nor Gradle cache read, the lockfiles' indirect
    packages left out. It replaces View ▸ Transitive dependencies. After a full scan, Hide indirect dependencies
    (--hide-transitive) leaves them out of the tables, the counts and the reports.

  • Fixed: in a yarn.lock or pnpm-lock.yaml, another version of a declared package (debug 2.6.9 under express,
    debug 4.3.1 declared) was said direct; yarn berry's entry of the project itself was listed as a package.

  • Fixed: a Python package is matched against the CVE List by its pypi.org registry and its PEP 503 name (Foo_Bar
    is foo-bar); it was matched only when the record named no registry. An SBOM's pkg:pypi components are checked as
    Python packages, no longer as components off-the-shelf by their name. In the pnpm-lock.yaml of pnpm 6 and 7
    (lockfile 5.x), a package with peers is read at its version (18.2.0_react@18.2.0 was unresolved), and Apply fixes
    reads the range a dependent installed with its peers asks.

  • Gradle transitive dependencies: a build's gradle.lockfile gives the versions Gradle resolved, the transitive
    ones included; a build without one gets them from the poms of Gradle's cache, resolved as Gradle does (the highest
    version asked wins, a declared one raised; platform() and enforcedPlatform(); exclude blocks; catalog
    entries followed from the line using them). Version-less declarations a platform gives a version to are now read.
    --gradle-cache DIR; --direct-only turns off Gradle's cache with Maven's.
    Checked against gradle dependencies.

  • Apply fixes for transitive Maven dependencies: one the project has only through a library is pinned, its fixed
    version added to the dependencyManagement of the module's topmost pom, then the pom read by Maven offline; applied
    only once ticked. Decided per declaration: one a declared pom of its chain governs follows that one's upgrade. Checked
    with the real Maven by scripts/fix-tools-check.sh (snakeyaml through jackson-dataformat-yaml).

  • Python projects: requirements*.txt (its -r includes followed), pyproject.toml (PEP 621, Poetry) and
    Pipfile, with their lockfiles poetry.lock, uv.lock and Pipfile.lock, whose versions win, the declared
    packages direct, the others transitive. A pinned version is exact; a range is checked at its lowest (≈); a URL, a
    path or a VCS source is listed among the unchecked. A virtual environment (a folder holding pyvenv.cfg) is passed
    over.

  • Scans that read the databases once: each database file's records for the package names scanned are kept
    between scans in cache/ beside the program, the zip read again only when it changes or a scan meets a name not
    covered yet. The examples against the full OSV and NVD exports: about 100 seconds, then 1.4 seconds, the same
    findings. --cache-dir DIR, --no-cache.

Downloads

File For
cvescanner-1.5.1-windows.zip Windows x64, no Java needed — unzip anywhere and start cvescanner.bat (the signed javaw.exe) or CVEScanner.exe
cvescanner-1.5.1-linux.tar.gz Linux x64, no Java needed — untar anywhere and run cvescanner.sh

Each archive carries a Java runtime linked from Eclipse Temurin 25.0.5, redistributed under the GPLv2 with Classpath Exception (notices in jre/legal), and FlatLaf (Apache 2.0, in licenses/). CVEScanner itself is Apache 2.0.

Checksums (SHA-256)

ceeabf9f56d0a19b08ea5450be245d98fc9f48d6ce115b35c24b1a2bcd19f0e9  cvescanner-1.5.1-windows.zip
3710787fae4fae4195bef52a9fae68ff1a0c2424cef35aa838e59e3e19bd2fe4  cvescanner-1.5.1-linux.tar.gz