snippetbashTip
debsecan — Debian Security Analyzer, a tool to list vulnerabilities on a particular Debian installation. More i
Viewed 0 times
commandsecuritydebsecandebianclitoolanalyzerlist
linux
Problem
How to use the
debsecan command: Debian Security Analyzer, a tool to list vulnerabilities on a particular Debian installation. More information: <https://manned.org/debsecan>.Solution
debsecan — Debian Security Analyzer, a tool to list vulnerabilities on a particular Debian installation. More information: <https://manned.org/debsecan>.List vulnerable installed packages on the current host:
debsecanList vulnerable installed packages of a specific suite:
debsecan --suite {{release_code_name}}List only fixed vulnerabilities:
debsecan --suite {{release_code_name}} --only-fixedList only fixed vulnerabilities of unstable ("sid") and mail to root:
debsecan --suite {{sid}} --only-fixed --format {{report}} --mailto {{root}} --update-historyUpgrade vulnerable installed packages:
sudo apt upgrade $(debsecan --only-fixed --format {{packages}})Code Snippets
List vulnerable installed packages on the current host
debsecanList vulnerable installed packages of a specific suite
debsecan --suite {{release_code_name}}List only fixed vulnerabilities
debsecan --suite {{release_code_name}} --only-fixedList only fixed vulnerabilities of unstable ("sid") and mail to root
debsecan --suite {{sid}} --only-fixed --format {{report}} --mailto {{root}} --update-historyUpgrade vulnerable installed packages
sudo apt upgrade $(debsecan --only-fixed --format {{packages}})Context
tldr-pages: linux/debsecan
Revisions (0)
No revisions yet.