berth

Security

Vulnerability management

How Berth finds known vulnerabilities in OS packages, runtimes, apps, container images, WordPress sites and itself, ranks them with KEV, EPSS and CVSS, tracks deadlines, records exceptions, and closes them with a fix, an emergency patch or a mitigation.

Updated 6 min readcve · vulnerabilities · patching · kev · epss · sbom · vexView as Markdown

On this page
  1. What is covered
  2. How findings are ranked
  3. Deadlines (SLAs)
  4. Fix it
  5. Exceptions (VEX)
  6. Container images
  7. Servers without internet
  8. A weekly summary and the whole fleet
  9. Evidence

Knowing which software on a server has a known vulnerability, how urgent each one is, and whether it was fixed in time is the core of patch management. It is also what auditors ask about under ISO 27001 (A.8.8), BIO2 and NIS2 (article 21). Berth does this for the whole server in one place: Security → Vulnerabilities.

What is covered

Berth keeps a local vulnerability database and compares it daily with what is installed:

Source of softwareHow it is checked
OS packagesThe distribution's own security data: the Debian security tracker, and dnf errata on AlmaLinux and Rocky Linux
PHP versionsPHP's own security advisories
Node.js runtimesNode.js security releases
Application dependenciesLockfiles in sites and apps (npm, Yarn, pnpm, Composer, pip, Poetry, Pipenv, Bundler), matched against OSV
Container imagesThe packages inside each image, matched against OSV
Go binariesIncluding Berth's own programs
WordPress core, plugins and themesThe Wordfence Intelligence feed (enter a free API key)

The database is built from OSV per ecosystem, the GitHub Security Advisories, CISA's Known Exploited Vulnerabilities (KEV) catalogue and FIRST's EPSS scores. Optionally, CVSS scores are fetched from NVD for vulnerabilities that have no severity yet. That lookup sends only the CVE number.

berth vulndb status       # sources, their age and any errors
berth vulndb update       # fetch the sources now
berth security cve list   # vulnerabilities per CVE, highest risk first
berth security wp-vulns --check

Customers see the findings for their own subscriptions under Applications, with instructions on how to fix them.

How findings are ranked

The list is sorted by one risk score from 0 to 100 that combines three things:

  • Severity (CVSS): how bad it is if the flaw is exploited.
  • Likelihood (EPSS and KEV): EPSS predicts the chance of exploitation in the next 30 days. KEV means the flaw is being attacked right now.
  • Exposure: whether the vulnerable component is actually running, and whether it can be reached from outside.

A critical CVE in a library that is installed but never loaded ranks below a high one in a service listening on the internet. Each vulnerability's page explains its score under Why this risk and shows where the flaw sits under Where it is.

Deadlines (SLAs)

The policy sets how quickly a vulnerability must be fixed. The defaults are:

CategoryDeadline
Actively exploited (KEV)72 hours
Critical7 days
High30 days
Medium90 days

Change them under Deadlines at the bottom of the page, or with berth security cve policy --set policy.json. 0 means no deadline. A finding that is updated but still needs a service restart counts as open until the restart. A missed deadline sends a notification and lowers the server's hardening score.

berth security cve kpis gives the figures auditors ask for: mean time to remediate per severity, the share fixed within the deadline, open KEV items and the oldest open critical finding.

Fix it

Fix now

Where Berth can install the fix itself, the vulnerability shows Fix now. That runs an update of exactly the packages involved, with a check before and after, and rolls back if something breaks. For a PHP security release the whole PHP version is updated together. It never reboots the server.

berth security cve fix CVE-2026-12345 --plan   # show what would happen
berth security cve fix CVE-2026-12345

If the fixed package is not in the repository yet, the page says so.

The emergency patch

With the emergency patch on (part of the update policy, on by default), a vulnerability that is actively exploited, or critical and remotely exploitable, and that has a fix, does not wait for the next maintenance window: with automatic security updates it is patched straight away, otherwise you get one notification with a button to install it. Held packages are left alone. Only those packages are updated, and the server is never rebooted. See OS updates and maintenance.

Mitigations when there is no fix

When no fixed version exists yet, the vulnerability shows No fix: mitigation. The options are:

MitigationWhat it does
Virtual patchA WAF rule from a signed bundle that blocks this attack, see WAF
Port local onlyMakes the affected service reachable only from the server itself
Port closedCloses the port in the firewall
Service offStops the service, with a reason and an optional end date
Container offStops one container
Component offSwitches off a component under System → Software
IncidentRecords it as an incident, for when you accept the exposure for now, see NIS2 and incidents

Each mitigation can be reverted with one click, which restores the state from before. Some things can never be switched off this way, so a mitigation cannot cut you off from the server: Berth itself, SSH, networking, the panel database and the firewall.

berth mitigation options --cve CVE-2026-12345
berth mitigation apply --cve CVE-2026-12345 --kind port_local --port 6379
berth mitigation revert --id 7

Mitigations also work for a brand-new vulnerability Berth does not know yet. Enter a valid CVE or GHSA ID and a reason.

Exceptions (VEX)

Not every finding needs a fix. Record an exception with Record exception… on the vulnerability's page:

  • Risk accepted: you know, and accept it for a period.
  • Not affected: with a standard VEX justification, such as "vulnerable code not present" or "vulnerable code not in execute path".

Every exception needs a reason and an expiry date at most a year ahead. When four-eyes approvals are on, a second administrator must approve it. Expired exceptions return to the open list by themselves.

berth security cve accept CVE-2026-12345 --state not_affected \
  --justification vulnerable_code_not_in_execute_path \
  --reason "Module is installed but not loaded by any site" --until 2027-04-30
berth security cve revoke <exception-id>     # withdraw an exception

berth security vex exports all statements as CycloneDX VEX, next to the SBOM from berth security sbom.

Container images

Images are scanned too. In the policy (Containers and notifications) you choose what happens when a customer deploys a new image with known vulnerabilities: warn, or refuse images with findings above a threshold (critical, or high and critical). See Containers.

Servers without internet

With the offline option, Berth fetches nothing and accepts only signed database bundles. Build a bundle on a connected server, signed with an Ed25519 key of your own whose public half the isolated server trusts, and import it there. Bundles signed with Berth's release key are trusted out of the box.

berth vulndb bundle --key signing.key --out vulndb.tar.gz   # on a connected server
berth vulndb import vulndb.tar.gz                           # on the isolated server

A weekly summary and the whole fleet

Administrators get a weekly summary on the day of their choice. With Fleet, Fleet → Vulnerabilities shows each vulnerability across all servers: who is affected, where the fix is available, and where a mitigation is in place. From there you can roll out a fix or a mitigation in waves.

Evidence

The vulnerability register, the exceptions, the SBOM and the VEX statements are part of the evidence pack. See Evidence for audits.