Security Advisory

CVE-2022-20821: Cisco IOS XR Health Check Redis Port

Last updated:
  • CVE-2022-20821

CVE-2022-20821 is an exposed-service flaw in Cisco IOS XR: the health check package opens an unauthenticated Redis database on TCP port 6379 inside a container on Cisco 8000 Series Routers running IOS XR 7.3.3. NVD scores it 6.5 and CISA KEV lists it. Upgrade to 7.3.4 or install Cisco's SMU, or remove health check and block the port.

Vulnerability summary

CVSS base score

6.5

Medium severity

EPSS score (FIRST)

11.5%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2022-20821 · Source: NVD

Affected components

ComponentCPEVersion range
Cisco IOS XR Software health check RPM (xr-healthcheck) on Cisco 8000 Series Routerscpe:2.3:o:cisco:ios_xr:-:*:*:*:*:*:*:*Cisco: IOS XR 7.3.3 with the health check RPM installed and active; fixed in 7.3.4 or SMU 8000-7.3.3.CSCwb82689; 7.2 and earlier, 7.3.1/7.3.2/7.3.15/7.3.16, 7.4, 7.5.1, 7.5.2 and 7.6 not affected

What does this mean for affected devices?

NVD describes CVE-2022-20821 as "a vulnerability in the health check RPM of Cisco IOS XR Software" that "opens TCP port 6379 by default upon activation", letting an unauthenticated remote attacker reach "the Redis instance that is running within the NOSi container". The attacker can write to the Redis in-memory database, write arbitrary files to the container filesystem and read information about the database; because the container is sandboxed, NVD and Cisco state the attacker cannot run code on, or change, the IOS XR host. NVD's Primary score is CVSS v3.1 6.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N), with NVD CVSS v2 6.4; Cisco gives the same 6.5. NVD assigns no specific CWE (NVD-CWE-noinfo), Cisco uses CWE-200 and the KEV entry CWE-923 (NVD, CVE record).

Which Cisco routers are affected?

Cisco's advisory cisco-sa-iosxr-redis-ABJyE5xK, bug CSCwb82689, says that at publication the flaw affected Cisco 8000 Series Routers running a vulnerable IOS XR release with the health check RPM installed and active. If run docker ps lists a container named NOSi, the router is in the vulnerable state. Cisco's fixed-release table marks only IOS XR 7.3.3 as affected; 7.2 and earlier, 7.3.1, 7.3.2, 7.3.15, 7.3.16, 7.4, 7.5.1, 7.5.2 and 7.6 are not. Cisco found it while resolving a TAC support case.

How do I fix CVE-2022-20821?

Upgrade to IOS XR 7.3.4, or install SMU 8000-7.3.3.CSCwb82689 on 7.3.3. Cisco's revision of March 2024 adds that after installing the SMU the old NOSi container can keep running with Redis still listening, and the advisory gives steps to stop and remove the old container and image. Cisco's preferred workaround is to disable health check and its asic-reset and packet-drop use cases, then remove the xr-healthcheck package; the alternative is an infrastructure ACL that denies TCP 6379 to the router's addresses. A service-provider router should never answer on a database port from outside, which is the point of our BOD 23-02 guide to exposed management interfaces. Another exploited IOS XR flaw is the Cisco Discovery Protocol bug CVE-2020-3118.

Is CVE-2022-20821 exploited?

Yes. Cisco says that in May 2022 its PSIRT "became aware of attempted exploitation of this vulnerability in the wild". CISA added CVE-2022-20821 to the KEV catalog on 2022-05-23 with the action "Apply updates per vendor instructions." (due 2022-06-13; known ransomware campaign use: Unknown); it is still listed as of 2026-11-25 in catalog version 2026.11.24. FIRST EPSS gives 0.11471, the 96.09th percentile, in the 2026-11-24 dataset (FIRST EPSS). See KEV and EPSS prioritization for ranking it.

How to fix this class of issueNo dedicated SoftWSP guide covers this weakness class; the fix is usually the vendor patch or firmware update referenced above. Our related guide explains how to plan and verify it: NIST SP 800-40 Rev. 4: enterprise patch management planning, explained.

Evidence

  • NVD: Analyzed; health check RPM of Cisco IOS XR opens TCP 6379 by default, Redis in NOSi container, write DB, write files in container, read info, no RCE/host integrity; NVD Primary CVSS v3.1 6.5 C:L/I:L, NVD Primary CVSS v2 6.4; Cisco 6.5; CWE NVD-CWE-noinfo (NVD), CWE-200 (Cisco); CPE ios_xr:-; read 2026-11-25. — NVD
  • Cisco advisory v1.2 (2022-05-20, rev 2022-06-01 SMU, 2024-03-15 workaround + SMU install steps): Cisco 8000 Series with health check RPM active; run docker ps shows NOSi; fixed table 7.3.3 -> SMU 8000-7.3.3.CSCwb82689 and 7.3.4, other releases not affected; workaround 1 disable healthcheck + use cases and remove xr-healthcheck, workaround 2 iACL deny tcp 6379; old container may stay active after SMU; May 2022 attempted exploitation; found during TAC case; bug CSCwb82689. — Cisco Security Advisory cisco-sa-iosxr-redis-ABJyE5xK
  • KEV catalog 2026.11.24: dateAdded 2022-05-23, due 2022-06-13, 'Apply updates per vendor instructions.', knownRansomwareCampaignUse Unknown, CWE-923; checked 2026-11-25. — CISA KEV
  • EPSS 0.11471, percentile 0.96089, dataset 2026-11-24, read 2026-11-25. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. Cisco Security Advisory: Cisco IOS XR Software Health Check Open Port Vulnerability
  3. Cisco CSAF: cisco-sa-iosxr-redis-ABJyE5xK
  4. CVE.org record CVE-2022-20821 (CNA: Cisco)
  5. CISA KEV
  6. FIRST EPSS

Frequently asked questions

Which routers does CVE-2022-20821 affect?

Cisco 8000 Series Routers running Cisco IOS XR 7.3.3 with the health check RPM installed and active. If run docker ps shows a container named NOSi, the router is in the vulnerable state. Other IOS XR releases in Cisco's table are not affected (per Cisco's advisory).

Can CVE-2022-20821 give an attacker control of the router?

Cisco says no. The attacker can write to the Redis database, write files inside the NOSi container and read database information, but the sandboxed container prevents code execution on, or changes to, the IOS XR host. NVD scores it 6.5 for that reason.

How do I fix CVE-2022-20821?

Upgrade to IOS XR 7.3.4 or install SMU 8000-7.3.3.CSCwb82689, then make sure the old NOSi container is stopped and removed as Cisco's advisory describes. Otherwise disable health check and remove the xr-healthcheck package, or block TCP 6379 with an infrastructure ACL.

Is CVE-2022-20821 exploited?

Yes. Cisco reported attempted exploitation in the wild in May 2022, and CISA added it to KEV on 2022-05-23; it is listed as of 2026-11-25 in catalog version 2026.11.24. FIRST EPSS gives 0.11471, the 96.09th percentile, in the 2026-11-24 dataset.