LinuxCommandLibrary

debsecan

Debian security vulnerability scanner

TLDR

List vulnerable installed packages

$ debsecan
copy
List vulnerabilities for specific suite
$ debsecan --suite [release_code_name]
copy
List only fixed vulnerabilities
$ debsecan --suite [release_code_name] --only-fixed
copy
List fixed vulnerabilities and mail report
$ debsecan --suite [sid] --only-fixed --format report --mailto [root] --update-history
copy
Upgrade vulnerable packages
$ sudo apt upgrade $(debsecan --only-fixed --format packages)
copy

SYNOPSIS

debsecan [options]

DESCRIPTION

debsecan (Debian Security Analyzer) lists known vulnerabilities in installed packages. It checks against Debian's security tracker database and reports CVEs affecting the system.
Useful for security auditing and identifying packages that need updates.

PARAMETERS

--suite suite

Debian release (stretch, buster, bullseye, sid)
--only-fixed
Only show vulnerabilities with available fixes
--format format
Output format (summary, detail, report, packages)
--mailto address
Email report to address
--update-history
Track vulnerability history

CAVEATS

Requires network access to fetch vulnerability data. Suite must match the installed system. Not all listed vulnerabilities may be exploitable in your specific configuration.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community