A buffer overflow was found in Shim in the 32-bit system. The overflow happens due to an addition operation involving a user-controlled value parsed from the PE binary being used by Shim. This value is further used for memory allocation operations, leading to a heap-based buffer overflow. This flaw causes memory corruption and can lead to a crash or data integrity issues during the boot phase.
{
"cna_assigner": "redhat",
"cwe_ids": [
"CWE-190"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40548.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "0:15.8-3.el7"
},
{
"fixed": "0:15.8-1.el7"
},
{
"fixed": "0:15.8-4.el8_9"
},
{
"fixed": "0:15.8-2.el8_2"
},
{
"fixed": "0:15.8-2.el8_2"
},
{
"fixed": "0:15.8-2.el8_2"
},
{
"fixed": "0:15.8-2.el8_4"
},
{
"fixed": "0:15.8-2.el8_4"
},
{
"fixed": "0:15.8-2.el8_4"
},
{
"fixed": "0:15.8-2.el8_6"
},
{
"fixed": "0:15.8-2.el8"
},
{
"fixed": "0:15.8-2.el8"
},
{
"fixed": "0:15.8-4.el9_3"
},
{
"fixed": "0:15.8-3.el9"
},
{
"fixed": "0:15.8-2.el9"
},
{
"fixed": "0:15.8-2.el9"
},
{
"fixed": "0:15.8-3.el9_2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "InverseAffectedRanges"
}
]
}
]
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:redhat:shim:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "15.8"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:redhat:shim:15.8:rc1:*:*:*:*:*:*",
"range": [
{
"introduced": "15.8-rc1"
},
{
"last_affected": "15.8-rc1"
}
],
"source": "CPE_STRING"
}
]
}