CyberSecBulletin
CVE-2022-33324NVD status: Modified

MELSEC iQ-R Series R00CPU: Improper Resource Shutdown or Release

CVE-2022-33324 is a high-severity improper resource shutdown or release vulnerability in MELSEC iQ-R Series R00CPU from Mitsubishi 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 MELSEC iQ-R Series R00CPU versions: Firmware versions "32" and prior. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 1.81% chance of exploitation within 30 days, higher than 79% of scored CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Melsec Iq-r R00 Cpu Firmware to 33.0 or a later version.
  2. Update Melsec Iq-r R01 Cpu Firmware to 33.0 or a later version.
  3. Update Melsec Iq-r R02 Cpu Firmware to 33.0 or a later version.
  4. Read the advisory on mitsubishielectric.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
Mitsubishi ElectricMELSEC iQ-R Series R00CPUFirmware versions "32" and priorNot stated
Mitsubishi ElectricMELSEC iQ-R Series R01CPUFirmware versions "32" and priorNot stated
Mitsubishi ElectricMELSEC iQ-R Series R02CPUFirmware versions "32" and priorNot stated
Mitsubishi ElectricMELSEC iQ-R Series R04CPUFirmware versions "65" and priorNot stated
Mitsubishi ElectricMELSEC iQ-R Series R08CPUFirmware versions "65" and priorNot stated
Mitsubishi ElectricMELSEC iQ-R Series R16CPUFirmware versions "65" and priorNot stated
Mitsubishi ElectricMELSEC iQ-R Series R32CPUFirmware versions "65" and priorNot stated
Mitsubishi ElectricMELSEC iQ-R Series R120CPUFirmware versions "65" and priorNot stated
Mitsubishi ElectricMELSEC iQ-R Series R04ENCPUFirmware versions "65" and priorNot stated
Mitsubishi ElectricMELSEC iQ-R Series R08ENCPUFirmware versions "65" and priorNot stated
Mitsubishi ElectricMELSEC iQ-R Series R16ENCPUFirmware versions "65" and priorNot stated
Mitsubishi ElectricMELSEC iQ-R Series R32ENCPUFirmware versions "65" and priorNot stated
Mitsubishi ElectricMELSEC iQ-R Series R120ENCPUFirmware versions "65" and priorNot stated
Mitsubishi ElectricMELSEC iQ-R Series R08SFCPUFirmware versions "29" and priorNot stated
Mitsubishi ElectricMELSEC iQ-R Series R16SFCPUFirmware versions "29" and priorNot stated
Mitsubishi ElectricMELSEC iQ-R Series R32SFCPUFirmware versions "29" and priorNot stated
Mitsubishi ElectricMELSEC iQ-R Series R120SFCPUFirmware versions "29" and priorNot stated
Mitsubishi ElectricMELSEC iQ-R Series R12CCPU-VFirmware versions "17" and priorNot stated
Mitsubishi ElectricMELSEC iQ-L Series L04HCPUFirmware versions "05" and priorNot stated
Mitsubishi ElectricMELSEC iQ-L Series L08HCPUFirmware versions "05" and priorNot stated
Mitsubishi ElectricMELSEC iQ-L Series L16HCPUFirmware versions "05" and priorNot stated
Mitsubishi ElectricMELSEC iQ-L Series L32HCPUFirmware versions "05" and priorNot stated
Mitsubishi ElectricMELIPC Series MI5122-VWFirmware versions "07" and priorNot stated
Mitsubishi ElectricMELSEC iQ-R Series R08PSFCPUFirmware versions "08" and priorNot stated
Mitsubishi ElectricMELSEC iQ-R Series R16PSFCPUFirmware versions "08" and priorNot stated

Version data comes from the organisation that assigned the CVE; 21 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 (yd.MitsubishiElectric.co.jp)
CVSS 3.17.5HighNVD

Official description

Improper Resource Shutdown or Release vulnerability in Mitsubishi Electric Corporation MELSEC iQ-R Series R00/01/02CPU Firmware versions "32" and prior, Mitsubishi Electric Corporation MELSEC iQ-R Series R04/08/16/32/120(EN)CPU Firmware versions "65" and prior, Mitsubishi Electric Corporation MELSEC iQ-R Series R08/16/32/120SFCPU Firmware versions "29" and prior, Mitsubishi Electric Corporation MELSEC iQ-R Series R08/16/32/120PSFCPU Firmware versions "08" and prior, Mitsubishi Electric Corporation MELSEC iQ-R Series R12CCPU-V Firmware versions "17" and prior, Mitsubishi Electric Corporation MELSEC iQ-L Series L04/08/16/32HCPU Firmware versions "05" and prior and Mitsubishi Electric Corporation MELIPC Series MI5122-VW Firmware versions "07" and prior allows a remote unauthenticated attacker to cause a Denial of Service condition in Ethernet communication on the module by sending specially crafted packets. A system reset of the module is required for recovery.

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

The underlying weakness: Improper Resource Shutdown or Release

The product does not release or incorrectly releases a resource before it is made available for re-use.

How developers prevent this class of flaw

  • Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, languages such as Java, Ruby, and Lisp perform automatic garbage collection that releases memory for objects that have been deallocated.
  • It is good practice to be responsible for freeing all resources you allocate and to be consistent with how and where you free memory in a function. If you allocate memory that you intend to free upon completion of the function, you must be sure to free the memory at all exit points for that function including error conditions.
  • Memory should be allocated/freed using matching functions such as malloc/free, new/delete, and new[]/delete[].

More Improper Resource Shutdown or Release vulnerabilities (CWE-404)

Timeline

  1. CVE record published.
  2. Record last changed materially (score, affected products, status or references).

References

Patches and release notes

Third-party and government advisories

Other vulnerabilities in MELSEC iQ-R Series R00CPU

All MELSEC iQ-R Series R00CPU vulnerabilities

Recent Improper Resource Shutdown or Release vulnerabilities

Spotted an error? Tell us.