Bug 1883529 - edk2: possible heap corruption with LzmaUefiDecompressGetInfo
Summary: edk2: possible heap corruption with LzmaUefiDecompressGetInfo
Keywords:
Status: NEW
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1892318 1899495 1899496
Blocks: 1883558
TreeView+ depends on / blocked
 
Reported: 2020-09-29 13:42 UTC by Guilherme de Almeida Suckevicz
Modified: 2020-11-21 02:06 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
TianoCore 1816 None None None 2020-10-01 08:00:41 UTC

Description Guilherme de Almeida Suckevicz 2020-09-29 13:42:45 UTC
A flaw was found in edk2 in the decompression process of UEFI images in the LzmaUefiDecompressGetInfo() function. A crafted LZMA header can lead to a heap-based buffer overflow.

Reference:
https://bugzilla.tianocore.org/show_bug.cgi?id=1816

Comment 1 Laszlo Ersek 2020-10-01 08:15:15 UTC
Upstream patch is ready and has been reviewed:

https://bugzilla.tianocore.org/show_bug.cgi?id=1816#c10
https://bugzilla.tianocore.org/show_bug.cgi?id=1816#c12

Comment 6 Riccardo Schirone 2020-11-19 12:13:33 UTC
Created edk2 tracking bugs for this issue:

Affects: epel-all [bug 1899496]
Affects: fedora-all [bug 1899495]

Comment 7 Laszlo Ersek 2020-11-21 02:06:30 UTC
Upstream fix merged as commit e7bd0dd26db7, via <https://github.com/tianocore/edk2/pull/1138>.


Note You need to log in before you can comment on or make changes to this bug.