Upgrade vulnerable installed packages

debsecan

  • Debian Security Analyzer, a tool to list vulnerabilities on a particular Debian installation.
    More information: <https://gitlab.com/fweimer/debsecan>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

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

click the source code to copy install debsecan on any operating system with command-not-found.com