Why the news does not work
You learn about a flaw from the news once everybody already knows about it, and usually without the part you need: which version exactly is affected, and which package in your distribution carries the fix. Coverage also picks the loud over the dangerous-to-you: a flaw in a library you do not have takes the front pages, while a fix in your own module passes unnoticed.
The order that works is the reverse: first a list of what you actually run, then watching that list.
Step one: a list of your stack
Until the list exists there is nothing to watch. Build it once and keep it next to the server configuration:
php -v | head -1; nginx -v 2>&1; mysqld --version 2>/dev/null
dpkg -l | awk '$1=="ii"{print $2" "$3}' > /root/stack-packages.txt
ls composer.lock package-lock.json requirements.txt 2>/dev/nullThe list splits into three parts, each with its own way of being watched: distribution packages, application dependencies, and third-party code installed by hand. The third part is the most dangerous — it has neither a package nor a dependency file, and it gets forgotten.
Application dependencies: osv-scanner
For dependencies there is the open OSV database and a scanner of its own. The current release is 2.7.1, published on 9 November 2026. It reads lockfiles and answers which database entries concern your versions specifically:
osv-scanner scan source -L composer.lock
osv-scanner scan source -L package-lock.json
osv-scanner scan source -r /var/wwwThe key property is that the check follows the lockfile — the versions actually installed, not the permitted ranges. Only package names and versions leave your network; if even that is unacceptable, the scanner has a mode that works without network access, against a database downloaded in advance.
Container images: trivy
If the application lives in a container, its dependencies are only half the job: the other half sits in the base image. For that one takes trivy, whose current release 0.77.0 was published on 1 December 2026:
trivy image --severity HIGH,CRITICAL myapp:latest
trivy fs --scanners vuln,secret /var/wwwImage scanning in detail is in Trivy; it is named here because without it the stack list is incomplete.
Three databases and how they differ
| Database | What is in it | What it is good for |
|---|---|---|
| OSV | Flaws in open source packages | Machine access, exact version ranges |
| NVD | CVE entries with scores and links | Detail and a severity assessment |
| ENISA | The European vulnerability database | A second view, summaries of exploited flaws |
A query to NVD by identifier can be made straight from the terminal — handy when you need to grasp quickly what is being discussed:
curl -sS 'https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2025-32463' \
| python3 -c 'import json,sys; d=json.load(sys.stdin)["vulnerabilities"][0]["cve"]; print(d["descriptions"][0]["value"])'Severity scores mislead more often than you would think
One and the same entry can carry several scores from different parties, and they diverge widely. An example from this year is covered in the article on sudo: the flaw involving the host option carries 2.8 from one party and 8.8 from another — "minor" and "high" at the same time.
So a decision about timing cannot rest on a single number. Look at three things: whether the vulnerable part is reachable from outside, whether the attacker needs access, and whether a fix exists. A flaw scored 9.8 in a feature you never enabled can wait for the scheduled update; a "medium" one in an externally exposed interface needs action today.
Distribution packages: the version number misleads
A fix in a distribution usually arrives as a backport: the version number stays as it was and the build suffix changes. So comparing your number against the "fixed in" number from the upstream advisory leads to mistakes in both directions.
apt list --upgradable 2>/dev/null | grep -i security
apt policy nginx | head -4
apt changelog nginx 2>/dev/null | head -20Compare against your own distribution's advisory. Automatic installation of security updates is worth enabling separately — see automatic updates.
How not to drown in alerts
Monitoring that sends everything stops being read within a week, and that is worse than no monitoring: it creates a false sense of being watched over. An arrangement that survives months:
- Alerts only about what appears in your stack list.
- Review on a schedule rather than per message: weekly for the ordinary, immediately for anything exposed outside.
- Record a decision for every finding: updated, deferred to a date, does not apply.
- Reread what was deferred. Deferred with no return date means forgotten.
What none of this gives you
Scanners find known entries for known packages. They will say nothing about a mistake in your own code, about a flaw with no identifier, or about a package installed outside the package manager. "The scanner is quiet" means "no matches against the database were found" — not "there are no vulnerabilities". So monitoring is complemented by testing the site itself: nuclei, nikto, wpscan — and your own dependencies: npm audit and composer audit.