{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Moderate"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright © Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-23424.json"
      }
    ],
    "title": "nodejs-ansi-html: ReDoS via crafted string",
    "tracking": {
      "current_release_date": "2025-11-21T15:04:58+00:00",
      "generator": {
        "date": "2025-11-21T15:04:58+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "4.6.12"
        }
      },
      "id": "CVE-2021-23424",
      "initial_release_date": "2021-05-07T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2021-05-07T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2023-10-25T17:21:56+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2025-11-21T15:04:58+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "OpenShift Service Mesh 1",
                "product": {
                  "name": "OpenShift Service Mesh 1",
                  "product_id": "openshift_service_mesh_1",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:service_mesh:1"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "OpenShift Service Mesh 1"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "OpenShift Service Mesh 2.0",
                "product": {
                  "name": "OpenShift Service Mesh 2.0",
                  "product_id": "openshift_service_mesh_2.0",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:service_mesh:2.0"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "OpenShift Service Mesh 2.0"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Advanced Cluster Management for Kubernetes 2",
                "product": {
                  "name": "Red Hat Advanced Cluster Management for Kubernetes 2",
                  "product_id": "red_hat_advanced_cluster_management_for_kubernetes_2",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:acm:2"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Advanced Cluster Management for Kubernetes 2"
          },
          {
            "category": "product_version",
            "name": "servicemesh-prometheus",
            "product": {
              "name": "servicemesh-prometheus",
              "product_id": "servicemesh-prometheus",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/servicemesh-prometheus"
              }
            }
          },
          {
            "category": "product_version",
            "name": "servicemesh-prometheus.src",
            "product": {
              "name": "servicemesh-prometheus.src",
              "product_id": "servicemesh-prometheus.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/servicemesh-prometheus?arch=src"
              }
            }
          },
          {
            "category": "product_version",
            "name": "rhacm2/console-rhel8",
            "product": {
              "name": "rhacm2/console-rhel8",
              "product_id": "rhacm2/console-rhel8",
              "product_identification_helper": {
                "purl": "pkg:oci/console-rhel8?repository_url=registry.redhat.io/rhacm2/console-rhel8"
              }
            }
          },
          {
            "category": "product_version",
            "name": "rhacm2/kui-web-terminal-rhel8",
            "product": {
              "name": "rhacm2/kui-web-terminal-rhel8",
              "product_id": "rhacm2/kui-web-terminal-rhel8",
              "product_identification_helper": {
                "purl": "pkg:oci/kui-web-terminal-rhel8?repository_url=registry.redhat.io/rhacm2/kui-web-terminal-rhel8"
              }
            }
          },
          {
            "category": "product_version",
            "name": "rhacm2/search-ui-rhel8",
            "product": {
              "name": "rhacm2/search-ui-rhel8",
              "product_id": "rhacm2/search-ui-rhel8",
              "product_identification_helper": {
                "purl": "pkg:oci/search-ui-rhel8?repository_url=registry.redhat.io/rhacm2/search-ui-rhel8"
              }
            }
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "servicemesh-prometheus as a component of OpenShift Service Mesh 1",
          "product_id": "openshift_service_mesh_1:servicemesh-prometheus"
        },
        "product_reference": "servicemesh-prometheus",
        "relates_to_product_reference": "openshift_service_mesh_1"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "servicemesh-prometheus.src as a component of OpenShift Service Mesh 1",
          "product_id": "openshift_service_mesh_1:servicemesh-prometheus.src"
        },
        "product_reference": "servicemesh-prometheus.src",
        "relates_to_product_reference": "openshift_service_mesh_1"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "servicemesh-prometheus as a component of OpenShift Service Mesh 2.0",
          "product_id": "openshift_service_mesh_2.0:servicemesh-prometheus"
        },
        "product_reference": "servicemesh-prometheus",
        "relates_to_product_reference": "openshift_service_mesh_2.0"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "servicemesh-prometheus.src as a component of OpenShift Service Mesh 2.0",
          "product_id": "openshift_service_mesh_2.0:servicemesh-prometheus.src"
        },
        "product_reference": "servicemesh-prometheus.src",
        "relates_to_product_reference": "openshift_service_mesh_2.0"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "rhacm2/console-rhel8 as a component of Red Hat Advanced Cluster Management for Kubernetes 2",
          "product_id": "red_hat_advanced_cluster_management_for_kubernetes_2:rhacm2/console-rhel8"
        },
        "product_reference": "rhacm2/console-rhel8",
        "relates_to_product_reference": "red_hat_advanced_cluster_management_for_kubernetes_2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "rhacm2/kui-web-terminal-rhel8 as a component of Red Hat Advanced Cluster Management for Kubernetes 2",
          "product_id": "red_hat_advanced_cluster_management_for_kubernetes_2:rhacm2/kui-web-terminal-rhel8"
        },
        "product_reference": "rhacm2/kui-web-terminal-rhel8",
        "relates_to_product_reference": "red_hat_advanced_cluster_management_for_kubernetes_2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "rhacm2/search-ui-rhel8 as a component of Red Hat Advanced Cluster Management for Kubernetes 2",
          "product_id": "red_hat_advanced_cluster_management_for_kubernetes_2:rhacm2/search-ui-rhel8"
        },
        "product_reference": "rhacm2/search-ui-rhel8",
        "relates_to_product_reference": "red_hat_advanced_cluster_management_for_kubernetes_2"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2021-23424",
      "cwe": {
        "id": "CWE-400",
        "name": "Uncontrolled Resource Consumption"
      },
      "discovery_date": "2021-08-18T00:00:00+00:00",
      "flags": [
        {
          "label": "vulnerable_code_not_present",
          "product_ids": [
            "red_hat_advanced_cluster_management_for_kubernetes_2:rhacm2/kui-web-terminal-rhel8"
          ]
        }
      ],
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1995798"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "This affects all versions of package ansi-html. If an attacker provides a malicious string, it will get stuck processing the input for an extremely long time.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "nodejs-ansi-html: ReDoS via crafted string",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "In OpenShift Service Mesh, as the prometheus interface is behind authentication, the impact of has been lowered.\n\nIn Red Hat Advanced Management for Kubernetes (RHACM) is protected behind OAuth so the impact has been set to low.",
          "title": "Statement"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "known_affected": [
          "openshift_service_mesh_1:servicemesh-prometheus",
          "openshift_service_mesh_1:servicemesh-prometheus.src",
          "openshift_service_mesh_2.0:servicemesh-prometheus",
          "openshift_service_mesh_2.0:servicemesh-prometheus.src",
          "red_hat_advanced_cluster_management_for_kubernetes_2:rhacm2/console-rhel8",
          "red_hat_advanced_cluster_management_for_kubernetes_2:rhacm2/search-ui-rhel8"
        ],
        "known_not_affected": [
          "red_hat_advanced_cluster_management_for_kubernetes_2:rhacm2/kui-web-terminal-rhel8"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2021-23424"
        },
        {
          "category": "external",
          "summary": "RHBZ#1995798",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1995798"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2021-23424",
          "url": "https://www.cve.org/CVERecord?id=CVE-2021-23424"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2021-23424",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23424"
        },
        {
          "category": "external",
          "summary": "https://snyk.io/vuln/SNYK-JS-ANSIHTML-1296849",
          "url": "https://snyk.io/vuln/SNYK-JS-ANSIHTML-1296849"
        }
      ],
      "release_date": "2021-05-07T00:00:00+00:00",
      "remediations": [
        {
          "category": "no_fix_planned",
          "details": "Out of support scope",
          "product_ids": [
            "openshift_service_mesh_1:servicemesh-prometheus",
            "openshift_service_mesh_1:servicemesh-prometheus.src"
          ]
        },
        {
          "category": "none_available",
          "details": "Fix deferred",
          "product_ids": [
            "red_hat_advanced_cluster_management_for_kubernetes_2:rhacm2/console-rhel8",
            "red_hat_advanced_cluster_management_for_kubernetes_2:rhacm2/search-ui-rhel8"
          ]
        },
        {
          "category": "none_available",
          "details": "Affected",
          "product_ids": [
            "openshift_service_mesh_2.0:servicemesh-prometheus",
            "openshift_service_mesh_2.0:servicemesh-prometheus.src"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "products": [
            "openshift_service_mesh_1:servicemesh-prometheus",
            "openshift_service_mesh_1:servicemesh-prometheus.src",
            "openshift_service_mesh_2.0:servicemesh-prometheus",
            "openshift_service_mesh_2.0:servicemesh-prometheus.src",
            "red_hat_advanced_cluster_management_for_kubernetes_2:rhacm2/console-rhel8",
            "red_hat_advanced_cluster_management_for_kubernetes_2:rhacm2/kui-web-terminal-rhel8",
            "red_hat_advanced_cluster_management_for_kubernetes_2:rhacm2/search-ui-rhel8"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Low",
          "product_ids": [
            "openshift_service_mesh_1:servicemesh-prometheus",
            "openshift_service_mesh_1:servicemesh-prometheus.src",
            "red_hat_advanced_cluster_management_for_kubernetes_2:rhacm2/console-rhel8",
            "red_hat_advanced_cluster_management_for_kubernetes_2:rhacm2/kui-web-terminal-rhel8",
            "red_hat_advanced_cluster_management_for_kubernetes_2:rhacm2/search-ui-rhel8"
          ]
        },
        {
          "category": "impact",
          "details": "Moderate",
          "product_ids": [
            "openshift_service_mesh_2.0:servicemesh-prometheus",
            "openshift_service_mesh_2.0:servicemesh-prometheus.src"
          ]
        }
      ],
      "title": "nodejs-ansi-html: ReDoS via crafted string"
    }
  ]
}