audk/MdePkg/Include
Long Qin 6ded19558a SecurityPkg/Pkcs7Verify: Add the comments to address security problem
Add the comments to address security problems in the Pkcs7Verify Protocol
per UEFI 2.7 updates.

The Pkcs7Verifier function VerifySignature() has problematic use cases
where it might be used to unwittingly bypass security checks.  The specific
problem is that if the supplied hash is a different algorithm from the
blacklist hash, the hash will be approved even if it should have been
denied. The added comments place a strong warning about the problem.
It is possible to use the protocol reliably, either by agreeing a hash to
use for all time (like sha256) or by looping over all supported hashes when
using the protocol.

Cc: Chao Zhang <chao.b.zhang@intel.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qin Long <qin.long@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
2017-10-18 23:03:38 +08:00
..
AArch64 MdePkg/ProcessorBind: add defines for page allocation granularity 2017-03-06 11:27:00 +01:00
Arm MdePkg/ProcessorBind: add defines for page allocation granularity 2017-03-06 11:27:00 +01:00
Ebc MdePkg/ProcessorBind: add defines for page allocation granularity 2017-03-06 11:27:00 +01:00
Guid MdePkg/Cper.h: Update Firmware Error Record per UEFI 2.7 2017-06-23 15:56:50 +08:00
Ia32 MdePkg/ProcessorBind: add defines for page allocation granularity 2017-03-06 11:27:00 +01:00
IndustryStandard MdePkg: Add definitions for ACPI 6.2 2017-10-10 20:47:24 +08:00
Ipf MdePkg/ProcessorBind: add defines for page allocation granularity 2017-03-06 11:27:00 +01:00
Library MdePkg HobLib: Add BuildFv3Hob API 2017-10-10 20:54:32 +08:00
Pi MdePkg PiHob.h: Add FV3 HOB definitions 2017-10-10 20:54:27 +08:00
Ppi MdePkg: Add definition for SecHobData PPI 2017-08-04 08:56:05 +08:00
Protocol SecurityPkg/Pkcs7Verify: Add the comments to address security problem 2017-10-18 23:03:38 +08:00
Uefi MdePkg: Follow UEFI 2.7 spec to deprecate SMM Communication ACPI Table 2017-07-27 14:08:09 +08:00
X64 MdePkg/ProcessorBind: add defines for page allocation granularity 2017-03-06 11:27:00 +01:00
Base.h MdePkg: Declare _ReturnAddress() in Base.h for MSFT tool chain 2017-07-11 21:36:45 +08:00
PiDxe.h
PiMm.h MdePkg: Add new definitions for Management Mode. 2017-08-29 09:37:36 +08:00
PiPei.h
PiSmm.h MdePkg: Follow UEFI 2.7 spec to deprecate SMM Communication ACPI Table 2017-07-27 14:08:09 +08:00
Uefi.h