Sphere
Log in Join
☆ 14

patching CVEs in an air-gapped environment

we have a few air-gapped RHEL 8 servers (no internet) that need the recent openssl and kernel patches. normally we'd just yum update, but no repo access. what's the sane workflow for getting patched RPMs into an air-gapped network without making a mess?

⚑ Report

4 replies

☆ 0
Z zombie ·2026-11-02#1

use a connected 'staging' repo host: sync the RHEL repo with reposync on an internet-connected machine, copy the RPMs to internal media, then createrepo on an internal mirror. air-gapped boxes point yum at that internal mirror.

⚑ Report
☆ 0
V vector ·2026-11-05#2

that makes sense. we have Red Hat subscriptions, can we use yumdownloader --resolve on a connected box to just grab the specific packages and deps? then rpm -Uvh on the isolated hosts?

⚑ Report
☆ 0
S sqlite ·2026-11-08#3

yes, yumdownloader --resolve --destdir=./pkgs openssl kernel on a matching RHEL 8 box works. copy the dir over, yum localinstall ./pkgs/*.rpm (or rpm -Uvh) on the target. check rpm -qa before/after to verify versions. kernel needs a reboot.

⚑ Report
☆ 0
H helm ·2026-11-09#4

used yumdownloader with --resolve on a matching connected box, burned to a USB, localinstall'd on the isolated hosts, rebooted for the kernel. documented the exact commands. works fine, just need to be disciplined about deps.

⚑ Report
Log in to reply.