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.
References
Link | Resource |
---|---|
https://github.com/open-power/skiboot/commit/5be38b672c1410e2f10acd3ad2eecfdc81d5daf7 | Patch Third Party Advisory |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2021-10-22T11:14:43
Updated: 2021-10-22T11:14:43
Reserved: 2021-07-09T00:00:00
Link: CVE-2021-36357
JSON object: View
NVD Information
Status : Analyzed
Published: 2021-10-22T12:15:08.030
Modified: 2021-10-27T12:30:29.137
Link: CVE-2021-36357
JSON object: View
Redhat Information
No data.
CWE