{
    "CVE_data_meta": {
        "ASSIGNER": "productcert@siemens.com",
        "ID": "CVE-2021-31893",
        "STATE": "PUBLIC"
    },
    "data_format": "MITRE",
    "data_version": "4.0",
    "data_type": "CVE",
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "Siemens",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "SIMATIC PCS 7 V8.2 and earlier",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "All versions"
                                        }
                                    ]
                                }
                            },
                            {
                                "product_name": "SIMATIC PCS 7 V9.0",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "All versions < V9.0 SP3"
                                        }
                                    ]
                                }
                            },
                            {
                                "product_name": "SIMATIC PDM",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "All versions < V9.2"
                                        }
                                    ]
                                }
                            },
                            {
                                "product_name": "SIMATIC STEP 7 V5.X",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "All versions < V5.6 SP2 HF3"
                                        }
                                    ]
                                }
                            },
                            {
                                "product_name": "SINAMICS STARTER (containing STEP 7 OEM version)",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "All versions < V5.4 HF2"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')"
                    }
                ]
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A vulnerability has been identified in SIMATIC PCS 7 V8.2 and earlier (All versions), SIMATIC PCS 7 V9.0 (All versions < V9.0 SP3), SIMATIC PDM (All versions < V9.2), SIMATIC STEP 7 V5.X (All versions < V5.6 SP2 HF3), SINAMICS STARTER (containing STEP 7 OEM version) (All versions < V5.4 HF2). The affected software contains a buffer overflow vulnerability while handling certain files that could allow a local attacker to trigger a denial-of-service condition or potentially lead to remote code execution."
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-641963.pdf",
                "name": "https://cert-portal.siemens.com/productcert/pdf/ssa-641963.pdf"
            }
        ]
    }
}