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


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.01% (85th percentile)

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 IDSNYK-RHEL8-P11KIT-3992638
  • published26 Jul 2021
  • disclosed12 Dec 2020

Introduced: 12 Dec 2020

CVE-2020-29361  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade RHEL:8 p11-kit to version 0:0.23.22-1.el8 or higher.
This issue was patched in RHSA-2021:1609.

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 RHEL. See How to fix? for RHEL:8 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.

CVSS Scores

version 3.1