{"answers":{"affected":"It affects 22 products.","exploited":"There is no known exploitation of CVE-2021-31888 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-31888 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-31888 is a high-severity memory corruption vulnerability in Siemens APOGEE MBC (PPC) (BACnet), published on 9 Nov 2021. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-31888 and fix it if it is affected.\n\nWhat it is: CVE-2021-31888 is a high-severity memory corruption vulnerability in Siemens APOGEE MBC (PPC) (BACnet), published on 9 Nov 2021. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-31888 in the wild and no public exploit code.\n\nAffected product: Siemens APOGEE MBC (PPC) (BACnet). No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-31888/ (Markdown: https://insights.sbomify.com/CVE-2021-31888/index.md)","id":"CVE-2021-31888","markdown":"https://insights.sbomify.com/CVE-2021-31888/index.md","name":"CVE-2021-31888","record":{"aliases":["GHSA-825j-f8cf-xxrr"],"analysis":{"component_type":"ics_ot","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Building automation controllers","requires_auth":"low_privilege","summary":"A stack-based buffer overflow in the FTP server allows remote attackers to execute arbitrary code or cause denial of service.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"siemens","cpe":[{"product":"apogee_modular_building_controller_firmware","vendor":"siemens"},{"product":"apogee_modular_equiment_controller_firmware","vendor":"siemens"},{"product":"apogee_pxc_compact_firmware","vendor":"siemens"},{"product":"apogee_pxc_modular_firmware","vendor":"siemens"},{"product":"desigo_pxc00-e.d_firmware","vendor":"siemens"},{"product":"desigo_pxc00-u_firmware","vendor":"siemens"},{"product":"desigo_pxc001-e.d_firmware","vendor":"siemens"},{"product":"desigo_pxc100-e.d_firmware","vendor":"siemens"},{"product":"desigo_pxc12-e.d_firmware","vendor":"siemens"},{"product":"desigo_pxc128-u_firmware","vendor":"siemens"},{"product":"desigo_pxc200-e.d_firmware","vendor":"siemens"},{"product":"desigo_pxc22-e.d_firmware","vendor":"siemens"},{"product":"desigo_pxc22.1-e.d_firmware","vendor":"siemens"},{"product":"desigo_pxc36.1-e.d_firmware","vendor":"siemens"},{"product":"desigo_pxc50-e.d_firmware","vendor":"siemens"},{"product":"desigo_pxc64-u_firmware","vendor":"siemens"},{"product":"desigo_pxm20-e_firmware","vendor":"siemens"},{"product":"nucleus_net","vendor":"siemens"},{"product":"nucleus_readystart_v3","vendor":"siemens"},{"product":"nucleus_source_code","vendor":"siemens"},{"product":"talon_tc_compact_firmware","vendor":"siemens"},{"product":"talon_tc_modular_firmware","vendor":"siemens"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-170","name":"Improper Null Termination"}],"description":"A vulnerability has been identified in APOGEE MBC (PPC) (BACnet) (All versions), APOGEE MBC (PPC) (P2 Ethernet) (All versions), APOGEE MEC (PPC) (BACnet) (All versions), APOGEE MEC (PPC) (P2 Ethernet) (All versions), APOGEE PXC Compact (BACnet) (All versions \u003c V3.5.4), APOGEE PXC Compact (P2 Ethernet) (All versions \u003c V2.8.19), APOGEE PXC Modular (BACnet) (All versions \u003c V3.5.4), APOGEE PXC Modular (P2 Ethernet) (All versions \u003c V2.8.19), Desigo PXC00-E.D (All versions \u003e= V2.3 and \u003c V6.30.016), Desigo PXC00-U (All versions \u003e= V2.3 and \u003c V6.30.016), Desigo PXC001-E.D (All versions \u003e= V2.3 and \u003c V6.30.016), Desigo PXC100-E.D (All versions \u003e= V2.3 and \u003c V6.30.016), Desigo PXC12-E.D (All versions \u003e= V2.3 and \u003c V6.30.016), Desigo PXC128-U (All versions \u003e= V2.3 and \u003c V6.30.016), Desigo PXC200-E.D (All versions \u003e= V2.3 and \u003c V6.30.016), Desigo PXC22-E.D (All versions \u003e= V2.3 and \u003c V6.30.016), Desigo PXC22.1-E.D (All versions \u003e= V2.3 and \u003c V6.30.016), Desigo PXC36.1-E.D (All versions \u003e= V2.3 and \u003c V6.30.016), Desigo PXC50-E.D (All versions \u003e= V2.3 and \u003c V6.30.016), Desigo PXC64-U (All versions \u003e= V2.3 and \u003c V6.30.016), Desigo PXM20-E (All versions \u003e= V2.3 and \u003c V6.30.016), Nucleus NET (All versions), Nucleus ReadyStart V3 (All versions \u003c V2017.02.4), Nucleus Source Code (All versions), TALON TC Compact (BACnet) (All versions \u003c V3.5.4), TALON TC Modular (BACnet) (All versions \u003c V3.5.4). FTP server does not properly validate the length of the “MKD/XMKD” command, leading to stack-based buffer overflows. This may result in Denial-of-Service conditions and Remote Code Execution. (FSMD-2021-0018)","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Memory corruption in APOGEE MBC (PPC) (BACnet)","id":"CVE-2021-31888","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"Information disclosure in Capital Embedded AR Classic 431-422","id":"CVE-2021-31889"},"packages":[],"prev":{"headline":"Memory corruption in APOGEE MBC (PPC) (BACnet)","id":"CVE-2021-31887"},"products":["APOGEE MBC (PPC) (BACnet)","APOGEE MBC (PPC) (P2 Ethernet)","APOGEE MEC (PPC) (BACnet)","APOGEE MEC (PPC) (P2 Ethernet)","APOGEE PXC Compact (BACnet)","APOGEE PXC Compact (P2 Ethernet)","APOGEE PXC Modular (BACnet)","APOGEE PXC Modular (P2 Ethernet)","Desigo PXC00-E.D","Desigo PXC00-U","Desigo PXC001-E.D","Desigo PXC100-E.D","Desigo PXC12-E.D","Desigo PXC128-U","Desigo PXC200-E.D","Desigo PXC22-E.D","Desigo PXC22.1-E.D","Desigo PXC36.1-E.D","Desigo PXC50-E.D","Desigo PXC64-U","Desigo PXM20-E","Nucleus NET","Nucleus ReadyStart V3","Nucleus Source Code","TALON TC Compact (BACnet)","TALON TC Modular (BACnet)"],"published":"2021-11-09","related":[{"cvss_score":9.8,"headline":"Memory corruption in APOGEE MBC (PPC) (BACnet)","id":"CVE-2021-31884","kev_date_added":null,"published":"2021-11-09"},{"cvss_score":9.8,"headline":"Memory corruption in APOGEE MBC (PPC) (BACnet)","id":"CVE-2021-31886","kev_date_added":null,"published":"2021-11-09"},{"cvss_score":8.8,"headline":"Memory corruption in APOGEE MBC (PPC) (BACnet)","id":"CVE-2021-31887","kev_date_added":null,"published":"2021-11-09"},{"cvss_score":8.7,"headline":"Denial of service in APOGEE MBC (PPC) (BACnet)","id":"CVE-2022-38371","kev_date_added":null,"published":"2022-10-11"},{"cvss_score":8.2,"headline":"Denial of service in Capital Embedded AR Classic 431-422","id":"CVE-2021-31346","kev_date_added":null,"published":"2021-11-09"},{"cvss_score":7.5,"headline":"Denial of service in Capital Embedded AR Classic 431-422","id":"CVE-2021-31345","kev_date_added":null,"published":"2021-11-09"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["Siemens"]},"summary":"A stack-based buffer overflow in the FTP server allows remote attackers to execute arbitrary code or cause denial of service.","url":"https://insights.sbomify.com/CVE-2021-31888/"}