Integer Overflow or Wraparound Affecting p11-kit package, versions <0:0.23.22-1.amzn2.0.1


medium

Snyk CVSS

    Attack Complexity Low
    Availability High

    Threat Intelligence

    EPSS 0.56% (78th percentile)
Expand this section
NVD
7.5 high
Expand this section
SUSE
7.5 high
Expand this section
Red Hat
7.5 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-AMZN2-P11KIT-1694491
  • published 27 Sep 2021
  • disclosed 16 Dec 2020

How to fix?

Upgrade Amazon-Linux:2 p11-kit to version 0:0.23.22-1.amzn2.0.1 or higher.
This issue was patched in ALAS2-2021-1601.

NVD Description

Note: Versions mentioned in the description apply only to the upstream p11-kit package and not the p11-kit package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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.