VDE-2022-058

csafDEphoenix_contact_psirt

PHOENIX CONTACT: Profinet SDK libexpat vulnerabilities

view advisory published 2022-12-13

Two vulnerabilities have been discovered in the Expat XML parser library (aka libexpat). This open-source component is widely used in a lot of products worldwide. An attacker could cause a program to crash, use unexpected values or execute code by exploiting these use-after-free vulnerabilities. Profinet SDK is using XML parser library Expat as reference solution for loading the XML based Profinet network configuration files (IPPNIO or TIC).

01

describes (2)

Related CVEs.

IDseverity exploitable
CVE-2022-43680UShigh7.5Exploit
In libexpat through 2.4.9, there is a use-after free caused by overeager destruction of a shared DTD in XML_ExternalEntityParserCreate in out-of-memory situations.
CVE-2022-40674UShigh8.1—
libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.
02

references

External citations — patches, advisories, analysis.

03

remediations (4)

  • MitigationPROFINET SDK

    We strongly recommend customers to ensure that only data from reliable sources is used. Affected customers should also check if vulnerable libexpat library versions are used in the specific configuration tool chain. For detailed information on our recommendations for measures to protect network-capable devices, please refer to our application note: Measures to protect network-capable devices with Ethernet connection

  • MitigationPROFINET SDK

    We strongly recommend customers to ensure that only data from reliable sources is used. Affected customers should also check if vulnerable libexpat library versions are used in the specific configuration tool chain. For detailed information on our recommendations for measures to protect network-capable devices, please refer to our application note: Measures to protect network-capable devices with Ethernet connection

  • FixedPROFINET SDK

    Update configuration tool chains to libexpat library version 2.4.9. Upgrade to PROFINET SDK 6.7 .

  • FixedPROFINET SDK

    Update configuration tool chains to libexpat library version 2.4.9. Upgrade to PROFINET SDK 6.7 .

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan