{
  "document": {
    "title": "SSA-979775: Stack Overflow Vulnerability in SCALANCE and RUGGEDCOM Devices",
    "category": "Siemens 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-979775",
      "status": "final",
      "version": "2",
      "revision_history": [
        {
          "number": "1",
          "legacy_version": "1.0",
          "date": "2021-03-09T00:00:00Z",
          "summary": "Publication Date"
        },
        {
          "number": "2",
          "legacy_version": "1.1",
          "date": "2021-04-13T00:00:00Z",
          "summary": "Added solution for SCALANCE M-800/S615 and RUGGEDCOM RM1224; updated solution for SCALANCE XR-300WG"
        }
      ],
      "initial_release_date": "2021-03-09T00:00:00Z",
      "current_release_date": "2021-04-13T00:00:00Z",
      "generator": {
        "engine": {
          "name": "Siemens ProductCERT CSAF Generator",
          "version": "1"
        }
      }
    },
    "notes": [
      {
        "title": "Summary",
        "category": "summary",
        "text": "Several firmware versions of the SCALANCE and RUGGEDCOM devices listed below are affected by a vulnerability in the passive listening feature that could allow an attacker to cause a reboot or, under specific circumstances, attain remote code execution of the affected devices.\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-979775.pdf",
        "summary": "SSA-979775: Stack Overflow Vulnerability in SCALANCE and RUGGEDCOM Devices - PDF Version"
      },
      {
        "category": "self",
        "url": "https://cert-portal.siemens.com/productcert/txt/ssa-979775.txt",
        "summary": "SSA-979775: Stack Overflow Vulnerability in SCALANCE and RUGGEDCOM Devices - TXT Version"
      },
      {
        "category": "self",
        "url": "https://cert-portal.siemens.com/productcert/csaf/ssa-979775.json",
        "summary": "SSA-979775: Stack Overflow Vulnerability in SCALANCE and RUGGEDCOM Devices - CSAF Version"
      }
    ]
  },
  "product_tree": {
    "branches": [
      {
        "name": "Siemens",
        "category": "vendor",
        "branches": [
          {
            "name": "RUGGEDCOM RM1224",
            "category": "product_name",
            "branches": [
              {
                "name": ">= V4.3 and < V6.4",
                "category": "product_version_range",
                "product": {
                  "product_id": "1",
                  "name": "RUGGEDCOM RM1224"
                }
              }
            ]
          },
          {
            "name": "SCALANCE M-800",
            "category": "product_name",
            "branches": [
              {
                "name": ">= V4.3 and < V6.4",
                "category": "product_version_range",
                "product": {
                  "product_id": "2",
                  "name": "SCALANCE M-800"
                }
              }
            ]
          },
          {
            "name": "SCALANCE S615",
            "category": "product_name",
            "branches": [
              {
                "name": ">= V4.3 and < V6.4",
                "category": "product_version_range",
                "product": {
                  "product_id": "3",
                  "name": "SCALANCE S615"
                }
              }
            ]
          },
          {
            "name": "SCALANCE SC-600 Family",
            "category": "product_name",
            "branches": [
              {
                "name": ">= V2.0 and < V2.1.3",
                "category": "product_version_range",
                "product": {
                  "product_id": "4",
                  "name": "SCALANCE SC-600 Family"
                }
              }
            ]
          },
          {
            "name": "SCALANCE XB-200",
            "category": "product_name",
            "branches": [
              {
                "name": "< V4.1",
                "category": "product_version_range",
                "product": {
                  "product_id": "5",
                  "name": "SCALANCE XB-200"
                }
              }
            ]
          },
          {
            "name": "SCALANCE XC-200",
            "category": "product_name",
            "branches": [
              {
                "name": "< V4.1",
                "category": "product_version_range",
                "product": {
                  "product_id": "6",
                  "name": "SCALANCE XC-200"
                }
              }
            ]
          },
          {
            "name": "SCALANCE XF-200BA",
            "category": "product_name",
            "branches": [
              {
                "name": "< V4.1",
                "category": "product_version_range",
                "product": {
                  "product_id": "7",
                  "name": "SCALANCE XF-200BA"
                }
              }
            ]
          },
          {
            "name": "SCALANCE XM400",
            "category": "product_name",
            "branches": [
              {
                "name": "< V6.2",
                "category": "product_version_range",
                "product": {
                  "product_id": "8",
                  "name": "SCALANCE XM400"
                }
              }
            ]
          },
          {
            "name": "SCALANCE XP-200",
            "category": "product_name",
            "branches": [
              {
                "name": "< V4.1",
                "category": "product_version_range",
                "product": {
                  "product_id": "9",
                  "name": "SCALANCE XP-200"
                }
              }
            ]
          },
          {
            "name": "SCALANCE XR500",
            "category": "product_name",
            "branches": [
              {
                "name": "< V6.2",
                "category": "product_version_range",
                "product": {
                  "product_id": "10",
                  "name": "SCALANCE XR500"
                }
              }
            ]
          },
          {
            "name": "SCALANCE XR-300WG",
            "category": "product_name",
            "branches": [
              {
                "name": "< V4.1",
                "category": "product_version_range",
                "product": {
                  "product_id": "11",
                  "name": "SCALANCE XR-300WG"
                }
              }
            ]
          }
        ]
      }
    ]
  },
  "vulnerabilities": [
    {
      "title": "CVE-2021-25667",
      "notes": [
        {
          "title": "Summary",
          "category": "summary",
          "text": "Affected devices contain a stack-based buffer overflow vulnerability in the handling of STP BPDU frames that could allow a remote attacker to trigger a denial-of-service condition or potentially remote code execution.\n\nSuccessful exploitation requires the passive listening feature of the device to be active."
        }
      ],
      "cve": "CVE-2021-25667",
      "cwe": {
        "id": "CWE-121",
        "name": "Stack-based Buffer Overflow"
      },
      "product_status": {
        "known_affected": [
          "1",
          "2",
          "3",
          "4",
          "5",
          "6",
          "7",
          "8",
          "9",
          "10",
          "11"
        ]
      },
      "scores": [
        {
          "cvss_v3": {
            "version": "3.1",
            "baseScore": 8.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C"
          },
          "products": [
            "1",
            "2",
            "3",
            "4",
            "5",
            "6",
            "7",
            "8",
            "9",
            "10",
            "11"
          ]
        }
      ],
      "remediations": [
        {
          "product_ids": [
            "1",
            "2",
            "3"
          ],
          "category": "vendor_fix",
          "details": "Update to V6.4 or later version",
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109794349/"
        },
        {
          "product_ids": [
            "4"
          ],
          "category": "vendor_fix",
          "details": "Update to V2.1.3 or later version",
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109793041/"
        },
        {
          "product_ids": [
            "5",
            "6",
            "7",
            "9",
            "11"
          ],
          "category": "vendor_fix",
          "details": "Update to V4.1 or later version",
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109762982/"
        },
        {
          "product_ids": [
            "8"
          ],
          "category": "vendor_fix",
          "details": "Update to V6.2 or later version",
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109764409/"
        },
        {
          "product_ids": [
            "10"
          ],
          "category": "vendor_fix",
          "details": "Update to V6.2 or later version",
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109761425/"
        },
        {
          "product_ids": [
            "1",
            "2",
            "3",
            "4",
            "5",
            "6",
            "7",
            "8",
            "9",
            "10",
            "11"
          ],
          "category": "mitigation",
          "details": "Deactivate the STP passive listening feature of the vulnerable devices"
        }
      ],
      "references": [
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109794349/",
          "summary": "CVE-2021-25667 - RUGGEDCOM RM1224"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109794349/",
          "summary": "CVE-2021-25667 - SCALANCE M-800"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109794349/",
          "summary": "CVE-2021-25667 - SCALANCE S615"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109793041/",
          "summary": "CVE-2021-25667 - SCALANCE SC-600 Family"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109762982/",
          "summary": "CVE-2021-25667 - SCALANCE XB-200"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109762982/",
          "summary": "CVE-2021-25667 - SCALANCE XC-200"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109762982/",
          "summary": "CVE-2021-25667 - SCALANCE XF-200BA"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109764409/",
          "summary": "CVE-2021-25667 - SCALANCE XM400"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109762982/",
          "summary": "CVE-2021-25667 - SCALANCE XP-200"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109761425/",
          "summary": "CVE-2021-25667 - SCALANCE XR500"
        },
        {
          "url": "https://support.industry.siemens.com/cs/ww/en/view/109762982/",
          "summary": "CVE-2021-25667 - SCALANCE XR-300WG"
        },
        {
          "url": "https://cert-portal.siemens.com/productcert/mitre/CVE-2021-25667.json",
          "summary": "CVE-2021-25667 Mitre 5.0 json"
        }
      ]
    }
  ]
}

