CVE-2021-36357

An issue was discovered in OpenPOWER 2.6 firmware. unpack_timestamp() calls le32_to_cpu() for endian conversion of a uint16_t "year" value, resulting in a type mismatch that can truncate a higher integer value to a smaller one, and bypass a timestamp check. The fix is to use the right endian conversion function.
Configurations

Configuration 1 (hide)

cpe:2.3:o:openpowerfoundation:skiboot:2.6:*:*:*:*:*:*:*

History

27 Oct 2021, 12:30

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 9.8
CPE cpe:2.3:o:openpowerfoundation:skiboot:2.6:*:*:*:*:*:*:*
CWE CWE-681
References (MISC) https://github.com/open-power/skiboot/commit/5be38b672c1410e2f10acd3ad2eecfdc81d5daf7 - (MISC) https://github.com/open-power/skiboot/commit/5be38b672c1410e2f10acd3ad2eecfdc81d5daf7 - Patch, Third Party Advisory

22 Oct 2021, 12:44

Type Values Removed Values Added
New CVE

Information

Published : 2021-10-22 12:15

Updated : 2023-12-10 14:09


NVD link : CVE-2021-36357

Mitre link : CVE-2021-36357

CVE.ORG link : CVE-2021-36357


JSON object : View

Products Affected

openpowerfoundation

  • skiboot
CWE
CWE-681

Incorrect Conversion between Numeric Types