{
  "document": {
    "title": "SSA-145224: Vulnerability in OSPF Packet Handling of SCALANCE XM-400 and XR-500 Devices",
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "publisher": {
      "name": "Siemens ProductCERT",
      "contact_details": "productcert@siemens.com",
      "category": "vendor",
      "namespace": "https://www.siemens.com"
    },
    "distribution": {
      "text": "Disclosure is not limited.",
      "tlp": {
        "label": "WHITE"
      }
    },
    "tracking": {
      "id": "SSA-145224",
      "status": "final",
      "version": "1",
      "revision_history": [
        {
          "number": "1",
          "legacy_version": "1.0",
          "date": "2022-06-14T00:00:00Z",
          "summary": "Publication Date"
        }
      ],
      "initial_release_date": "2022-06-14T00:00:00Z",
      "current_release_date": "2022-06-14T00:00:00Z",
      "generator": {
        "engine": {
          "name": "Siemens ProductCERT CSAF Generator",
          "version": "1"
        }
      }
    },
    "notes": [
      {
        "title": "Summary",
        "category": "summary",
        "text": "SCALANCE XM-400 and XR-500 devices contain a vulnerability in the OSPF protocol implementation that could allow an unauthenticated remote attacker to cause interruptions in the network.\n\nSiemens has released updates for the affected products and recommends to update to the latest versions."
      },
      {
        "title": "General Recommendations",
        "category": "general",
        "text": "As a general security measure, Siemens strongly recommends to protect network access to devices with appropriate mechanisms. In order to operate the devices in a protected IT environment, Siemens recommends to configure the environment according to Siemens' operational guidelines for Industrial Security (Download: https://www.siemens.com/cert/operational-guidelines-industrial-security), and to follow the recommendations in the product manuals.\n\nAdditional information on Industrial Security by Siemens can be found at: https://www.siemens.com/industrialsecurity"
      },
      {
        "title": "Additional Resources",
        "category": "general",
        "text": "For further inquiries on security vulnerabilities in Siemens products and solutions, please contact the Siemens ProductCERT: https://www.siemens.com/cert/advisories"
      },
      {
        "title": "Terms of Use",
        "category": "legal_disclaimer",
        "text": "Siemens Security Advisories are subject to the terms and conditions contained in Siemens' underlying license terms or other applicable agreements previously agreed to with Siemens (hereinafter \"License Terms\"). To the extent applicable to information, software or documentation made available in or through a Siemens Security Advisory, the Terms of Use of Siemens' Global Website (https://www.siemens.com/terms_of_use, hereinafter \"Terms of Use\"), in particular Sections 8-10 of the Terms of Use, shall apply additionally. In case of conflicts, the License Terms shall prevail over the Terms of Use."
      }
    ],
    "references": [
      {
        "category": "self",
        "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-145224.pdf",
        "summary": "SSA-145224: Vulnerability in OSPF Packet Handling of SCALANCE XM-400 and XR-500 Devices - PDF Version"
      },
      {
        "category": "self",
        "url": "https://cert-portal.siemens.com/productcert/txt/ssa-145224.txt",
        "summary": "SSA-145224: Vulnerability in OSPF Packet Handling of SCALANCE XM-400 and XR-500 Devices - TXT Version"
      },
      {
        "category": "self",
        "url": "https://cert-portal.siemens.com/productcert/csaf/ssa-145224.json",
        "summary": "SSA-145224: Vulnerability in OSPF Packet Handling of SCALANCE XM-400 and XR-500 Devices - CSAF Version"
      }
    ]
  },
  "product_tree": {
    "branches": [
      {
        "name": "Siemens",
        "category": "vendor",
        "branches": [
          {
            "name": "SCALANCE XM408-4C",
            "category": "product_name",
            "branches": [
              {
                "name": "< V6.5",
                "category": "product_version_range",
                "product": {
                  "product_id": "1",
                  "name": "SCALANCE XM408-4C",
                  "product_identification_helper": {
                    "model_numbers": [
                      "6GK5408-4GP00-2AM2"
                    ]
                  }
                }
              }
            ]
          },
          {
            "name": "SCALANCE XM408-4C (L3 int.)",
            "category": "product_name",
            "branches": [
              {
                "name": "< V6.5",
                "category": "product_version_range",
                "product": {
                  "product_id": "2",
                  "name": "SCALANCE XM408-4C (L3 int.)",
                  "product_identification_helper": {
                    "model_numbers": [
                      "6GK5408-4GQ00-2AM2"
                    ]
                  }
                }
              }
            ]
          },
          {
            "name": "SCALANCE XM408-8C",
            "category": "product_name",
            "branches": [
              {
                "name": "< V6.5",
                "category": "product_version_range",
                "product": {
                  "product_id": "3",
                  "name": "SCALANCE XM408-8C",
                  "product_identification_helper": {
                    "model_numbers": [
                      "6GK5408-8GS00-2AM2"
                    ]
                  }
                }
              }
            ]
          },
          {
            "name": "SCALANCE XM408-8C (L3 int.)",
            "category": "product_name",
            "branches": [
              {
                "name": "< V6.5",
                "category": "product_version_range",
                "product": {
                  "product_id": "4",
                  "name": "SCALANCE XM408-8C (L3 int.)",
                  "product_identification_helper": {
                    "model_numbers": [
                      "6GK5408-8GR00-2AM2"
                    ]
                  }
                }
              }
            ]
          },
          {
            "name": "SCALANCE XM416-4C",
            "category": "product_name",
            "branches": [
              {
                "name": "< V6.5",
                "category": "product_version_range",
                "product": {
                  "product_id": "5",
                  "name": "SCALANCE XM416-4C",
                  "product_identification_helper": {
                    "model_numbers": [
                      "6GK5416-4GS00-2AM2"
                    ]
                  }
                }
              }
            ]
          },
          {
            "name": "SCALANCE XM416-4C (L3 int.)",
            "category": "product_name",
            "branches": [
              {
                "name": "< V6.5",
                "category": "product_version_range",
                "product": {
                  "product_id": "6",
                  "name": "SCALANCE XM416-4C (L3 int.)",
                  "product_identification_helper": {
                    "model_numbers": [
                      "6GK5416-4GR00-2AM2"
                    ]
                  }
                }
              }
            ]
          },
          {
            "name": "SCALANCE XR524-8C, 1x230V",
            "category": "product_name",
            "branches": [
              {
                "name": "< V6.5",
                "category": "product_version_range",
                "product": {
                  "product_id": "7",
                  "name": "SCALANCE XR524-8C, 1x230V",
                  "product_identification_helper": {
                    "model_numbers": [
                      "6GK5524-8GS00-3AR2"
                    ]
                  }
                }
              }
            ]
          },
          {
            "name": "SCALANCE XR524-8C, 1x230V (L3 int.)",
            "category": "product_name",
            "branches": [
              {
                "name": "< V6.5",
                "category": "product_version_range",
                "product": {
                  "product_id": "8",
                  "name": "SCALANCE XR524-8C, 1x230V (L3 int.)",
                  "product_identification_helper": {
                    "model_numbers": [
                      "6GK5524-8GR00-3AR2"
                    ]
                  }
                }
              }
            ]
          },
          {
            "name": "SCALANCE XR524-8C, 2x230V",
            "category": "product_name",
            "branches": [
              {
                "name": "< V6.5",
                "category": "product_version_range",
                "product": {
                  "product_id": "9",
                  "name": "SCALANCE XR524-8C, 2x230V",
                  "product_identification_helper": {
                    "model_numbers": [
                      "6GK5524-8GS00-4AR2"
                    ]
                  }
                }
              }
            ]
          },
          {
            "name": "SCALANCE XR524-8C, 2x230V (L3 int.)",
            "category": "product_name",
            "branches": [
              {
                "name": "< V6.5",
                "category": "product_version_range",
                "product": {
                  "product_id": "10",
                  "name": "SCALANCE XR524-8C, 2x230V (L3 int.)",
                  "product_identification_helper": {
                    "model_numbers": [
                      "6GK5524-8GR00-4AR2"
                    ]
                  }
                }
              }
            ]
          },
          {
            "name": "SCALANCE XR524-8C, 24V",
            "category": "product_name",
            "branches": [
              {
                "name": "< V6.5",
                "category": "product_version_range",
                "product": {
                  "product_id": "11",
                  "name": "SCALANCE XR524-8C, 24V",
                  "product_identification_helper": {
                    "model_numbers": [
                      "6GK5524-8GS00-2AR2"
                    ]
                  }
                }
              }
            ]
          },
          {
            "name": "SCALANCE XR524-8C, 24V (L3 int.)",
            "category": "product_name",
            "branches": [
              {
                "name": "< V6.5",
                "category": "product_version_range",
                "product": {
                  "product_id": "12",
                  "name": "SCALANCE XR524-8C, 24V (L3 int.)",
                  "product_identification_helper": {
                    "model_numbers": [
                      "6GK5524-8GR00-2AR2"
                    ]
                  }
                }
              }
            ]
          },
          {
            "name": "SCALANCE XR526-8C, 1x230V",
            "category": "product_name",
            "branches": [
              {
                "name": "< V6.5",
                "category": "product_version_range",
                "product": {
                  "product_id": "13",
                  "name": "SCALANCE XR526-8C, 1x230V",
                  "product_identification_helper": {
                    "model_numbers": [
                      "6GK5526-8GS00-3AR2"
                    ]
                  }
                }
              }
            ]
          },
          {
            "name": "SCALANCE XR526-8C, 1x230V (L3 int.)",
            "category": "product_name",
            "branches": [
              {
                "name": "< V6.5",
                "category": "product_version_range",
                "product": {
                  "product_id": "14",
                  "name": "SCALANCE XR526-8C, 1x230V (L3 int.)",
                  "product_identification_helper": {
                    "model_numbers": [
                      "6GK5526-8GR00-3AR2"
                    ]
                  }
                }
              }
            ]
          },
          {
            "name": "SCALANCE XR526-8C, 2x230V",
            "category": "product_name",
            "branches": [
              {
                "name": "< V6.5",
                "category": "product_version_range",
                "product": {
                  "product_id": "15",
                  "name": "SCALANCE XR526-8C, 2x230V",
                  "product_identification_helper": {
                    "model_numbers": [
                      "6GK5526-8GS00-4AR2"
                    ]
                  }
                }
              }
            ]
          },
          {
            "name": "SCALANCE XR526-8C, 2x230V (L3 int.)",
            "category": "product_name",
            "branches": [
              {
                "name": "< V6.5",
                "category": "product_version_range",
                "product": {
                  "product_id": "16",
                  "name": "SCALANCE XR526-8C, 2x230V (L3 int.)",
                  "product_identification_helper": {
                    "model_numbers": [
                      "6GK5526-8GR00-4AR2"
                    ]
                  }
                }
              }
            ]
          },
          {
            "name": "SCALANCE XR526-8C, 24V",
            "category": "product_name",
            "branches": [
              {
                "name": "< V6.5",
                "category": "product_version_range",
                "product": {
                  "product_id": "17",
                  "name": "SCALANCE XR526-8C, 24V",
                  "product_identification_helper": {
                    "model_numbers": [
                      "6GK5526-8GS00-2AR2"
                    ]
                  }
                }
              }
            ]
          },
          {
            "name": "SCALANCE XR526-8C, 24V (L3 int.)",
            "category": "product_name",
            "branches": [
              {
                "name": "< V6.5",
                "category": "product_version_range",
                "product": {
                  "product_id": "18",
                  "name": "SCALANCE XR526-8C, 24V (L3 int.)",
                  "product_identification_helper": {
                    "model_numbers": [
                      "6GK5526-8GR00-2AR2"
                    ]
                  }
                }
              }
            ]
          },
          {
            "name": "SCALANCE XR528-6M",
            "category": "product_name",
            "branches": [
              {
                "name": "< V6.5",
                "category": "product_version_range",
                "product": {
                  "product_id": "19",
                  "name": "SCALANCE XR528-6M",
                  "product_identification_helper": {
                    "model_numbers": [
                      "6GK5528-0AA00-2AR2"
                    ]
                  }
                }
              }
            ]
          },
          {
            "name": "SCALANCE XR528-6M (2HR2)",
            "category": "product_name",
            "branches": [
              {
                "name": "< V6.5",
                "category": "product_version_range",
                "product": {
                  "product_id": "20",
                  "name": "SCALANCE XR528-6M (2HR2)",
                  "product_identification_helper": {
                    "model_numbers": [
                      "6GK5528-0AA00-2HR2"
                    ]
                  }
                }
              }
            ]
          },
          {
            "name": "SCALANCE XR528-6M (2HR2, L3 int.)",
            "category": "product_name",
            "branches": [
              {
                "name": "< V6.5",
                "category": "product_version_range",
                "product": {
                  "product_id": "21",
                  "name": "SCALANCE XR528-6M (2HR2, L3 int.)",
                  "product_identification_helper": {
                    "model_numbers": [
                      "6GK5528-0AR00-2HR2"
                    ]
                  }
                }
              }
            ]
          },
          {
            "name": "SCALANCE XR528-6M (L3 int.)",
            "category": "product_name",
            "branches": [
              {
                "name": "< V6.5",
                "category": "product_version_range",
                "product": {
                  "product_id": "22",
                  "name": "SCALANCE XR528-6M (L3 int.)",
                  "product_identification_helper": {
                    "model_numbers": [
                      "6GK5528-0AR00-2AR2"
                    ]
                  }
                }
              }
            ]
          },
          {
            "name": "SCALANCE XR552-12M",
            "category": "product_name",
            "branches": [
              {
                "name": "< V6.5",
                "category": "product_version_range",
                "product": {
                  "product_id": "23",
                  "name": "SCALANCE XR552-12M",
                  "product_identification_helper": {
                    "model_numbers": [
                      "6GK5552-0AA00-2AR2"
                    ]
                  }
                }
              }
            ]
          },
          {
            "name": "SCALANCE XR552-12M (2HR2)",
            "category": "product_name",
            "branches": [
              {
                "name": "< V6.5",
                "category": "product_version_range",
                "product": {
                  "product_id": "24",
                  "name": "SCALANCE XR552-12M (2HR2)",
                  "product_identification_helper": {
                    "model_numbers": [
                      "6GK5552-0AA00-2HR2"
                    ]
                  }
                }
              }
            ]
          },
          {
            "name": "SCALANCE XR552-12M (2HR2)",
            "category": "product_name",
            "branches": [
              {
                "name": "< V6.5",
                "category": "product_version_range",
                "product": {
                  "product_id": "25",
                  "name": "SCALANCE XR552-12M (2HR2)",
                  "product_identification_helper": {
                    "model_numbers": [
                      "6GK5552-0AR00-2HR2"
                    ]
                  }
                }
              }
            ]
          },
          {
            "name": "SCALANCE XR552-12M (2HR2, L3 int.)",
            "category": "product_name",
            "branches": [
              {
                "name": "< V6.5",
                "category": "product_version_range",
                "product": {
                  "product_id": "26",
                  "name": "SCALANCE XR552-12M (2HR2, L3 int.)",
                  "product_identification_helper": {
                    "model_numbers": [
                      "6GK5552-0AR00-2AR2"
                    ]
                  }
                }
              }
            ]
          }
        ]
      }
    ]
  },
  "vulnerabilities": [
    {
      "title": "CVE-2021-37182",
      "notes": [
        {
          "title": "Summary",
          "category": "summary",
          "text": "The OSPF protocol implementation in affected devices fails to verify the checksum and length fields in the OSPF LS Update messages.\n\nAn unauthenticated remote attacker could exploit this vulnerability to cause interruptions in the network by sending specially crafted OSPF packets. Successful exploitation requires OSPF to be enabled on an affected device."
        }
      ],
      "cve": "CVE-2021-37182",
      "cwe": {
        "id": "CWE-354",
        "name": "Improper Validation of Integrity Check Value"
      },
      "product_status": {
        "known_affected": [
          "1",
          "2",
          "3",
          "4",
          "5",
          "6",
          "7",
          "8",
          "9",
          "10",
          "11",
          "12",
          "13",
          "14",
          "15",
          "16",
          "17",
          "18",
          "19",
          "20",
          "21",
          "22",
          "23",
          "24",
          "25",
          "26"
        ]
      },
      "scores": [
        {
          "cvss_v3": {
            "version": "3.1",
            "baseScore": 5.9,
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P/RL:O/RC:C"
          },
          "products": [
            "1",
            "2",
            "3",
            "4",
            "5",
            "6",
            "7",
            "8",
            "9",
            "10",
            "11",
            "12",
            "13",
            "14",
            "15",
            "16",
            "17",
            "18",
            "19",
            "20",
            "21",
            "22",
            "23",
            "24",
            "25",
            "26"
          ]
        }
      ],
      "remediations": [
        {
          "product_ids": [
            "1",
            "2",
            "3",
            "4",
            "5",
            "6",
            "7",
            "8",
            "9",
            "10",
            "11",
            "12",
            "13",
            "14",
            "15",
            "16",
            "17",
            "18",
            "19",
            "20",
            "21",
            "22",
            "23",
            "24",
            "25",
            "26"
          ],
          "category": "vendor_fix",
          "details": "Update to V6.5 or later version",
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109809635/"
        },
        {
          "product_ids": [
            "1",
            "2",
            "3",
            "4",
            "5",
            "6",
            "7",
            "8",
            "9",
            "10",
            "11",
            "12",
            "13",
            "14",
            "15",
            "16",
            "17",
            "18",
            "19",
            "20",
            "21",
            "22",
            "23",
            "24",
            "25",
            "26"
          ],
          "category": "mitigation",
          "details": "Disable OSPF in the layer 3 configuration menu (note that OSPF is disabled by default). The vulnerability is not exploitable, when OSPF is disabled"
        },
        {
          "product_ids": [
            "1",
            "2",
            "3",
            "4",
            "5",
            "6",
            "7",
            "8",
            "9",
            "10",
            "11",
            "12",
            "13",
            "14",
            "15",
            "16",
            "17",
            "18",
            "19",
            "20",
            "21",
            "22",
            "23",
            "24",
            "25",
            "26"
          ],
          "category": "mitigation",
          "details": "If OSPF is used, set a password for the OSPF interface and enable MD5 authentication"
        }
      ],
      "references": [
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109809635/",
          "summary": "CVE-2021-37182 - SCALANCE XM408-4C"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109809635/",
          "summary": "CVE-2021-37182 - SCALANCE XM408-4C (L3 int.)"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109809635/",
          "summary": "CVE-2021-37182 - SCALANCE XM408-8C"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109809635/",
          "summary": "CVE-2021-37182 - SCALANCE XM408-8C (L3 int.)"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109809635/",
          "summary": "CVE-2021-37182 - SCALANCE XM416-4C"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109809635/",
          "summary": "CVE-2021-37182 - SCALANCE XM416-4C (L3 int.)"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109809635/",
          "summary": "CVE-2021-37182 - SCALANCE XR524-8C, 1x230V"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109809635/",
          "summary": "CVE-2021-37182 - SCALANCE XR524-8C, 1x230V (L3 int.)"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109809635/",
          "summary": "CVE-2021-37182 - SCALANCE XR524-8C, 2x230V"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109809635/",
          "summary": "CVE-2021-37182 - SCALANCE XR524-8C, 2x230V (L3 int.)"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109809635/",
          "summary": "CVE-2021-37182 - SCALANCE XR524-8C, 24V"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109809635/",
          "summary": "CVE-2021-37182 - SCALANCE XR524-8C, 24V (L3 int.)"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109809635/",
          "summary": "CVE-2021-37182 - SCALANCE XR526-8C, 1x230V"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109809635/",
          "summary": "CVE-2021-37182 - SCALANCE XR526-8C, 1x230V (L3 int.)"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109809635/",
          "summary": "CVE-2021-37182 - SCALANCE XR526-8C, 2x230V"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109809635/",
          "summary": "CVE-2021-37182 - SCALANCE XR526-8C, 2x230V (L3 int.)"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109809635/",
          "summary": "CVE-2021-37182 - SCALANCE XR526-8C, 24V"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109809635/",
          "summary": "CVE-2021-37182 - SCALANCE XR526-8C, 24V (L3 int.)"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109809635/",
          "summary": "CVE-2021-37182 - SCALANCE XR528-6M"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109809635/",
          "summary": "CVE-2021-37182 - SCALANCE XR528-6M (2HR2)"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109809635/",
          "summary": "CVE-2021-37182 - SCALANCE XR528-6M (2HR2, L3 int.)"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109809635/",
          "summary": "CVE-2021-37182 - SCALANCE XR528-6M (L3 int.)"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109809635/",
          "summary": "CVE-2021-37182 - SCALANCE XR552-12M"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109809635/",
          "summary": "CVE-2021-37182 - SCALANCE XR552-12M (2HR2)"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109809635/",
          "summary": "CVE-2021-37182 - SCALANCE XR552-12M (2HR2)"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109809635/",
          "summary": "CVE-2021-37182 - SCALANCE XR552-12M (2HR2, L3 int.)"
        },
        {
          "url": "https://cert-portal.siemens.com/productcert/mitre/CVE-2021-37182.json",
          "summary": "CVE-2021-37182 Mitre 5.0 json"
        }
      ]
    }
  ]
}

