Find where you run Nagios Nagios XI, starting with anything internet-facing.
Apply the vendor fix. CISA's required action: Apply updates per vendor instructions.Vendor advisory
Using distro packages? Distros backport fixes under their own version numbers. Check your distro's status for CVE-2021-25298:Debian · Ubuntu · Red Hat · Alpine
Deadline: CISA's federal due date is 2022-02-01. Treat it as the latest reasonable date for everyone else.