{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Important"
    },
    "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-31597.json"
      }
    ],
    "title": "xmlhttprequest-ssl: SSL certificate validation disabled by default",
    "tracking": {
      "current_release_date": "2026-11-07T13:39:54+00:00",
      "generator": {
        "date": "2026-11-07T13:39:54+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "5.4.5"
        }
      },
      "id": "CVE-2021-31597",
      "initial_release_date": "2021-04-23T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2021-04-23T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-08-04T04:41:55+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2026-11-07T13:39:54+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat 3scale API Management Platform 2",
                "product": {
                  "name": "Red Hat 3scale API Management Platform 2",
                  "product_id": "red_hat_3scale_api_management_platform_2",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:3scale:2.13"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat 3scale API Management Platform 2"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Quay 3",
                "product": {
                  "name": "Red Hat Quay 3",
                  "product_id": "red_hat_quay_3",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:quay:3"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Quay 3"
          },
          {
            "category": "product_version",
            "name": "system",
            "product": {
              "name": "system",
              "product_id": "system",
              "product_identification_helper": {
                "purl": "pkg:golang/knative.dev/pkg/system?type=package"
              }
            }
          },
          {
            "category": "product_version",
            "name": "quay/quay-rhel8",
            "product": {
              "name": "quay/quay-rhel8",
              "product_id": "quay/quay-rhel8",
              "product_identification_helper": {
                "purl": "pkg:oci/quay-rhel8?repository_url=registry.redhat.io/quay/quay-rhel8"
              }
            }
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "system as a component of Red Hat 3scale API Management Platform 2",
          "product_id": "red_hat_3scale_api_management_platform_2:system"
        },
        "product_reference": "system",
        "relates_to_product_reference": "red_hat_3scale_api_management_platform_2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "quay/quay-rhel8 as a component of Red Hat Quay 3",
          "product_id": "red_hat_quay_3:quay/quay-rhel8"
        },
        "product_reference": "quay/quay-rhel8",
        "relates_to_product_reference": "red_hat_quay_3"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2021-31597",
      "cwe": {
        "id": "CWE-295",
        "name": "Improper Certificate Validation"
      },
      "discovery_date": "2021-04-23T00:00:00+00:00",
      "flags": [
        {
          "label": "vulnerable_code_not_present",
          "product_ids": [
            "red_hat_3scale_api_management_platform_2:system"
          ]
        }
      ],
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1953057"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "A flaw was found in xmlhttprequest-ssl for Node.js. SSL certificate validation is disabled by default, due to rejectUnauthorized (when the property exists but is undefined) being considered to be false within the https.request function of Node.js (thus, no certificate is ever rejected). The highest threat from this vulnerablity is to data confidentiality and integrity as well as system availability.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "xmlhttprequest-ssl: SSL certificate validation disabled by default",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "The xmlhttprequest-ssl library is included in Red Hat Quay as a dependency of karma which is only used during testing. The library is not used a runtime reducing the impact of the vulnerability to low for Red Hat Quay.",
          "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": [
          "red_hat_quay_3:quay/quay-rhel8"
        ],
        "known_not_affected": [
          "red_hat_3scale_api_management_platform_2:system"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2021-31597"
        },
        {
          "category": "external",
          "summary": "RHBZ#1953057",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1953057"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2021-31597",
          "url": "https://www.cve.org/CVERecord?id=CVE-2021-31597"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2021-31597",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-31597"
        }
      ],
      "release_date": "2021-04-23T00:00:00+00:00",
      "remediations": [
        {
          "category": "none_available",
          "details": "Fix deferred",
          "product_ids": [
            "red_hat_quay_3:quay/quay-rhel8"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "LOW",
            "baseScore": 9.4,
            "baseSeverity": "CRITICAL",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L",
            "version": "3.1"
          },
          "products": [
            "red_hat_3scale_api_management_platform_2:system",
            "red_hat_quay_3:quay/quay-rhel8"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important",
          "product_ids": [
            "red_hat_3scale_api_management_platform_2:system"
          ]
        },
        {
          "category": "impact",
          "details": "Low",
          "product_ids": [
            "red_hat_quay_3:quay/quay-rhel8"
          ]
        }
      ],
      "title": "xmlhttprequest-ssl: SSL certificate validation disabled by default"
    }
  ]
}