Skip to content
Documentation

CVE-Pilot

Vulnerability management in ProjectForge - features, user guide and administration

Written by
CVE-Pilot: Radar

1. Features

Every day hundreds of new vulnerabilities (CVEs) are published, and only a few of them concern your own software. The CVE-Pilot finds those few: it knows what you run, compares it continuously with the vulnerability databases, and leads every case from the first alert to the documented closure. No more spreadsheets sent around by mail, no more guessing who has already reacted.

1.1. Know what you run

  • One inventory for everything: areas, systems, instances and components in a tree, each row with its findings by severity at a glance.

  • Libraries from where they are: upload an SBOM (CycloneDX, SPDX), the lockfiles (npm, yarn, pnpm, Composer, Cargo, Go, Python), the output of Maven or Gradle, jar listings or the package lists of a container image or server. Only names and versions are read, nothing is executed, the files are not stored.

  • Many repositories in one go: the bulk import takes a zip with the SBOMs of dozens of repositories and images into an area, with a preview and adaptable codes and names.

  • Straight from the build: every area, system and component can have an API key; with it a build pipeline uploads the current lists of libraries without a login, and libraries that are gone no longer count for findings.

  • Ready for containers: Debian and Ubuntu packages are matched against the advisories of their release, so fixes backported by the distribution don’t raise false alarms.

1.2. Find and assess

  • Several sources, one view: the NVD, OSV.dev (Maven, npm, PyPI, NuGet, Packagist, Go, crates.io) and the EUVD are imported continuously; the source of each entry is shown as a badge. CISA KEV and EPSS are taken into account, and Dependency-Track can run as a second detection beside the own matching.

  • Automatic matching: every new vulnerability is matched against the inventory at once; the findings are certain or marked as possible, so you see what to look at first.

  • Ratings side by side: the ratings of the NVD, the CNA, GitHub, OSV and the EUVD stand next to each other; a deviating severity can be traced. The suggested priority comes from the CVSS score and rises for known exploited vulnerabilities.

  • Findings that help: per node and per library, with the update that fixes all its CVEs at once, filterable by severity, certainty and uploaded file; a click opens the file of the CVE.

  • Team work: each member of the security team rates for themselves, deviations are marked, the binding priority is set by the assignee or a security officer, with a reason. Findings follow a status workflow with approval of risk acceptances.

1.3. Act and close

  • Cases for CVEs and for incidents: also what has no CVE id (a compromised certificate authority) gets a case with measures for techies and non-techies, a discussion and an own id.

  • Team checks and confirmations: ask the responsible groups per project or system, every member of a group if needed, and let employees confirm the measures on My CVE-Pilot.

  • Closure overview: it shows what is still open and whether a case can be closed; closing needs a reason.

  • Evidence from the devices: the version and check results of a client agent, collected by a log server (Graylog), prove the fix on the devices.

  • Research with AI, kept in your own hands: the CVE-Pilot builds a prompt for an approved AI system (internal names can be replaced) and imports the answer as a case; there is no direct AI connection. Cases can also be downloaded and imported as a file.

  • Reports on demand: the findings of a project as PDF, Excel or JSON, also per package, and an ad-hoc check of files without touching the inventory.

  • The right people at the right time: notification rules for new findings, outdated lists of libraries and unanswered team checks, in the app or by mail, and everybody sees only the systems they may see.

  • Statistics: the course of the published vulnerabilities and of your own findings over the years.

2. User guide

2.1. Libraries of a component

The CVE-Pilot matches vulnerabilities against the libraries of a component. They are uploaded in the inventory (Upload libraries of a component). Accepted:

  • an SBOM,

  • lockfiles (npm, yarn, pnpm, Composer, Cargo, Go, Python),

  • the output of Maven or Gradle,

  • jar listings,

  • the package lists of the operating system.

The dialog shows which file or command to take for each of them. Only names and versions are read, nothing is executed, and the files are not stored.

A component often has several lists: the lockfile of the frontend, the libraries of the backend, the packages of its images. Collect them with a script in the project (e.g. collect-libraries.sh) that packs them into one zip; the zip is uploaded as it is.

  • Run it in the build pipeline or before a release: the lists always belong to the delivered version, nobody collects them by hand.

  • ProjectForge’s own one is bin/collect-libraries.sh in its repository: one zip per component (backend, frontend, app, each Docker image), CycloneDX wherever possible.

An example, to be adapted to the paths of the project:

#!/usr/bin/env bash
# Collects the lists of the libraries for the CVE-Pilot into libraries.zip.
set -euo pipefail
out="$(mktemp -d)"
trap 'rm -rf "$out"' EXIT

# Frontend: the lockfile as it is in the repository.
mkdir -p "$out/frontend"
cp frontend/pnpm-lock.yaml "$out/frontend/"   # or package-lock.json, yarn.lock

# Backend: an SBOM (best) or the output of the build tool.
syft dir:backend -o cyclonedx-json="$out/backend-bom.json"
# mvn -f backend dependency:list -DincludeScope=runtime -DoutputFile="$out/deps-maven.txt"

# Images: the packages of the operating system.
for image in registry.example.org/app:1.4.2; do
  name="$(basename "${image%%:*}")"
  docker run --rm --entrypoint sh "$image" -c \
    'cat /etc/os-release; dpkg-query -W -f "\${Package} \${Version} \${source:Package} \${source:Version}\n"' > "$out/os-$name.txt"
  # Alpine: docker run --rm --entrypoint apk "$image" info -v > "$out/os-$name.txt"
done

rm -f libraries.zip
(cd "$out" && zip -qr - .) > libraries.zip
  • Read from a zip: only files ending in .json, .lock, .lockfile, .yaml, .yml, .txt or .mod, in any directory; the format is told from the content.

  • Skipped unread: files and directories starting with a dot (.npmrc, .env), gradle.properties, settings.xml and all other files; a zip in the zip isn’t unpacked.

  • Limits: 10 files at once, 10 MB per zip, 5 MB per file, 50 MB and 100 lists from the zips of an upload, 20,000 libraries. The SBOMs of many repositories and images at once go into an area instead, see Bulk import of SBOMs into an area.

  • Preview: every file of the zip with its format and number of libraries; a file that isn’t recognised is marked, so a mistake of the script is seen before anything is applied.

  • Replace the libraries uploaded earlier: removes the libraries missing in the upload, so always upload the complete zip of the component.

Packages of a container image. Java images often bring native libraries of the operating system, e.g. brotli (libbrotli1), zlib or OpenSSL. Their vulnerabilities show only in the package list of the image, not in the libraries of the build. For eclipse-temurin (Ubuntu) and other Debian- or Ubuntu-based images:

docker run --rm --entrypoint sh eclipse-temurin:21-jre -c \
  'cat /etc/os-release; dpkg-query -W -f "\${Package} \${Version} \${source:Package} \${source:Version}\n"' > os-temurin.txt
grep brotli os-temurin.txt   # e.g. libbrotli1 1.1.0-2build2 brotli 1.1.0-2build2

Other images:

  • Alpine (eclipse-temurin:21-jre-alpine): apk info -v.

  • Red Hat based (UBI): rpm -qa.

  • No package manager (distroless, scratch): an SBOM of the image, syft eclipse-temurin:21-jre -o cyclonedx-json > os-temurin.json.

Why the package list matters:

  • The distributions backport fixes without changing the upstream version, so only the distribution tells whether the installed version is affected.

  • With the lines of /etc/os-release (the release) and the source package of each package (openssl for libssl3), CVE-Pilot asks the advisories of Debian and Ubuntu, as it does for an SBOM.

  • A list of ${Package} ${Version} only is matched by the name of the package against the NVD; its findings are possible ones.

Where a library was found. Every library keeps the file it came from with the upload (in a zip with its path), and for an SBOM of an image the place inside it, e.g. image-postgres.cdx.json: /usr/local/bin/gosu. The findings, the list of the libraries and the export show it; libraries uploaded before get it with the next upload.

Programs in an image.

  • An SBOM of an image lists the Go standard library (stdlib) of every Go program in it with the version of Go it was built with.

  • An old program (e.g. gosu in many database images) brings all vulnerabilities of the standard library fixed since; an update of the image or of the program fixes all of them at once.

  • Advisories for other operating systems only (e.g. Windows) don’t match a component that runs on Linux, i.e. one with packages of a Linux distribution.

2.2. Upload from the build with an API key

A build or script uploads lists of libraries by itself. For this an area, a system or a component has an API key:

  • Dialog of the node: shows the key with its creation day. Copy puts it into the clipboard, Renew creates a new one (the old one stops working at once), Remove deletes it (uploads with it are rejected at once).

  • Who: only those who may edit the node see, renew and remove the key.

  • Column API key: the tree shows where a key is set and when it was created or renewed ("3 days ago", the exact time as tooltip), so that old keys are easy to spot.

  • Scope: a key allows nothing but the upload of lists. The key of an area or a system is valid for everything below it; the keys of the levels above work there as well.

# a component
curl -X POST -H "Authorization: Bearer <key>" --data-binary @libraries.zip \
  "https://projectforge.example.org/rsApiKey/cveradar/component/<id>/libraries?filename=libraries.zip"
# a system: one list needs the code of its component, a zip is assigned by its folders
curl -X POST -H "Authorization: Bearer <key>" --data-binary @sbom.json \
  "https://projectforge.example.org/rsApiKey/cveradar/system/<id>/libraries?filename=sbom.json&component=<code>"
# an area: one list needs system and component, a zip is assigned by its folders
curl -X POST -H "Authorization: Bearer <key>" --data-binary @all.zip \
  "https://projectforge.example.org/rsApiKey/cveradar/area/<id>/libraries?filename=all.zip&create=true"
  • Where the lists go:

    • Component: all files into this component.

    • System: one list with component=<code>; a zip by its first folder, which is the code of the component (or all of it into one component with component=<code>).

    • Area: one list with system=<code>&component=<code>; a zip as the bulk import of the user interface (Bulk import of SBOMs into an area): a folder is a system, a container image a component.

  • create=true: creates the systems and components that don’t exist yet. Without it (the default) an upload to a missing one is refused and nothing is stored.

  • Body: one list (SBOM, lockfile, …​) or a zip of lists, as in the dialog; the same files, limits and checks apply.

  • Key: sent as Authorization: Bearer or X-Api-Key. The dialog shows the call with the id of the node.

  • replace=true (default): the files are the whole state of the component.

    • Libraries read from lists earlier and missing now are removed and no longer count for findings.

    • Manually entered libraries stay.

  • replace=false: the files only add.

  • One call is the whole state: send all lists of a component in one call (as a zip) or use replace=false, otherwise every call removes what the one before added. Lists of different sources (e.g. the lockfile of an application and the SBOM of an image) belong in different components.

  • Answer: lists the libraries added and removed (for a system or an area per component, and what of the zip was left out, with the reason). The matching follows at once.

  • Wrong key: a wrong key, and the key of a node that is not above the target, get 401. After ten of them from one address within ten minutes, further wrong keys get 429 for a while; a valid key is never blocked.

  • Path: /rsApiKey is used for the keys only, so that it can be restricted to the internal network, see General settings.

  • Storage: the key is stored encrypted and neither written to the log nor to the history.

2.3. Bulk import of SBOMs into an area

A project with many repositories and container images is scanned as a whole by some tools: their output is a zip with an SBOM per repository (often with further ones of its modules) and per image, besides logs, raw reports of the scanner and an SBOM of everything together. Such a zip is imported into an area (Import SBOMs in the dialog of the area; whoever may change the area):

  1. Choose the zip and Read it. The server reads it as a whole; only the libraries of the SBOMs are kept.

  2. The preview lists one row per repository and per container image, with the code and name proposed, the number of libraries and what happens: New, Update (already in the area, its libraries are replaced), Code taken (by an area or a system of another area; another code makes it importable), Aggregate (an SBOM listing the libraries of the others; left out, they would be there twice), No libraries. Code and name can be changed, rows ticked off. The status and the changes shown are those of the code proposed: a code changed to the one of a system already in the area replaces the libraries of its component SBOM.

  3. Import stores the ticked rows, each on its own: a failing one is reported, the others are stored. The components are matched against the vulnerabilities once at the end.

How the SBOMs are assigned, independent of the tool that wrote them:

  • An SBOM of a container image (metadata.component.type is container) belongs to its image (name and tag): a component of the system Container images of the area (code <area>-IMAGES, or <area>-IMAGES-2 and so on if another area has it).

  • Every other SBOM belongs to the uppermost folder on its path that holds an SBOM itself, e.g. repositories/app/ for repositories/app/bom.cdx.json and repositories/app/native/x/bom.cdx.json: a system of the area named after the folder, with the component SBOM. An SBOM in the top folder of the zip is one of its own. An SBOM of all repositories therefore belongs there, not next to them: repositories/all.cdx.json would make one system of all.

  • Only CycloneDX and SPDX as JSON are read; components without a purl with a version (files, declarations with an unresolved version) are left out and counted.

  • Importing the zip again updates the same systems and components: the libraries read from lists are replaced, technologies entered by hand stay. Systems of the area the zip has nothing for stay as they are.

  • Size of the zip: 20 MB by default, but configurable. The security officer sets another size for the area (field in the dialog of the area), up to the cap the administrator configures, see General settings. Zips with an SBOM of 700 MB have been imported successfully on productive systems. A reverse proxy in front of ProjectForge has a limit of its own for the size of a request (nginx: client_max_body_size) and must let such a zip through.

  • Further limits: 20,000 entries; every file unpacked at most 1 GB, all together at most 20 times the zip; 20,000 libraries per repository or image.

  • The read zip is not stored; its plan is kept for an hour, until it is imported or another zip is read. One zip per user is uploaded and read at a time.

2.4. Delete a part of the inventory

Delete in the dialog of an area, a system, an instance or a component removes it with everything below it: the areas, systems, instances and components, their libraries and technologies and all their findings, whatever their status, with their history. This can’t be undone. Before, a list shows what goes, each entry with its numbers of findings, libraries and technologies, the totals at the bottom; nothing is deleted until it is confirmed.

  • Deleting needs write access to the entry (a member of its group, or the security officer); it covers everything below it.

  • The last instance of a system stays: every system has one. Delete the system instead.

  • The vulnerabilities themselves stay; only their findings in the deleted part go.

2.5. Research a case with AI

Researching a new case, with or without CVE, takes time: what is affected, how serious it is, which version fixes it, what helps until then. Research with AI (list of the cases, or a new case; security team only) prepares this research for an approved AI system. There is no direct connection to an AI system: the prompt is copied there, and its answer is pasted back.

  1. Enter the kind (CVE or incident), the CVE id if there is one, what it is about, the sources (one URL per line) and further notes. If the CVE is in the NVD import already, its description, CVSS, CWE and references go into the prompt as well; if there is a case for it already, the dialog links it instead.

  2. Create prompt shows the prompt in a step of its own: copy it, or download it as a file, into an approved AI system. Every step has the way back, the entries are kept. The prompt asks for one JSON block in a fixed format: title, summary, priority with reason, fix version, workaround, measures for techies and non-techies, client advisory, references, affected versions, open questions and sources. The meaning of the priorities P1 to P4 is part of the prompt.

  3. Paste the answer (or drop its file). Text around the JSON block doesn’t matter. The answer is checked against the format; what is wrong is named per field.

  4. The preview shows every value with a copy button, so it also serves as a template for an existing case. Create case creates a new case, assigned to oneself, and opens its file.

    • The prompt leaves ProjectForge: no names of internal systems, customers or persons, no internal host names or credentials. Use approved AI systems only.

    • The answer is a proposal: affected versions, open questions and sources are added to the description, marked as created with the help of an AI system. Check everything before the case is released to the employees, especially the priority and the measures.

    • What the AI system can’t know is left out: assignee, team checks and the fix criteria of the client agent.

2.6. Download and import a case

Download. Download as JSON in the file of a case saves it as a file, as stored:

  • Included: kind, code, title, description, priority with reason, fix version, workaround, measures, references, client advisory and the fix criteria of the client agent.

  • Not included: status, assignee, ratings, team checks and the discussion.

Import. Import case (list of the cases, or a new case; security team only) creates a new case from such a file, e.g. to copy a case into another instance of ProjectForge: paste the file or drop it, check the preview, Create case.

  • The new case is assigned to oneself and its file opens.

  • A CVE that has a case already is refused; an incident gets the next code of the year.

  • It also takes the answer of an AI system to the prompt of research with AI, e.g. one saved as a file; quotes made typographic by copying (“…”) are straightened.

2.7. Export the findings of a project

The open findings of a node of the inventory (area, system, instance or component) and below can be exported as one JSON file: the download icon in the row of a node with findings (CVE-Pilot > Systems).

  • Content: what one may see. Per vulnerability the data of the NVD (description, CVSS, CWE, KEV, references), the case of the security team (priority, fix version, workaround, measures) and the technologies that matched, with their versions, package URLs, where they were found and the instances they matched in. The most urgent come first.

  • libraries: in front of them, the vulnerabilities per library: their number, the highest severity and the version from which on none of them matches (fixVersion), so one update shows as one task.

The Findings tab of the node:

  • Open: a click on the counts of findings in the row opens the tab Findings of the node’s dialog.

  • Findings: its open findings one by one (CVE, case, instance, component, technology, where it was found, what matched), with their counts and a filter by certainty; a click on a finding opens the file of the CVE.

  • Libraries: switches to one row per library: its CVEs, how many of them affected, the highest severity, the update that fixes them and where it was found; a click on a library shows its findings.

  • File select: with uploads from more than one file, a select above narrows both views to the findings of one file (or those without a location), the key figures and counts included.

  • Tiles: above the findings they show the number of CVEs and their severity (critical, high, medium/low, actively exploited); hovering over the counts in the row shows the same tiles. A click on a tile filters the findings by it, a click on CVEs shows all again.

  • Check again: matches the components below the node against all vulnerabilities again, which otherwise happens by itself after every import and every change (by hand e.g. after the catalogue was changed); the message tells how many findings are new, changed or removed.

  • Export findings: the button at the bottom of the dialog exports them.

Options of the export:

  • Replace internal names (on by default) replaces the codes and names of areas, systems, instances and components by neutral ones (S1, S1-I1, C1). The names of libraries and products stay.

  • Report by package downloads the vulnerabilities per package (library and version) as PDF, Excel or JSON, e.g. to pass them on: tiles per severity, an overview with the highest score and the version that fixes all of them, then per package its vulnerabilities with score, description, affected versions and a link to the NVD or the advisory. The selection of vulnerabilities and the replaced names apply to it as well.

  • The dialog also has a prompt for an approved AI system, with the report attached: it asks how to fix every vulnerability in this project. Is the project really affected, which version fixes it and how is it forced for a transitive dependency (overrides, constraints, dependencyManagement), what helps until then, how is the fix verified. The assessment of the security team takes precedence. Copy the prompt or download it as a file.

  • The answer of the AI system is a proposal: check versions and build snippets before using them.

2.8. Ad-hoc check of files

CVE-Pilot > Ad-hoc check checks files against all vulnerabilities without touching the inventory. Everybody with the reader role may use it; nothing is stored, and the result stays with the person who started the check (it is dropped about an hour after the end).

  • Drop or choose up to 10 files: the lists of libraries known from the upload to a component (lockfiles such as package-lock.json, yarn.lock or pnpm-lock.yaml, SBOMs in CycloneDX or SPDX, output of Maven or Gradle, package lists of containers), or a zip with such lists. Which formats there are and how to produce them is described in CVE-Pilot: libraries of a component; the page links to it.

  • A bar per file shows how many of its packages are checked. The packages are compared with the vulnerabilities imported from the NVD with the rules of the inventory: a match by CPE or the catalogue entry with a version range is affected, one by name or without a version only possibly affected. Only vulnerabilities imported so far count, i.e. those above the configured minimum score.

  • The result lists the vulnerabilities, the most urgent first, with the package, its version and the file. The case of the security team (priority, fix version) is shown where there is one.

  • As with the findings of a project, the result can be downloaded as JSON and comes with a prompt for an approved AI system that asks how to fix every vulnerability. Replace the names of the files (on by default) turns them into F1, F2, … because their paths often carry project names. The Report by package (PDF, Excel, JSON) is there as well.

2.9. Notifications

Notifications are set up by an admin as rules (page Notification rules). Three rule types belong to the CVE-Pilot. Nobody is notified until such a rule exists; the admin chooses the recipients (except for the reminder of team checks) and the delivery (in the app, by mail) for each rule.

  • New findings of the CVE-Pilot: right after the matching found something new, the responsible team of an affected system (the group of the system or of the nearest area above) is notified; the recipients of the rule get it in copy.

    • A rule starts from a CVSS severity (known exploited vulnerabilities always), optionally with possible findings and vulnerabilities not yet rated.

    • A new rule starts with a text that names no details: For a system in your responsibility there may be updates, with a link to the list; who may see what is decided there. The text can name the vulnerabilities and systems with the variables of the rule instead.

  • Outdated lists of libraries of the CVE-Pilot: the findings of a component are only as good as its list of libraries.

    • If the last list of a component was applied more than the given number of days ago (30 by default), the responsible team and the recipients in copy are told, at most once a week.

    • The notification is resolved as soon as the list is updated. Components that never had a list from a file are left out.

  • Unanswered team checks of a case of the CVE-Pilot: the rule names a case.

    • The members asked by one of its team checks that every member answers, who haven’t answered yet (as the team check lists them under Not answered yet), are reminded, at most once a day. How often follows from the schedule of the rule, or it is triggered by hand.

    • Only they are notified, recipients given in the rule aren’t used.

    • The notification is resolved as soon as the member answered, and expires when the case is closed.

  • Everybody is told only of the systems and instances they may see.

3. Administration

Vulnerability management for the security team: cases (vulnerabilities with CVE id and incidents without one), team checks of projects and systems, the confirmations of the employees and a closure overview, which shows whether a case can be closed. As evidence on the client devices, a central log server (Graylog) with the messages of a client agent can be connected; it is optional.

The plugin works on the real data of the connected sources only. Its backend is developed separately and delivered as a binary with ProjectForge.

3.1. Installation and configuration

Done once when the CVE-Pilot is set up: activating the plugin, the groups of the roles, the settings in projectforge.properties and the connection of the sources. The routine of the running system is in Daily operation.

3.1.1. Activation

Activate the plugin cveradar under Administration → Plugins (or with projectforge.plugins.ensure-active=cveradar in projectforge.properties) and restart ProjectForge, see Administration guide: Plugins.

3.1.2. Rights and roles

The roles are PF groups; their names are configured (see General settings), the groups themselves are created and maintained like any other group under Administration → Groups. Each role includes the weaker ones, a group that isn’t configured or doesn’t exist gives nobody the role, and the PF admin role alone grants no access to the CVE-Pilot.

Role Property Who and what

Readers

readGroup, e.g. cve-read

E.g. the management: the vulnerabilities from the NVD, cases with their ratings and measures, the closure overviews (counts only, no persons, no devices). They take part in the discussion of a case.

Security team

writeGroup, e.g. cve-read-write

Opens, takes over and assigns cases, rates, sets the status and the measures, requests team checks, sees the devices with their persons, moderates the discussions.

Security officers

securityOfficerGroup

Additionally set the binding priority of cases of others, close a case with open items (with a reason) and approve the risk acceptance of a finding.

Management

managementGroup

Reads like the readers and approves the risk acceptance of a finding from priority P2 on besides the security officer (two persons).

everybody

On My CVE-Pilot the own devices, the cases released to the clients (to confirm the measures) and the team checks of the own groups.

  • The binding priority of a case is set, with a reason, by its assignee, or by a security officer. While nobody is assigned, any member of the security team may; they become the assignee.

  • A team check is answered by the members of the requested group, no CVE-Pilot group is needed for it. The file of a team check, with its own discussion, is open to this group, the security team and the security officers only.

  • A team check may ask every member (e.g. everyone checks the own client): each one answers for themselves, and the check stays open until all members answered who logged in within teamCheckActiveDays (90 by default). The security team sees all answers and who is still missing.

  • The discussion of a case is open to all readers. Project and system details belong into the file of a team check, not there.

3.1.3. General settings

All settings are in projectforge.properties (or in the properties editor, see Properties editor) and take effect after a restart:

# Ids of incidents without CVE: INC-2026-1, INC-2026-2, ... (letters and digits only).
projectforge.plugin.cveradar.caseIdPrefix=INC
# A device not reported for more days is inactive and not counted in the closure overview.
projectforge.plugin.cveradar.clientActiveDays=30
# Devices not reported for more days are deleted with their scan findings (personal data).
projectforge.plugin.cveradar.deviceRetentionDays=365
# A team check asking every member waits for the members logged in within so many days only.
projectforge.plugin.cveradar.teamCheckActiveDays=90
# PF groups of the roles (see above).
projectforge.plugin.cveradar.readGroup=cve-read
projectforge.plugin.cveradar.writeGroup=cve-read-write
projectforge.plugin.cveradar.securityOfficerGroup=security-officers
# Bulk import of SBOMs into an area: largest zip in MB, unless the security officer sets another size for the area,
# and the most the security officer may set. A reverse proxy needs to let a request of this size through
# (nginx: client_max_body_size).
projectforge.plugin.cveradar.sbomImport.maxSizeMb=20
projectforge.plugin.cveradar.sbomImport.maxSizeLimitMb=1024
# Upload with the API key of an area, system or component: ip addresses or networks (comma separated) it is allowed from;
# empty: from everywhere. Others get 403.
projectforge.plugin.cveradar.apiKeyUpload.allowedNetworks=10.8.0.0/16
projectforge.plugin.cveradar.managementGroup=management

Size of the SBOM zip. The bulk import of SBOMs (see the user guide) has been tested successfully with an SBOM of 700 MB on productive systems. To allow such sizes:

  • Raise sbomImport.maxSizeLimitMb (the cap, 1024 MB by default) if needed; the security officer then sets the size for the area (sbomImport.maxSizeMb, 20 MB by default, is the default of every area).

  • Let the reverse proxy through a request of that size (nginx: client_max_body_size).

  • Keep enough free space in the temporary directory of the JVM, see below.

Temporary space. The zip of a bulk import of SBOMs (see the user guide) is stored in the temporary directory of the JVM while it is read and deleted afterwards; it needs that much free space there.

Upload with the API key (see the user guide): available under its own path /rsApiKey/, without a login.

  • Internal network only: restrict the path in the reverse proxy (nginx: location /rsApiKey/ { allow 10.8.0.0/16; deny all; …​ }), and/or set apiKeyUpload.allowedNetworks.

  • Address of the caller: taken from X-Forwarded-For only if the request came from a host of projectforge.security.trustedProxies. The list is read from the right, the entries of these proxies are skipped and the first other one is the caller (the first entry of the list is what the caller itself sent).

  • Proxy: let it append to the header (nginx: $proxy_add_x_forwarded_for) or set it ($remote_addr), but don’t pass a header of the caller through unchanged from an untrusted network.

  • Request size: the reverse proxy needs to let a request of the size of the largest zip through (nginx: client_max_body_size).

The outdated devices are deleted by the job of the connector (see Jobs).

3.1.4. Log server (Graylog)

The client agent (e.g. of the client management tool) logs its version and, optionally, the results of its checks to a central log server. ProjectForge searches these messages with the search API of Graylog and keeps the newest version and the newest result of every check per device.

projectforge.plugin.cveradar.graylog.url=https://graylog.example.org
# Access token of a Graylog user with read access to the stream.
projectforge.plugin.cveradar.graylog.token=...
# Stream with the messages of the client agents; empty: all streams the user may read.
projectforge.plugin.cveradar.graylog.streamId=...
# Query selecting the messages and the period searched, back from now.
projectforge.plugin.cveradar.graylog.query=source:client-agent
projectforge.plugin.cveradar.graylog.rangeSeconds=86400
projectforge.plugin.cveradar.graylog.limit=10000
# Field names of the messages.
projectforge.plugin.cveradar.graylog.userField=agent_user
projectforge.plugin.cveradar.graylog.serialField=agent_serial
projectforge.plugin.cveradar.graylog.hostField=agent_host
projectforge.plugin.cveradar.graylog.versionField=agent_version
projectforge.plugin.cveradar.graylog.checkIdField=agent_check_id
projectforge.plugin.cveradar.graylog.checkResultField=agent_check_result
# Hourly at minute 15.
projectforge.plugin.cveradar.graylog.cron=0 15 * * * *
  • Mandatory are url, token, query, userField and at least one of versionField and checkIdField; otherwise the connector is inactive.

  • Devices are matched by serial number; without serial field by user name and host name.

  • A check result passed, true or ok counts as passed, anything else as failed.

3.1.5. Vulnerabilities from the NVD

ProjectForge imports the vulnerabilities (CVEs) from the National Vulnerability Database (NVD API 2.0) and lists them on the start page Miscellaneous → CVE-Pilot. The import is off by default, as it needs internet access.

projectforge.plugin.cveradar.nvd.enabled=true
# Optional: an API key raises the rate limit from 5 to 50 requests in 30 seconds
# (https://nvd.nist.gov/developers/request-an-api-key).
projectforge.plugin.cveradar.nvd.apiKey=...
# The first run imports the vulnerabilities modified in the last 30 days (no back-fill of history).
projectforge.plugin.cveradar.nvd.initialDays=30
# New vulnerabilities from this CVSS score on.
projectforge.plugin.cveradar.nvd.minCvss=7.0
# Every 2 hours at minute 17 (UTC).
projectforge.plugin.cveradar.nvd.cron=0 17 */2 * * *
  • First run: imports the vulnerabilities modified in the last initialDays.

  • Every run after that: the ones modified since the last complete run (in pieces of at most 120 days, as the NVD allows). A run aborted by an error continues there.

  • After restoring the main dump of a backup (without the data of the sources, see Administration guide: Data base): the first run finds stored vulnerabilities without details. After the last initialDays, it reads the NVD since 1999 once more and fills them, without adding new ones (about an hour, quicker with an API key; an aborted run continues there).

  • The score is the one of the NVD; as long as the NVD hasn’t rated a vulnerability, the score of the assigning authority (CNA) counts. A vulnerability without any score is imported as soon as it is rated.

  • A stored vulnerability is always updated, also when the NVD rejects it (shown struck through) or rates it lower.

  • Reading the list needs a role of the CVE-Pilot (see Rights and roles). A row opens the file of the vulnerability.

  • The API key is sent as header only and is never logged or shown by the properties editor.

3.1.6. Advisories of the libraries from OSV.dev

The NVD often names libraries late or under another name than the package (or not at all for weeks). Therefore ProjectForge also imports the advisories of OSV.dev (GitHub, PyPA, Go, RustSec, …​) for the ecosystems of the libraries and matches them by package (purl) and version against the libraries of the inventory, i.e. the ones from SBOMs, lockfiles and build lists. The import is off by default, as it needs internet access.

projectforge.plugin.cveradar.osv.enabled=true
# The public bucket of OSV.dev.
projectforge.plugin.cveradar.osv.url=https://osv-vulnerabilities.storage.googleapis.com
# The ecosystems and distributions (OSV keys), comma separated.
projectforge.plugin.cveradar.osv.ecosystems=Maven,npm,PyPI,NuGet,Packagist,Go,crates.io,Debian,Ubuntu
# Also the malicious packages (MAL-...): some hundred thousand advisories, almost all of npm and PyPI.
projectforge.plugin.cveradar.osv.malicious=false
# Every 6 hours at minute 47 (UTC).
projectforge.plugin.cveradar.osv.cron=0 47 */6 * * *
  • The first run reads all advisories of each ecosystem (the file all.zip of the bucket, npm about 250 MB), every run after that the ones modified since. Only files of advisories are fetched; nothing of the inventory leaves ProjectForge.

  • When an advisory becomes a vulnerability: only when it matches a library of the inventory, then whatever its score.

    • The threshold of the NVD import (minCvss) holds for products, not for libraries in use.

    • It holds for a match that is only possible (a library without version, a jar listing without groupId), else every advisory of an artifact name would become a vulnerability.

    • Name: the CVE id, without one the GHSA id (or the id of the source). The advisories of one CVE (e.g. of GitHub and of PyPA) become one vulnerability.

  • As soon as the NVD modifies the CVE, its data replace the ones of the advisories (status OSV before); the advisories keep matching.

  • A library without groupId (a jar listing) matches by its artifact only, as possible. Where the advisories know the package of a library, they decide: a possible match of the same vulnerability by the name of the CPE is dropped.

  • A withdrawn advisory matches nothing any more; a vulnerability made of withdrawn advisories only is rejected.

  • The ad-hoc check uses the advisories as well, without storing anything.

  • Distributions (Debian, Ubuntu): the packages of a container or server are matched against the advisories of their release, the versions compared as dpkg does.

    • Input: an SBOM with the distro qualifier in the purl (e.g. pkg:deb/debian/curl@7.88.1-10?distro=debian-12), or a dpkg-query list with the lines of /etc/os-release (see the user guide). A package list without release keeps matching by the CPE only.

    • Why: the CPE of the upstream project doesn’t know the fixes a distribution backports (curl 7.81.0-1ubuntu1.30 is fixed, though below 7.84.0). Where the distribution knows the package for a CVE in that release, it decides, and a possible match by the CPE is dropped.

    • No impact: a CVE the distribution rates without impact (Debian unimportant, Ubuntu negligible) matches nothing.

    • Threshold: a vulnerability made of advisories of a distribution only needs the threshold of the NVD import (minCvss).

    • Imported: only the advisories per CVE (DEBIAN-CVE-…, UBUNTU-CVE-…), not the notices (DSA, DLA, USN), and without the kernels (linux, linux-aws, …), which an inventory names by their binary packages; their documents aren’t kept. Ubuntu’s all.zip is about 800 MB, Debian’s 80 MB.

    • Source package: the advisories name it, so a binary package is matched by its source (the upstream qualifier of the purl, libssl3 → openssl, with its version if that differs).

  • Against false positives of a match by the name of a CPE:

    • An entry for a runtime (target_sw node.js, rust, python, …) only meets libraries of that ecosystem (isaacs:tar:…:node.js isn’t the Debian package tar).

    • For the libraries of an ecosystem imported from OSV, a match by name needs a vendor that fits the package, its scope or groupId (adobe:connect isn’t the npm package connect, fasterxml:jackson-databind is com.fasterxml.jackson.core:jackson-databind).

3.1.7. Vulnerabilities from the EUVD

The European Union Vulnerability Database (EUVD) of the ENISA supplements the NVD. ProjectForge reads its public API (no key needed) and adds the EUVD id, the EPSS (probability of exploitation) and the day since the EUVD knows a vulnerability to be exploited. It also imports vulnerabilities the NVD doesn’t have (yet), among them ones without a CVE id. The import is off by default, as it needs internet access.

projectforge.plugin.cveradar.euvd.enabled=true
projectforge.plugin.cveradar.euvd.url=https://euvdservices.enisa.europa.eu/api
# The first run imports the vulnerabilities published in the last 30 days (no back-fill of history).
projectforge.plugin.cveradar.euvd.initialDays=30
# Every run reads the publications of the last 7 days again (rating and CVE id often come later).
projectforge.plugin.cveradar.euvd.rescanDays=7
# New vulnerabilities from this CVSS score on.
projectforge.plugin.cveradar.euvd.minCvss=7.0
# Pause between two requests in milliseconds.
projectforge.plugin.cveradar.euvd.pauseMillis=1000
# Every 2 hours at minute 37 (UTC), after the NVD import.
projectforge.plugin.cveradar.euvd.cron=0 37 */2 * * *
  • The EUVD filters by the day of publication, not by the day of the last change. That is why every run reads the last rescanDays days again, and why a change of an older entry reaches ProjectForge only through the daily read of all entries known to be exploited (it updates the vulnerabilities stored, it doesn’t add new ones).

  • A vulnerability of the NVD (or of OSV.dev) gets the EUVD id, the EPSS and the day of exploitation, nothing else; only a vulnerability without any rating also gets the CVSS score of the EUVD. The NVD stays the source of the details.

  • A vulnerability the NVD doesn’t have is named by its CVE id, without one by its EUVD id (status EUVD). Its details come from the EUVD until the NVD modifies the CVE and takes it over. New ones are imported from minCvss on; an entry the EUVD hasn’t rated is skipped until it is.

  • The EUVD has no CPE and no version ranges, only the names of vendor and product. A library or product whose name equals such a product name is therefore matched as possible, never as affected. As soon as the NVD gives CPE entries for the CVE, these replace the entries made of the names.

  • The EUVD doesn’t document a rate limit; ProjectForge pauses between requests and retries with a growing delay.

3.1.8. Dependency-Track (optional)

Dependency-Track can detect the findings in parallel to the own matching. The connection is optional: without url and API key ProjectForge works as without it. Dependency-Track runs as a service of its own (API server, frontend, PostgreSQL), operated by the administrators; its frontend isn’t needed by the users. So far ProjectForge only tests the connection; the transfer of the inventory and of the findings follows.

projectforge.plugin.cveradar.deptrack.url=https://dtrack.example.org
# Better given as environment variable PROJECTFORGE_PLUGIN_CVERADAR_DEPTRACK_APIKEY.
projectforge.plugin.cveradar.deptrack.apiKey=...
# Test of the connection, every 15 minutes.
projectforge.plugin.cveradar.deptrack.probeCron=0 */15 * * * *
  • In Dependency-Track, create a team for ProjectForge (Administration → Access Management → Teams) with the permissions BOM_UPLOAD, PORTFOLIO_MANAGEMENT, PROJECT_CREATION_UPLOAD, VIEW_POLICY_VIOLATION, VIEW_PORTFOLIO, VIEW_VULNERABILITY and VULNERABILITY_ANALYSIS, and generate its API key.

  • Leave the external analysers (OSS Index, Snyk, VulnDB) off, they would send the list of components outside; enable the vulnerability sources NVD, GitHub Advisories and OSV. Switch off the task Telemetry Submission.

  • The tile Dependency-Track (CVE-Pilot) of the system dashboard shows the host, the version and the result of the last test: down if Dependency-Track isn’t reachable or refuses the key, degraded if the team misses a permission (listed in the log and in the run of the job). A failing Dependency-Track doesn’t affect the other pages.

  • Use an https url: the API key is sent with every request (a plain http url other than localhost is logged as warning). Redirects aren’t followed, so give the url of the API server itself.

3.1.9. Connections

  • Timeouts and the max size of a response are set per connection with projectforge.integration.clients.cveradar-graylog. and projectforge.integration.clients.cveradar-nvd., projectforge.integration.clients.cveradar-osv., projectforge.integration.clients.cveradar-euvd., projectforge.integration.clients.cveradar-deptrack.* (e.g. responseTimeoutMs, maxResponseBytes, default 50 MB; for the NVD 180 s and 200 MB, as a page has up to 2000 vulnerabilities; for OSV.dev 180 s and 1 GB for the zip of an ecosystem, downloaded into a temporary file).

  • An outgoing proxy isn’t supported yet: ProjectForge must reach the hosts directly.

  • Keys and the token are never shown by the properties editor. Instead of projectforge.properties they may be given as environment variables, e.g. PROJECTFORGE_PLUGIN_CVERADAR_GRAYLOG_TOKEN.

3.2. Daily operation

For the administrators in running operation, after the installation is done: watch the jobs and carry out the routine tasks. Everything that is set once is in Installation and configuration.

3.2.1. Jobs

  • The connector and the imports run as jobs, CVE-Pilot: client agents, CVE-Pilot: NVD import, CVE-Pilot: OSV import, CVE-Pilot: EUVD import and CVE-Pilot: Dependency-Track probe, listed under Administration → Job monitor. There they can be started at once (Run now); while their source isn’t configured, they are shown as inactive with the reason. The summary of every run is shown in the run and logged, errors are part of the error digest.

3.2.2. Routine tasks

  • Notification rules: the admin sets them up and maintains the recipients and the delivery, see Notifications.

  • Delete a part of the inventory: see Delete a part of the inventory.

  • Size of the SBOM zip of an area: the security officer may change it up to the cap, see General settings.

  • Outdated devices: deleted by the job of the connector (see Jobs) after deviceRetentionDays.

3.2.3. The file of a CVE

A row of the list of vulnerabilities opens the file of the CVE: the NVD data (the remediation hints of the references apart from the others), the ratings, the measures, the discussion and the team checks.

  • Opening: At first the file is the NVD page only. The first click on Open file (or on Start the discussion) creates the case of the CVE; all readers may. The NVD import changes nothing of the case.

  • Rating: Every member of the security team gives a rating of their own (priority, exploitability here, reason); they stand side by side, deviations are marked. The suggested priority comes from the CVSS score, a listing in the CISA KEV catalogue raises it by one step. The binding priority is set by the assignee or a security officer, with a reason.

  • Measures: Fix version, workaround, own references (http and https links only) and the measures for techies and non-techies as formatted text.

  • Editing at the same time: If someone changed the case meanwhile, the server refuses the change; the file is reloaded and the change repeated.

  • Discussion: The chat of the file is open to all readers. Team checks have a file of their own with a discussion of its own, which only the asked group, the security team and the security officers see.

3.2.4. A first case without connectors

A case can be worked through without any connector:

  1. Cases → New case: an incident (the id is given automatically) or a CVE, with the measures for techies and non-techies. Released to employees shows it to every employee on My CVE-Pilot.

  2. In the closure overview of the case: Request team check for every project or system, with the group that checks it.

  3. The groups answer their checks, the employees confirm the measures on My CVE-Pilot.

  4. As soon as nothing is open, the closure overview shows Can be closed; the security team closes the case with a reason (Close case).

With the connectors running, the fix criteria of the case are the evidence on the devices: a minimum version of the client agent and the id of a check of the agent.