Out-of-bounds Read Affecting p11-glue/p11-kit package, versions [0.23.6,0.23.22)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.15% (53rd 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-UNMANAGED-P11GLUEP11KIT-2366151
  • published26 Jan 2022
  • disclosed16 Dec 2020
  • creditUnknown

Introduced: 16 Dec 2020

CVE-2020-29362  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade p11-glue/p11-kit to version 0.23.22 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. 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.

CVSS Base Scores

version 3.1