Skip to content

Commands: OS patching (VMs)

Kernel, security and single-package updates, with one folder per distro: Ubuntu, RHEL family and Amazon Linux 2023 (dnf), Amazon Linux 2 and SUSE.

Index
  • #patching
  • #ubuntu
  • #amazon-linux-2
  • #rhel
  • #suse
Updated

Also:patch vm · kernel update · security updates · which distro · os-release

Which folder? On the VM, run cat /etc/os-release && uname -r and look at the ID= line:

ID= Folder
ubuntu, debian Ubuntu
amzn + VERSION_ID="2" Amazon Linux 2
rhel, rocky, ol, almalinux, centos, or amzn + VERSION_ID="2023" RHEL / AL2023
sles, opensuse-leap SUSE

Each folder has the full set, in the order you run them: list, apply, kernel, single package, reboot, verify.

60 items

Ubuntu13

Ubuntu: List pending updates

Safe

What would be upgraded, without installing anything. This is the apt version of dnf check-update.

sudo apt update && apt list --upgradable
What each part does
  1. sudo apt updaterefresh the package lists (installs nothing)
  2. apt list --upgradablename, new version, [upgradable from: old]

My note apt check-update does not exist (E: Invalid operation check-update).

  • #ubuntu
  • #packages

Also known as: check-update · apt check-update · pending updates · updates can be applied immediately

Ubuntu: List pending security updates

Safe

Only the pending updates from the security pocket (the "standard security updates" in the login banner).

sudo apt update && apt list --upgradable 2>/dev/null | grep -- -security
What each part does
  1. apt list --upgradable 2>/dev/nullall pending updates, without the CLI warning
  2. grep -- -securitykeep lines from jammy-security, noble-security ...
  • #ubuntu
  • #security-updates

Also known as: security updates list · standard security updates · apt security

Ubuntu: Apply all pending updates

Caution

Installs every pending update including a new kernel. Clears the most scanner findings.

Dry run first
sudo apt update && sudo apt upgrade --dry-run
sudo apt update && sudo NEEDRESTART_MODE=a apt upgrade -y
What each part does
  1. sudo apt updaterefresh the package lists
  2. NEEDRESTART_MODE=arestart affected services automatically (no purple needrestart dialog)
  3. apt upgrade -yupgrade all packages, answer yes

My note "deferred due to phasing" = Ubuntu rolls that update out gradually; run it again in a few days. Do NOT run do-release-upgrade for patching (that moves you to the next Ubuntu release).

  • #ubuntu
  • #packages
  • #kernel

Also known as: apt upgrade · update everything · patch vm · full update

Ubuntu: Apply security updates only

Caution

Installs only updates from the security pocket (the default unattended-upgrades setting).

Dry run first
sudo unattended-upgrade --dry-run -d
sudo unattended-upgrade -d
What each part does
  1. unattended-upgradeinstall allowed updates (security by default)
  2. -ddebug output: shows each package

My note Missing? sudo apt install unattended-upgrades

  • #ubuntu
  • #security-updates

Also known as: security only · unattended-upgrades · apt security only

Ubuntu: Fix one CVE

Caution

Checks whether the CVE affects this VM and installs the fix. Works for CVE-… and USN-… IDs.

Dry run first
sudo pro fix <CVE-ID> --dry-run
sudo pro fix <CVE-ID>
What each part does
  1. pro fixfind and apply the update for a CVE or USN
  2. <CVE-ID>e.g. CVE-2026-109518 or USN-9011-1
  • #ubuntu
  • #cve

Also known as: fix cve · USN · ubuntu pro

Ubuntu: Update the kernel

Caution

Upgrades the kernel meta-package, which installs the newest kernel. Used after a reboot.

Dry run first
sudo apt update && sudo apt install --dry-run --only-upgrade linux-aws
sudo apt update && sudo apt install --only-upgrade linux-aws
What each part does
  1. apt install --only-upgradeupgrade, never install fresh
  2. linux-awskernel meta-package on EC2 (linux-generic on other servers, linux-azure on Azure)

My note Which meta-package do you have? dpkg -l | grep -E '^ii +linux-(aws|generic|azure) '

  • #ubuntu
  • #kernel

Also known as: kernel update · linux-aws · linux-generic · upgrade kernel

Ubuntu: Upgrade one package

Caution

Upgrade a single package without touching the rest.

Dry run first
sudo apt update && sudo apt install --dry-run --only-upgrade <package>
sudo apt update && sudo apt install --only-upgrade <package>
What each part does
  1. sudo apt updaterefresh the package lists
  2. apt install --only-upgrade <package>upgrade it if installed; never installs it fresh
  • #ubuntu
  • #packages

Also known as: single package · update one package · only-upgrade

Ubuntu: Install an exact package version

Caution

Install the exact "Fixed In" version from the scanner report (or go back to an older one).

Dry run first
sudo apt install --dry-run <package>=<version>
sudo apt install <package>=<version>
What each part does
  1. apt installinstall or change version
  2. <package>=<version>list versions with apt list -a <package>
  • #ubuntu
  • #packages

Also known as: specific version · fixed in version · downgrade

Ubuntu: Hold a package at its version

Safe

Keep apt upgrade from changing a package you want to patch on your own schedule.

sudo apt-mark hold <package>
What each part does
  1. apt-mark holdexclude from upgrades
  2. <package>the package

My note List: apt-mark showhold. Release: sudo apt-mark unhold <package>

  • #ubuntu
  • #packages

Also known as: freeze package · exclude package · apt hold

Ubuntu: Check if a reboot is needed

Safe

A new kernel or libc only takes effect after a reboot; scanners flag the old kernel until then.

[ -f /var/run/reboot-required ] && cat /var/run/reboot-required.pkgs || echo "No reboot needed"
What each part does
  1. /var/run/reboot-requiredcreated by apt when a reboot is needed
  2. reboot-required.pkgswhich packages asked for it

My note Then: sudo reboot (drops every SSH session; do it in a quiet window).

  • #ubuntu
  • #reboot

Also known as: reboot required · needs reboot · pending reboot

Ubuntu: Confirm the new kernel after reboot

Safe

The running kernel should now be the newest installed one (the scanner "Fixed In" version or newer).

uname -r && dpkg -l 'linux-image-*' | grep ^ii
What each part does
  1. uname -rrunning kernel
  2. dpkg -l 'linux-image-*' | grep ^iiinstalled kernel images
  • #ubuntu
  • #kernel

Also known as: verify kernel · installed kernels · kernel version after reboot

Ubuntu: Remove old kernels

Caution

Removes kernels and packages nothing needs anymore. Frees /boot and stops scanners flagging unused kernels.

Dry run first
sudo apt autoremove --purge --dry-run
sudo apt autoremove --purge
What each part does
  1. apt autoremoveremove automatically installed packages no longer needed
  2. --purgealso delete their config files
  • #ubuntu
  • #kernel

Also known as: old kernels · /boot full · autoremove

Ubuntu: Check a package changelog for a CVE fix

Safe

Ubuntu backports fixes, so the version can look old. A match here means the fix is in.

apt changelog <package> 2>/dev/null | grep -i <CVE-ID>
What each part does
  1. apt changelog <package>changelog of the candidate version
  2. grep -i <CVE-ID>any match = fixed

My note Installed version only: zgrep -i <CVE-ID> /usr/share/doc/<package>/changelog.Debian.gz

  • #ubuntu
  • #cve

Also known as: verify cve fixed · backport · debian changelog

Amazon Linux 216

Amazon Linux 2: List pending updates

Safe

What would be upgraded. Exit code 100 = updates exist, 0 = none.

sudo yum check-update
What each part does
  1. yum check-updaterefresh metadata and list newer packages
  • #amazon-linux-2
  • #packages

Also known as: check-update · pending updates

Amazon Linux 2: List pending security updates

Safe

ALAS2 advisories that apply to this VM.

sudo yum updateinfo list security
What each part does
  1. yum updateinfo listadvisories for available updates
  2. securitysecurity only (use cves to list by CVE)
  • #amazon-linux-2
  • #security-updates

Also known as: ALAS2 · security advisories · updateinfo

Amazon Linux 2: Apply all updates

Caution

Installs every pending update including a new kernel.

Dry run first
sudo yum update --assumeno
sudo yum update -y
What each part does
  1. yum updateupgrade all packages
  2. -yanswer yes
  • #amazon-linux-2
  • #packages
  • #kernel

Also known as: update everything · patch vm · full update

Amazon Linux 2: Apply security updates only

Caution

Installs only updates that have a security advisory.

Dry run first
sudo yum update --security --assumeno
sudo yum update --security -y
What each part does
  1. yum update --securitysecurity updates only
  2. -yanswer yes
  • #amazon-linux-2
  • #security-updates

Also known as: security only · security patch

Amazon Linux 2: Fix one advisory

Caution

Install only the packages from one advisory.

Dry run first
sudo yum update --advisory=<advisory-id> --assumeno
sudo yum update --advisory=<advisory-id>
What each part does
  1. --advisory=<advisory-id>e.g. ALAS2-2026-1234
  • #amazon-linux-2
  • #cve

Also known as: ALAS2 · apply advisory

Amazon Linux 2: Fix one CVE

Caution

Install only the update that fixes one CVE.

Dry run first
sudo yum update --cve <CVE-ID> --assumeno
sudo yum update --cve <CVE-ID>
What each part does
  1. --cve <CVE-ID>packages whose advisory lists this CVE
  • #amazon-linux-2
  • #cve

Also known as: fix cve · patch cve

Amazon Linux 2: Update the kernel

Caution

Installs the newest kernel in your current kernel line (4.14, 5.10 or 5.15). Used after a reboot.

Dry run first
sudo yum update kernel --assumeno
sudo yum update kernel -y
What each part does
  1. yum update kernelnewest kernel package

My note Move to the 5.15 line: sudo amazon-linux-extras install kernel-5.15 (check with amazon-linux-extras | grep kernel)

  • #amazon-linux-2
  • #kernel

Also known as: kernel update · kernel-5.15 · amazon-linux-extras

Amazon Linux 2: Upgrade one package

Caution

Upgrade a single package (and only what it needs).

Dry run first
sudo yum update <package> --assumeno
sudo yum update <package>
What each part does
  1. yum update <package>e.g. java-11-amazon-corretto-headless
  • #amazon-linux-2
  • #packages

Also known as: single package · update one package

Amazon Linux 2: Install an exact package version

Caution

Install the exact "Fixed In" version from the scanner report.

Dry run first
sudo yum install <package>-<version> --assumeno
sudo yum install <package>-<version>
What each part does
  1. <package>-<version>list versions with yum list --showduplicates <package>
  • #amazon-linux-2
  • #packages

Also known as: specific version · fixed in version · downgrade

Amazon Linux 2: Lock a package version

Safe

Keep yum update from changing a package.

sudo yum versionlock add <package>
What each part does
  1. yum versionlock addlock the installed version (package yum-plugin-versionlock)

My note List: yum versionlock list. Remove: sudo yum versionlock delete <package>

  • #amazon-linux-2
  • #packages

Also known as: freeze package · versionlock

Amazon Linux 2: Check if a reboot is needed

Safe

Exit code 1 and the reason when a reboot is needed.

sudo needs-restarting -r
What each part does
  1. needs-restarting -ris a reboot needed? (package yum-utils)

My note Then: sudo reboot

  • #amazon-linux-2
  • #reboot

Also known as: reboot required · needs-restarting

Amazon Linux 2: Confirm the new kernel after reboot

Safe

The running kernel should be the newest installed one.

uname -r && rpm -q kernel
What each part does
  1. uname -rrunning kernel
  2. rpm -q kernelinstalled kernels
  • #amazon-linux-2
  • #kernel

Also known as: verify kernel · installed kernels

Amazon Linux 2: Set the default boot kernel

Caution

Choose which installed kernel boots next, e.g. go back to the previous one after a bad update.

Dry run first
sudo grubby --info /boot/vmlinuz-<version>
sudo grubby --set-default /boot/vmlinuz-<version>
What each part does
  1. grubby --set-defaultchange the default boot entry
  2. /boot/vmlinuz-<version>list them with ls /boot/vmlinuz-*

My note Current default: sudo grubby --default-kernel

  • #amazon-linux-2
  • #kernel

Also known as: default kernel · kernel rollback · grubby

Amazon Linux 2: Remove old kernels

Caution

Keeps the two newest kernels and removes the rest.

Dry run first
rpm -q kernel --last && uname -r
sudo package-cleanup --oldkernels --count=2 -y
What each part does
  1. package-cleanup --oldkernelsremove old kernels (package yum-utils)
  2. --count=2how many to keep
  • #amazon-linux-2
  • #kernel

Also known as: old kernels · /boot full

Amazon Linux 2: Check a package changelog for a CVE fix

Safe

A match means the installed package contains the fix.

rpm -q --changelog <package> | grep -i <CVE-ID>
What each part does
  1. rpm -q --changelog <package>changelog of the installed package
  2. grep -i <CVE-ID>any match = fixed
  • #amazon-linux-2
  • #cve

Also known as: verify cve fixed · backport

Amazon Linux 2: Undo the last update

Caution

Roll back the most recent yum transaction.

Dry run first
sudo yum history info last
sudo yum history undo last
What each part does
  1. yum historylist transactions
  2. undo lastrevert the newest one
  • #amazon-linux-2
  • #packages

Also known as: rollback update · yum history

RHEL / AL202318

RHEL / AL2023: List pending updates

Safe

What would be upgraded. Exit code 100 = updates exist, 0 = none.

sudo dnf check-update
What each part does
  1. dnf check-updaterefresh metadata and list newer packages (yum check-update on RHEL 7)
  • #rhel
  • #packages

Also known as: check-update · pending updates

RHEL / AL2023: List pending security updates

Safe

RHSA / RLSA / ELSA advisories that apply to this VM.

sudo dnf updateinfo list --security
What each part does
  1. dnf updateinfo listadvisories for available updates
  2. --securitysecurity only
  • #rhel
  • #security-updates

Also known as: RHSA · RLSA · ELSA · security advisories

RHEL / AL2023: Check for a newer AL2023 release

Safe

AL2023 only. Its repos are locked to one release. Newer kernels and fixes often only come with a newer release.

sudo dnf check-release-update
What each part does
  1. dnf check-release-updatelist newer AL2023 releases (prints nothing if current)
  • #rhel
  • #packages

Also known as: releasever · new release available · al2023 release

RHEL / AL2023: Apply all updates

Caution

Installs every pending update including a new kernel.

Dry run first
sudo dnf upgrade --assumeno
sudo dnf upgrade -y
What each part does
  1. dnf upgradeupgrade all packages
  2. -yanswer yes
  • #rhel
  • #packages
  • #kernel

Also known as: update everything · patch vm · full update

RHEL / AL2023: Move AL2023 to the latest release

Caution

AL2023 only. Upgrades every package from the newest AL2023 release, including the kernel. Clears the most scanner findings.

Dry run first
sudo dnf upgrade --releasever=latest --assumeno
sudo dnf upgrade --releasever=latest -y
What each part does
  1. dnf upgradeupgrade packages
  2. --releasever=latestuse the newest release repo, not the locked one
  3. -yanswer yes

My note Stay on the current release: sudo dnf upgrade -y

  • #rhel
  • #packages
  • #kernel

Also known as: update everything · patch vm · full update · releasever latest

RHEL / AL2023: Apply security updates only

Caution

Installs only updates with a security advisory.

Dry run first
sudo dnf upgrade --security --assumeno
sudo dnf upgrade --security -y
What each part does
  1. --securityonly packages with a security advisory

My note Smallest possible change: sudo dnf upgrade-minimal --security

  • #rhel
  • #security-updates

Also known as: security only · security patch

RHEL / AL2023: Fix one advisory

Caution

Install only the packages from one advisory.

Dry run first
sudo dnf upgrade --advisory=<advisory-id> --assumeno
sudo dnf upgrade --advisory=<advisory-id>
What each part does
  1. --advisory=<advisory-id>e.g. RHSA-2026:19216 or RLSA-2026:89742
  • #rhel
  • #cve

Also known as: RHSA · RLSA · apply advisory

RHEL / AL2023: Fix one CVE

Caution

Install only the update that fixes one CVE.

Dry run first
sudo dnf upgrade --cve <CVE-ID> --assumeno
sudo dnf upgrade --cve <CVE-ID>
What each part does
  1. --cve <CVE-ID>packages whose advisory lists this CVE

My note See the advisory first: dnf updateinfo info --cve <CVE-ID>

  • #rhel
  • #cve

Also known as: fix cve · patch cve

RHEL / AL2023: Update the kernel

Caution

Installs the newest kernel next to the current one. The new kernel is used after a reboot.

Dry run first
sudo dnf upgrade 'kernel*' --assumeno
sudo dnf upgrade 'kernel*' -y
What each part does
  1. dnf upgrade 'kernel*'every installed kernel package: kernel on RHEL, kernel6.1 / kernel6.12 on AL2023 (quoted so the shell does not expand *)

My note Oracle Linux with UEK: sudo dnf upgrade kernel-uek -y. AL2023 not getting the "Fixed In" version? It may need a newer release: sudo dnf upgrade --releasever=latest

  • #rhel
  • #kernel

Also known as: kernel update · upgrade kernel · kernel6.12 · kernel-uek

RHEL / AL2023: Upgrade one package

Caution

Upgrade a single package (and only what it needs).

Dry run first
sudo dnf upgrade <package> --assumeno
sudo dnf upgrade <package>
What each part does
  1. dnf upgrade <package>e.g. python3-libs
  • #rhel
  • #packages

Also known as: single package · update one package

RHEL / AL2023: Install an exact package version

Caution

Install the exact "Fixed In" version from the scanner report.

Dry run first
sudo dnf install <package>-<version> --assumeno
sudo dnf install <package>-<version>
What each part does
  1. <package>-<version>list versions with dnf list --showduplicates <package>

My note Go back: sudo dnf downgrade <package>-<version>

  • #rhel
  • #packages

Also known as: specific version · fixed in version · downgrade

RHEL / AL2023: Lock a package version

Safe

Keep dnf upgrade from changing a package.

sudo dnf versionlock add <package>
What each part does
  1. dnf versionlock addlock the installed version (package python3-dnf-plugin-versionlock)

My note List: dnf versionlock list. Remove: sudo dnf versionlock delete <package>

  • #rhel
  • #packages

Also known as: freeze package · versionlock

RHEL / AL2023: Check if a reboot is needed

Safe

Exit code 1 and the reason when a reboot is needed.

sudo dnf needs-restarting -r
What each part does
  1. dnf needs-restarting -ris a reboot needed? (package dnf-utils)

My note Then: sudo reboot

  • #rhel
  • #reboot

Also known as: reboot required · needs-restarting

RHEL / AL2023: Confirm the new kernel after reboot

Safe

The running kernel should be the newest installed one.

uname -r && rpm -qa 'kernel*' | sort
What each part does
  1. uname -rrunning kernel
  2. rpm -qa 'kernel*'installed kernel packages (matches kernel on RHEL and kernel6.1 / kernel6.12 on AL2023)
  • #rhel
  • #kernel

Also known as: verify kernel · installed kernels

RHEL / AL2023: Set the default boot kernel

Caution

Choose which installed kernel boots next, e.g. go back to the previous one after a bad update.

Dry run first
sudo grubby --info /boot/vmlinuz-<version>
sudo grubby --set-default /boot/vmlinuz-<version>
What each part does
  1. grubby --set-defaultchange the default boot entry
  2. /boot/vmlinuz-<version>list them with ls /boot/vmlinuz-*

My note Current default: sudo grubby --default-kernel

  • #rhel
  • #kernel

Also known as: default kernel · kernel rollback · grubby

RHEL / AL2023: Remove old kernels

Caution

Keeps the two newest kernels and removes the rest (never the running one).

Dry run first
sudo dnf remove --oldinstallonly --setopt installonly_limit=2 --assumeno
sudo dnf remove --oldinstallonly --setopt installonly_limit=2 -y
What each part does
  1. --oldinstallonlyold versions of install-only packages (kernels)
  2. --setopt installonly_limit=2how many to keep
  • #rhel
  • #kernel

Also known as: old kernels · /boot full

RHEL / AL2023: Check a package changelog for a CVE fix

Safe

Red Hat backports fixes, so the version can look old. A match means the fix is in.

rpm -q --changelog <package> | grep -i <CVE-ID>
What each part does
  1. rpm -q --changelog <package>changelog of the installed package
  2. grep -i <CVE-ID>any match = fixed
  • #rhel
  • #cve

Also known as: verify cve fixed · backport

RHEL / AL2023: Undo the last update

Caution

Roll back the most recent dnf transaction.

Dry run first
sudo dnf history info last
sudo dnf history undo last
What each part does
  1. dnf historylist transactions
  2. undo lastrevert the newest one
  • #rhel
  • #packages

Also known as: rollback update · dnf history

SUSE13

SUSE: List pending updates

Safe

What would be upgraded, without installing anything.

sudo zypper refresh && zypper list-updates
What each part does
  1. zypper refreshrefresh repository metadata
  2. zypper list-updatespackages with a newer version
  • #suse
  • #packages

Also known as: check-update · pending updates · zypper lu

SUSE: List pending security updates

Safe

SUSE-SU security patches that apply to this VM.

zypper list-patches --category security
What each part does
  1. zypper list-patchespatches not installed yet
  2. --category securitysecurity only
  • #suse
  • #security-updates

Also known as: SUSE-SU · security patches

SUSE: Apply all updates

Caution

Installs every pending update including a new kernel.

Dry run first
sudo zypper refresh && sudo zypper update --dry-run
sudo zypper refresh && sudo zypper update -y
What each part does
  1. zypper updateupgrade all packages
  2. -yanswer yes
  • #suse
  • #packages
  • #kernel

Also known as: update everything · patch vm · zypper up

SUSE: Apply security updates only

Caution

Installs only security patches.

Dry run first
sudo zypper refresh && sudo zypper patch --category security --dry-run
sudo zypper refresh && sudo zypper patch --category security -y
What each part does
  1. zypper patchapply patches
  2. --category securitysecurity only
  • #suse
  • #security-updates

Also known as: security only · zypper patch

SUSE: Fix one CVE

Caution

Install only the patch that fixes one CVE.

Dry run first
sudo zypper patch --cve=<CVE-ID> --dry-run
sudo zypper patch --cve=<CVE-ID>
What each part does
  1. --cve=<CVE-ID>patches that list this CVE
  • #suse
  • #cve

Also known as: fix cve · patch cve

SUSE: Update the kernel

Caution

Installs the newest kernel. Used after a reboot.

Dry run first
sudo zypper refresh && sudo zypper update --dry-run kernel-default
sudo zypper refresh && sudo zypper update -y kernel-default
What each part does
  1. zypper update kernel-defaultnewest default kernel
  • #suse
  • #kernel

Also known as: kernel update · kernel-default

SUSE: Upgrade one package

Caution

Upgrade a single package.

Dry run first
sudo zypper refresh && sudo zypper update --dry-run <package>
sudo zypper refresh && sudo zypper update -y <package>
What each part does
  1. zypper update <package>e.g. python3-base
  • #suse
  • #packages

Also known as: single package · update one package

SUSE: Install an exact package version

Caution

Install a specific version (needed with --oldpackage when it is older than the installed one).

Dry run first
sudo zypper install --dry-run --oldpackage <package>-<version>
sudo zypper install --oldpackage <package>-<version>
What each part does
  1. --oldpackageallow installing an older version
  2. <package>-<version>list versions with zypper search -s <package>
  • #suse
  • #packages

Also known as: specific version · fixed in version · downgrade

SUSE: Lock a package version

Safe

Keep zypper from changing a package.

sudo zypper addlock <package>
What each part does
  1. zypper addlocklock the package

My note List: zypper locks. Remove: sudo zypper removelock <package>

  • #suse
  • #packages

Also known as: freeze package · zypper lock

SUSE: Check if a reboot is needed

Safe

Exit code 102 when a reboot is needed (new kernel, glibc ...).

sudo zypper needs-rebooting
What each part does
  1. zypper needs-rebootingis a reboot needed?

My note Then: sudo reboot

  • #suse
  • #reboot

Also known as: reboot required · needs-rebooting

SUSE: Confirm the new kernel after reboot

Safe

The running kernel should be the newest installed one.

uname -r && rpm -q kernel-default
What each part does
  1. uname -rrunning kernel
  2. rpm -q kernel-defaultinstalled kernels
  • #suse
  • #kernel

Also known as: verify kernel · installed kernels

SUSE: Remove old kernels

Caution

Removes old kernels, keeping what /etc/zypp/zypp.conf multiversion.kernels allows.

Dry run first
sudo zypper purge-kernels --dry-run
sudo zypper purge-kernels
What each part does
  1. zypper purge-kernelsremove kernels not kept by the multiversion setting
  • #suse
  • #kernel

Also known as: old kernels · /boot full

SUSE: Check a package changelog for a CVE fix

Safe

A match means the installed package contains the fix.

rpm -q --changelog <package> | grep -i <CVE-ID>
What each part does
  1. rpm -q --changelog <package>changelog of the installed package
  2. grep -i <CVE-ID>any match = fixed
  • #suse
  • #cve

Also known as: verify cve fixed · backport

My DevOps Playbook by Angelo John Calleja

New runbook

GitHub not connected

Saving is handled by the site: the GitHub token is stored in Cloudflare, not in your browser. Enter the editor password (the EDITOR_PASSWORD secret) to unlock saving in this browser.

Saving commits to gelogrammer/My_DevOps_Playbook. Create a fine-grained token with access to only this repo andContents: Read and write, then paste it here. It is stored only in this browser.

src/content/docs/…