Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Plugin] CVE Lens for Unraid: known vulnerabilities in your containers and the OS

Featured Replies

Support thread for CVE Lens for Unraid, the plugin formerly called Trivy Scan.

Until now it was discussed in the CVSSv4 9.2 PHP vulnerability topic

What it does

It scans the images of your containers and the Unraid OS for known vulnerabilities and shows one row per CVE: what is affected, whether an update or a newer image fixes it, and which targets could not be scanned and why. Container images are scanned with Trivy. Trivy has no advisory data for Unraid's Slackware packages, so those are matched against NVD with Grype.

- Known exploited badge (CISA KEV), EPSS score and an "Exploited / likely" filter

- Notifications for new fixable critical CVEs, and when a known exploited CVE newly affects a container image

- End of life marking for base images that no longer get fixes

- Ignore list with a reason and an optional expiry date

- Container risk table: privileged, Docker socket, host network, ports on all interfaces and so on. Environment values and command lines are never read.

- CSV and JSON export, new and gone CVEs since the last scan, a small trend line

- Progress panel, log viewer, dashboard tile and an optional "Vulnerabilities" header tab

Screenshots and full documentation: https://github.com/luuvasara/unraid-cve-lens

Install

Plugins, Install Plugin, paste:

https://raw.githubusercontent.com/luuvasara/unraid-cve-lens/main/unraid-cve-lens.plg

Requires Unraid 6.12.0 or later. The plugin is not in Community Applications yet. Updates come through Plugins, Check for updates. If you still have Trivy Scan installed, updating it moves you over to CVE Lens with your settings and data.

First scan

Nothing is scanned or downloaded at install or at boot. Open Settings, CVE Lens and press Scan now, or set a schedule.

The first scan downloads about 6 GB of databases to your appdata folder and can take a while. Later scans reuse them. Settings, CVE Lens, Databases has the options.

The scanners run in containers pinned by digest. The container that can read the Docker socket has no network, and the ones with network have no Docker socket.

Reading the results

A finding means an installed version is in an affected range, not that it can be exploited on your server. The Known exploited badge and the EPSS score help you decide what to look at first.

- In a container image: update the container. If the newest image still has it, the fix has to come from the image's maintainer, so raise it in that container's support thread.

- In the Unraid OS: the fix comes with a newer Unraid release, so don't patch it by hand. NVD only knows upstream versions, so a fix that was backported into a release can still show up. Check the release notes; "Ignore..." in the expanded row hides a finding with a reason.

Asking for help

A report without details can't be answered. Every request needs all of this:

- Unraid version and CVE Lens version

- What you did, step by step

- What you expected, and what happened instead, with the exact error message

- The image or package and the CVE, if it is about a finding

- The relevant log lines (View log on the report page, or /var/log/unraid-cve-lens.log). Read them before posting, as they name your images.

- A screenshot, if possible

Bugs, feature requests, pull requests and development discussion belong in the repository, not in this thread:

- Bugs and feature requests: https://github.com/luuvasara/unraid-cve-lens/issues

- Discussion and ideas: https://github.com/luuvasara/unraid-cve-lens/discussions

- Pull requests: https://github.com/luuvasara/unraid-cve-lens/pulls

Use this thread for previously unanswered questions about installing and using the plugin.

Anything else will be pointed to the repository, so that it stays in one place and can be tracked.

Thanks to @Xaero for the original plugin this grew from and for the OS package matching.

https://raw.githubusercontent.com/luuvasara/unraid-cve-lens/main/docs/screenshots/report-os-dark.png

Edited by Samsonight
clarifications

  • Author

<reserved post>

Edited by Samsonight

  • Author

<reserved post>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.