Bug 1758620 (CVE-2019-14563) - CVE-2019-14563 edk2: numeric truncation in MdeModulePkg/PiDxeS3BootScriptLib
Summary: CVE-2019-14563 edk2: numeric truncation in MdeModulePkg/PiDxeS3BootScriptLib
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2019-14563
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: 1801260 1801259 1801273 1801274
Blocks: 1737084
TreeView+ depends on / blocked
 
Reported: 2019-10-04 15:53 UTC by Riccardo Schirone
Modified: 2020-04-28 16:34 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-28 16:34:22 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:1712 0 None None None 2020-04-28 15:43:25 UTC
TianoCore 2001 0 None None None 2019-10-04 18:10:21 UTC

Description Riccardo Schirone 2019-10-04 15:53:33 UTC
It is possible for S3BootScriptLib APIs to cause numeric truncations that may lead to S3 boot script entry with wrong size being returned. This may lead to memory corruption.

Affected functions:
S3BootScriptSaveIoWrite
S3BootScriptSaveMemWrite
S3BootScriptSavePciCfgWrite
S3BootScriptSavePciCfg2Write
S3BootScriptSaveSmbusExecute
S3BootScriptSaveInformation
S3BootScriptSaveInformationAsciiString
S3BootScriptLabel (happen in S3BootScriptLabelInternal())

Comment 6 Riccardo Schirone 2020-02-10 14:28:48 UTC
Created edk2 tracking bugs for this issue:

Affects: epel-all [bug 1801260]
Affects: fedora-all [bug 1801259]

Comment 9 Riccardo Schirone 2020-02-10 14:44:43 UTC
Upstream bug:
https://bugzilla.tianocore.org/show_bug.cgi?id=2001

Comment 10 errata-xmlrpc 2020-04-28 15:43:23 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2020:1712 https://access.redhat.com/errata/RHSA-2020:1712

Comment 11 Product Security DevOps Team 2020-04-28 16:34:22 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-14563


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