title: Beckhoff TwinCAT Discovery Service Denial of Service
description: When a Beckhoff TwinCAT Runtime receives a malformed UDP packet, the ADS Discovery Service shuts down. Note that the TwinCAT devices are still performing as normal. This issue affects TwinCAT 2 version 2304 (and prior) and TwinCAT 3.1 version 4204.0 (and prior).
problem types: CWE-404 Improper Resource Shutdown or Release
affected:
{
product: TwinCAT 2
vendor: Beckhoff
versions:
lessThanOrEqual: 2304, status: affected, version: 2304, versionType: custom
}
{
product: TwinCAT 3.1
vendor: Beckhoff
versions:
lessThanOrEqual: 4204.0, status: affected, version: 4204.0, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: LOW
baseScore: 5.3
baseSeverity: MEDIUM
confidentialityImpact: NONE
integrityImpact: NONE
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
version: 3.1
]