1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/debsecan.md
Managor 611d2c9a04
linux*: refresh old pages part 2 (#16263)
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
2025-04-27 10:35:40 +03:00

700 B

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:

debsecan

  • List vulnerable installed packages of a specific suite:

debsecan --suite {{release_code_name}}

  • List only fixed vulnerabilities:

debsecan --suite {{release_code_name}} --only-fixed

  • List only fixed vulnerabilities of unstable ("sid") and mail to root:

debsecan --suite {{sid}} --only-fixed --format {{report}} --mailto {{root}} --update-history

  • Upgrade vulnerable installed packages:

sudo apt upgrade $(debsecan --only-fixed --format {{packages}})