CVE Vulnerabilities

CVE-2021-29644

Integer Overflow or Wraparound

Published: Oct 12, 2021 | Modified: Oct 20, 2021
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
10 HIGH
AV:N/AC:L/Au:N/C:C/I:C/A:C
RedHat/V2
RedHat/V3
Ubuntu

Hitachi JP1/IT Desktop Management 2 Agent 9 through 12 contains a remote code execution vulnerability because of an Integer Overflow. An attacker with network access to port 31016 may exploit this issue to execute code with unrestricted privileges on the underlying OS.

Weakness

The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control.

Affected Software

Name Vendor Start Version End Version
It_operations_director Hitachi 02-50 (including) 02-50-07 (including)
It_operations_director Hitachi 03-00 (including) 03-00-12 (including)
It_operations_director Hitachi 04-00 (including) 04-00-17 (including)
It_operations_director Hitachi 04-50 (including) 04-50-16 (including)
Job_management_partner_1/it_desktop_management-manager Hitachi 09-50 (including) 09-50-03 (including)
Job_management_partner_1/it_desktop_management-manager Hitachi 10-01 (including) 10-01-06 (including)
Job_management_partner_1/it_desktop_management-manager Hitachi 10-10 (including) 10-10-16 (including)
Job_management_partner_1/it_desktop_management_2-manager Hitachi 10-50 (including) 10-50-11 (including)
Job_management_partner_1/remote_control_agent Hitachi 08-00 (including) 08-00-04 (including)
Job_management_partner_1/remote_control_agent Hitachi 08-10 (including) 08-10-05 (including)
Job_management_partner_1/remote_control_agent Hitachi 08-51 (including) 08-51-18 (including)
Job_management_partner_1/remote_control_agent Hitachi 09-00 (including) 09-00-07 (including)
Job_management_partner_1/remote_control_agent Hitachi 09-50 (including) 09-50-09 (including)
Job_management_partner_1/remote_control_agent Hitachi 09-51 (including) 09-51-15 (including)
Job_management_partner_1/software_distribution_client Hitachi 08-00 (including) 08-00-05 (including)
Job_management_partner_1/software_distribution_client Hitachi 08-10 (including) 08-10-06 (including)
Job_management_partner_1/software_distribution_client Hitachi 08-51 (including) 08-51-19 (including)
Job_management_partner_1/software_distribution_client Hitachi 09-00 (including) 09-00-09 (including)
Job_management_partner_1/software_distribution_client Hitachi 09-50 (including) 09-50-09 (including)
Job_management_partner_1/software_distribution_client Hitachi 09-51 (including) 09-51-13 (including)
Job_management_partner_1/software_distribution_manager Hitachi 08-00 (including) 08-00-07 (including)
Job_management_partner_1/software_distribution_manager Hitachi 08-10 (including) 08-10-06 (including)
Job_management_partner_1/software_distribution_manager Hitachi 08-51 (including) 08-51-19 (including)
Job_management_partner_1/software_distribution_manager Hitachi 09-00 (including) 09-00-09 (including)
Job_management_partner_1/software_distribution_manager Hitachi 09-50 (including) 09-50-09 (including)
Job_management_partner_1/software_distribution_manager Hitachi 09-51 (including) 09-51-13 (including)
Jp1/it_desktop_management-manager Hitachi 09-50 (including) 09-50-03 (including)
Jp1/it_desktop_management-manager Hitachi 09-51 (including) 09-51-05 (including)
Jp1/it_desktop_management-manager Hitachi 10-00 (including) 10-00-02 (including)
Jp1/it_desktop_management-manager Hitachi 10-01 (including) 10-01-05 (including)
Jp1/it_desktop_management-manager Hitachi 10-02 (including) 10-02-05 (including)
Jp1/it_desktop_management-manager Hitachi 10-10 (including) 10-10-16 (including)
Jp1/it_desktop_management_2-manager Hitachi 10-50 (including) 10-50-12 (including)
Jp1/it_desktop_management_2-manager Hitachi 11-00 (including) 11-00-11 (including)
Jp1/it_desktop_management_2-manager Hitachi 11-01 (including) 11-01-12 (including)
Jp1/it_desktop_management_2-manager Hitachi 11-10 (including) 11-10-10 (including)
Jp1/it_desktop_management_2-manager Hitachi 11-50 (including) 11-50-08 (including)
Jp1/it_desktop_management_2-manager Hitachi 11-51 (including) 11-51-10 (including)
Jp1/it_desktop_management_2-manager Hitachi 12-00 (including) 12-00-09 (including)
Jp1/it_desktop_management_2-manager Hitachi 12-10 (including) 12-10-07 (including)
Jp1/it_desktop_management_2-manager Hitachi 12-50 (including) 12-50-03 (including)
Jp1/it_desktop_management_2-operations_director Hitachi 11-01 (including) 11-01-12 (including)
Jp1/it_desktop_management_2-operations_director Hitachi 11-10 (including) 11-10-10 (including)
Jp1/it_desktop_management_2-operations_director Hitachi 11-50 (including) 11-50-08 (including)
Jp1/it_desktop_management_2-operations_director Hitachi 11-51 (including) 11-51-10 (including)
Jp1/it_desktop_management_2-operations_director Hitachi 12-00 (including) 12-00-09 (including)
Jp1/it_desktop_management_2-operations_director Hitachi 12-10 (including) 12-10-07 (including)
Jp1/it_desktop_management_2-operations_director Hitachi 12-50 (including) 12-50-03 (including)
Jp1/netdm/dm_client Hitachi 08-00 (including) 08-00-09 (including)
Jp1/netdm/dm_client Hitachi 08-01 (including) 08-01-04 (including)
Jp1/netdm/dm_client Hitachi 08-02 (including) 08-02-07 (including)
Jp1/netdm/dm_client Hitachi 08-10 (including) 08-10-13 (including)
Jp1/netdm/dm_client Hitachi 08-11 (including) 08-11-17 (including)
Jp1/netdm/dm_client Hitachi 08-12 (including) 08-12-03 (including)
Jp1/netdm/dm_client Hitachi 08-50 (including) 08-50-08 (including)
Jp1/netdm/dm_client Hitachi 08-51 (including) 08-51-17 (including)
Jp1/netdm/dm_client Hitachi 08-52 (including) 08-52-22 (including)
Jp1/netdm/dm_client Hitachi 09-00 (including) 09-00-14 (including)
Jp1/netdm/dm_client Hitachi 09-01 (including) 09-01-14 (including)
Jp1/netdm/dm_client Hitachi 09-10 (including) 09-10-15 (including)
Jp1/netdm/dm_client Hitachi 09-12 (including) 09-12-16 (including)
Jp1/netdm/dm_client Hitachi 09-50 (including) 09-50-20 (including)
Jp1/netdm/dm_client Hitachi 09-51 (including) 09-51-14 (including)
Jp1/netdm/dm_client Hitachi 10-10 (including) 10-10-23 (including)
Jp1/netdm/dm_client-remote_control_feature Hitachi 08-00 (including) 08-00-06 (including)
Jp1/netdm/dm_client-remote_control_feature Hitachi 08-01 (including) 08-01-03 (including)
Jp1/netdm/dm_client-remote_control_feature Hitachi 08-02 (including) 08-02-04 (including)
Jp1/netdm/dm_client-remote_control_feature Hitachi 08-10 (including) 08-10-10 (including)
Jp1/netdm/dm_client-remote_control_feature Hitachi 08-11 (including) 08-11-06 (including)
Jp1/netdm/dm_client-remote_control_feature Hitachi 08-50 (including) 08-50-04 (including)
Jp1/netdm/dm_client-remote_control_feature Hitachi 08-51 (including) 08-51-14 (including)
Jp1/netdm/dm_client-remote_control_feature Hitachi 09-00 (including) 09-00-13 (including)
Jp1/netdm/dm_client-remote_control_feature Hitachi 09-01 (including) 09-01-12 (including)
Jp1/netdm/dm_client-remote_control_feature Hitachi 09-10 (including) 09-10-13 (including)
Jp1/netdm/dm_client-remote_control_feature Hitachi 09-50 (including) 09-50-19 (including)
Jp1/netdm/dm_client-remote_control_feature Hitachi 09-51 (including) 09-51-08 (including)
Jp1/netdm/dm_client-remote_control_feature Hitachi 10-10 (including) 10-10-20 (including)
Jp1/netdm/dm_manager Hitachi 08-00 (including) 08-00-09 (including)
Jp1/netdm/dm_manager Hitachi 08-02 (including) 08-02-07 (including)
Jp1/netdm/dm_manager Hitachi 08-10 (including) 08-10-13 (including)
Jp1/netdm/dm_manager Hitachi 08-11 (including) 08-11-17 (including)
Jp1/netdm/dm_manager Hitachi 08-50 (including) 08-50-08 (including)
Jp1/netdm/dm_manager Hitachi 08-51 (including) 08-51-18 (including)
Jp1/netdm/dm_manager Hitachi 08-52 (including) 08-52-22 (including)
Jp1/netdm/dm_manager Hitachi 09-00 (including) 09-00-14 (including)
Jp1/netdm/dm_manager Hitachi 09-01 (including) 09-01-14 (including)
Jp1/netdm/dm_manager Hitachi 09-10 (including) 09-10-15 (including)
Jp1/netdm/dm_manager Hitachi 09-12 (including) 09-12-15 (including)
Jp1/netdm/dm_manager Hitachi 09-50 (including) 09-50-20 (including)
Jp1/netdm/dm_manager Hitachi 09-51 (including) 09-51-14 (including)
Jp1/netdm/dm_manager Hitachi 10-10 (including) 10-10-24 (including)
Jp1/netm/remote_control_agent Hitachi 08-00 (including) 08-00-06 (including)
Jp1/netm/remote_control_agent Hitachi 08-01 (including) 08-01-03 (including)
Jp1/netm/remote_control_agent Hitachi 08-02 (including) 08-02-04 (including)
Jp1/netm/remote_control_agent Hitachi 08-10 (including) 08-10-10 (including)
Jp1/netm/remote_control_agent Hitachi 08-11 (including) 08-11-06 (including)
Jp1/netm/remote_control_agent Hitachi 08-50 (including) 08-50-04 (including)
Jp1/netm/remote_control_agent Hitachi 08-51 (including) 08-51-14 (including)
Jp1/netm/remote_control_agent Hitachi 09-00 (including) 09-00-13 (including)
Jp1/netm/remote_control_agent Hitachi 09-01 (including) 09-01-12 (including)
Jp1/netm/remote_control_agent Hitachi 09-50 (including) 09-50-20 (including)
Jp1/netm/remote_control_agent Hitachi 09-51 (including) 09-51-08 (including)
Jp1/netm/remote_control_agent Hitachi 10-10 (including) 10-10-20 (including)
Jp1/remote_control_agent Hitachi 11-00 (including) 11-00-02 (including)
Jp1/remote_control_agent Hitachi 12-00 (including) 12-00-01 (including)

Potential Mitigations

  • Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
  • If possible, choose a language or compiler that performs automatic bounds checking.
  • Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
  • Use libraries or frameworks that make it easier to handle numbers without unexpected consequences.
  • Examples include safe integer handling packages such as SafeInt (C++) or IntegerLib (C or C++). [REF-106]
  • Perform input validation on any numeric input by ensuring that it is within the expected range. Enforce that the input meets both the minimum and maximum requirements for the expected range.
  • Use unsigned integers where possible. This makes it easier to perform validation for integer overflows. When signed integers are required, ensure that the range check includes minimum values as well as maximum values.
  • Understand the programming language’s underlying representation and how it interacts with numeric calculation (CWE-681). Pay close attention to byte size discrepancies, precision, signed/unsigned distinctions, truncation, conversion and casting between types, “not-a-number” calculations, and how the language handles numbers that are too large or too small for its underlying representation. [REF-7]
  • Also be careful to account for 32-bit, 64-bit, and other potential differences that may affect the numeric representation.

References