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


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.37% (73rd 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-2366152
  • published26 Jan 2022
  • disclosed16 Dec 2020
  • creditUnknown

Introduced: 16 Dec 2020

CVE-2020-29363  (opens in a new tab)
CWE-787  (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 Write. 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.

CVSS Base Scores

version 3.1