ALAS2-2021-1601


Amazon Linux 2 Security Advisory: ALAS-2021-1601
Advisory Release Date: 2021-02-17 18:10 Pacific
Advisory Updated Date: 2021-02-19 22:04 Pacific
Severity: Medium

Issue Overview:

An issue was discovered in p11-kit 0.21.1 through 0.23.21. Multiple integer overflows have been discovered in the array allocations in the p11-kit library and the p11-kit list command, where overflow checks are missing before calling realloc or calloc. (CVE-2020-29361)

An issue was discovered in p11-kit 0.21.1 through 0.23.21. A heap-based buffer over-read has been discovered in the RPC protocol used by thep11-kit server/remote commands and the client library. When the remote entity supplies a byte array through a serialized PKCS#11 function call, the receiving entity may allow the reading of up to 4 bytes of memory past the heap allocation. (CVE-2020-29362)

An issue was discovered in p11-kit 0.23.6 through 0.23.21. A heap-based buffer overflow has been discovered in the RPC protocol used by p11-kit server/remote commands and the client library. When the remote entity supplies a serialized byte array in a CK_ATTRIBUTE, the receiving entity may not allocate sufficient length for the buffer to store the deserialized value. (CVE-2020-29363)


Affected Packages:

p11-kit


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update p11-kit to update your system.

New Packages:
aarch64:
    p11-kit-0.23.22-1.amzn2.0.1.aarch64
    p11-kit-devel-0.23.22-1.amzn2.0.1.aarch64
    p11-kit-trust-0.23.22-1.amzn2.0.1.aarch64
    p11-kit-server-0.23.22-1.amzn2.0.1.aarch64
    p11-kit-debuginfo-0.23.22-1.amzn2.0.1.aarch64

i686:
    p11-kit-0.23.22-1.amzn2.0.1.i686
    p11-kit-devel-0.23.22-1.amzn2.0.1.i686
    p11-kit-trust-0.23.22-1.amzn2.0.1.i686
    p11-kit-server-0.23.22-1.amzn2.0.1.i686
    p11-kit-debuginfo-0.23.22-1.amzn2.0.1.i686

src:
    p11-kit-0.23.22-1.amzn2.0.1.src

x86_64:
    p11-kit-0.23.22-1.amzn2.0.1.x86_64
    p11-kit-devel-0.23.22-1.amzn2.0.1.x86_64
    p11-kit-trust-0.23.22-1.amzn2.0.1.x86_64
    p11-kit-server-0.23.22-1.amzn2.0.1.x86_64
    p11-kit-debuginfo-0.23.22-1.amzn2.0.1.x86_64