Missing Linux Package Security Updates

Linux hosts have not installed security updates from their distribution, leaving known vulnerabilities in the kernel and installed packages unfixed.

SeverityHigh
CVSS 3.17.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Open in the calculator
CVSS 4.08.5 CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N Open in the calculator
CWECWE-1395: Dependency on Vulnerable Third-Party Component
OWASP Top 10A03:2025 Software Supply Chain Failures
MITRE ATT&CKT1068 Exploitation for Privilege Escalation, T1210 Exploitation of Remote Services, T1190 Exploit Public-Facing Application
CategoryOutdated Components

Description

One or more Linux hosts have outstanding security updates from their distribution's repositories. Distributions such as Red Hat Enterprise Linux, Debian, Ubuntu and SUSE publish fixed packages, with security advisories listing the CVEs each update fixes, for the kernel, the C library, OpenSSH, sudo, polkit, OpenSSL and the many other packages a host runs. The updates still have to be installed on each host, and a kernel update has no effect until the host is restarted or live-patched: a common variant is a host whose packages are current but which is still running an older kernel because it has not been restarted since the update was installed.

Unfixed local vulnerabilities let an attacker who gains a foothold on the host, for example through a web application flaw or a stolen low-privileged account, gain root access with public exploits; the polkit pkexec flaw CVE-2021-4034, for instance, gave any local user root on most distributions with a reliable public exploit. Missing updates to network-facing packages can also allow remote compromise or denial of service without credentials. Root access exposes all data, keys and credentials on the host and supports persistence and lateral movement. The risk is highest for internet-facing hosts and hosts shared by many users or services, and lower where the outstanding updates affect packages that are installed but not used.

The finding is normally identified by an authenticated scan that compares installed package versions with the distribution's advisories, or locally with commands such as dnf updateinfo list --security, apt list --upgradable or zypper list-patches --category security. Scanners report one result per advisory, so a host that has not been updated for some months can produce many results with a single cause. Unauthenticated scans that judge vulnerability from the version a service announces are unreliable on Linux, because distributions backport security fixes into the versions they ship without changing the upstream version number; such results should be confirmed against the distribution's own advisory or the package changelog.

Remediation

Install the outstanding updates and keep hosts current:

  • Apply all security updates from the distribution's repositories using its package manager or the organisation's patch management tooling, for example dnf upgrade --security on Red Hat-based distributions or apt upgrade on Debian-based ones. Then restart services that use updated libraries, and reboot hosts that received a kernel update or apply it with a supported live-patching service.
  • Automate security updates where the service allows it, for example with unattended-upgrades on Debian and Ubuntu or dnf-automatic on Red Hat-based distributions, and patch other hosts within defined timescales, sooner for vulnerabilities that are being exploited.
  • Check that each host is subscribed to the correct repositories, including the distribution's security repository and any paid extended maintenance channel, and that internal mirrors are synchronised.
  • Remove packages that are not needed, which reduces both the attack surface and the volume of future updates.

Confirm the fix by repeating the authenticated scan and checking that the running kernel (uname -r) matches the latest installed kernel.

References


Add This Finding to Your Library

In Pental this write-up is in Settings, Library. Add to my library copies it into your own, rated in your firm's CVSS version, ready to put in your own words.

Free trial  ·  No card required

Only need the reporting? Our reporting tool is free and open source, with the same library.


More Patching and Outdated Software Findings

Every Patching and Outdated Software finding