CyberSecBulletin
CVE-2022-37301NVD status: Modified

Modicon M340 CPU (part numbers BMXP34*): Integer Underflow (Wrap or Wraparound)

CVE-2022-37301 is a high-severity integer underflow (wrap or wraparound) vulnerability in Modicon M340 CPU (part numbers BMXP34*) from Schneider Electric, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. Affected Modicon M340 CPU (part numbers BMXP34*) versions: V through 3.40. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 0.76% chance of exploitation within 30 days, higher than 56% of scored CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Modicon M340 Bmx P34-2010 Firmware to 3.50 or a later version.
  2. Update Modicon M340 Bmx P34-2030 Firmware to 3.50 or a later version.
  3. Update Modicon M580 Bmeh582040 Firmware to 4.01 or a later version.
  4. Read the advisory on se.com for workarounds and exact fixed builds.
  5. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.

Affected products and versions

VendorProductAffected versionsFixed in
Schneider ElectricModicon M340 CPU (part numbers BMXP34*)V through 3.40Not stated
Schneider ElectricModicon M580 CPU (part numbers BMEP* and BMEH*)V through 3.22Not stated
Schneider ElectricLegacy Modicon Quantum/PremiumAll VersionsNot stated
Schneider ElectricModicon Momentum MDI (171CBU*)All VersionsNot stated
Schneider ElectricModicon MC80 (BMKC80)V through 1.7Not stated
Schneider ElectricModicon M340 Bmx P34-2010 Firmwarebefore 3.503.50
Schneider ElectricModicon M340 Bmx P34-2030 Firmwarebefore 3.503.50
Schneider ElectricModicon M580 Bmeh582040 Firmwarebefore 4.014.01
Schneider ElectricModicon M580 Bmeh582040c Firmwarebefore 4.014.01
Schneider ElectricModicon M580 Bmeh582040s Firmwarebefore 4.014.01
Schneider ElectricModicon M580 Bmeh584040 Firmwarebefore 4.014.01
Schneider ElectricModicon M580 Bmeh584040c Firmwarebefore 4.014.01
Schneider ElectricModicon M580 Bmeh584040s Firmwarebefore 4.014.01
Schneider ElectricModicon M580 Bmeh586040 Firmwarebefore 4.014.01
Schneider ElectricModicon M580 Bmeh586040c Firmwarebefore 4.014.01
Schneider ElectricModicon M580 Bmeh586040s Firmwarebefore 4.014.01
Schneider ElectricModicon M580 Bmep581020 Firmwarebefore 4.014.01
Schneider ElectricModicon M580 Bmep581020h Firmwarebefore 4.014.01
Schneider ElectricModicon M580 Bmep582020 Firmwarebefore 4.014.01
Schneider ElectricModicon M580 Bmep582020h Firmwarebefore 4.014.01
Schneider ElectricModicon M580 Bmep582040 Firmwarebefore 4.014.01
Schneider ElectricModicon M580 Bmep582040h Firmwarebefore 4.014.01
Schneider ElectricModicon M580 Bmep582040s Firmwarebefore 4.014.01
Schneider ElectricModicon M580 Bmep583020 Firmwarebefore 4.014.01
Schneider ElectricModicon M580 Bmep583040 Firmwarebefore 4.014.01

Version data comes from the organisation that assigned the CVE; 28 further products are omitted here. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
NoneNo account or login is needed.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
NoneNo data is disclosed.
Integrity
NoneNothing can be modified.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.17.5HighCNA (se.com)
CVSS 3.17.5HighNVD

Official description

A CWE-191: Integer Underflow (Wrap or Wraparound) vulnerability exists that could cause a denial of service of the controller due to memory access violations when using the Modbus TCP protocol. Affected products: Modicon M340 CPU (part numbers BMXP34*)(V3.40 and prior), Modicon M580 CPU (part numbers BMEP* and BMEH*)(V3.22 and prior), Legacy Modicon Quantum/Premium(All Versions), Modicon Momentum MDI (171CBU*)(All Versions), Modicon MC80 (BMKC80)(V1.7 and prior)

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Integer Underflow (Wrap or Wraparound)

The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result.

More Integer Underflow (Wrap or Wraparound) vulnerabilities (CWE-191)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: yes, technical impact: partial).
  3. Record last changed materially (score, affected products, status or references).

References

Other vulnerabilities in Modicon M340 CPU (part numbers BMXP34*)

All Modicon M340 CPU (part numbers BMXP34*) vulnerabilities

Recent Integer Underflow (Wrap or Wraparound) vulnerabilities

Spotted an error? Tell us.