Vulnerability in p11-kit
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as ALPINE-CVE-2020-29362 has been found in p11-kit.
Risk of unauthorized operations or information disclosure.
What to do: upgrade p11-kit to 0.23.16.1-r1 or later.
If unsure, ask your IT team or search "p11-kit ALPINE-CVE-2020-29362" on the vendor's site.
ALPINE-CVE-2020-29362 (p11-kit)
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: 0.23.16.1-r1 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (unclassified) exists in p11-kit.
Check the vendor advisory for the affected versions of p11-kit.
Severity: ?. Risk of unauthorized operations or information disclosure.
Update to 0.23.16.1-r1.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'p11-kit' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'p11-kit' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
p11-kitを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade p11-kit to 0.23.16.1-r1ステージング環境で 0.23.16.1-r1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Alpine:v3.10p11-kit |
≥ 0.23.6, < 0.23.16.1-r1→ 0.23.16.1-r1 |
0.23.16.1-r1 |
| Alpine:v3.11p11-kit |
≥ 0.23.6, < 0.23.18.1-r1→ 0.23.18.1-r1 |
0.23.18.1-r1 |
| Alpine:v3.12p11-kit |
≥ 0.23.6, < 0.23.22-r0→ 0.23.22-r0 |
0.23.22-r0 |
| Alpine:v3.13p11-kit |
≥ 0.23.6, < 0.23.22-r0→ 0.23.22-r0 |
0.23.22-r0 |
| Alpine:v3.14p11-kit |
≥ 0.23.6, < 0.23.22-r0→ 0.23.22-r0 |
0.23.22-r0 |
| Alpine:v3.15p11-kit |
≥ 0.23.6, < 0.23.22-r0→ 0.23.22-r0 |
0.23.22-r0 |
| Alpine:v3.16p11-kit |
≥ 0.23.6, < 0.23.22-r0→ 0.23.22-r0 |
0.23.22-r0 |
| Alpine:v3.17p11-kit |
≥ 0.23.6, < 0.23.22-r0→ 0.23.22-r0 |
0.23.22-r0 |
| Alpine:v3.18p11-kit |
≥ 0.23.6, < 0.23.22-r0→ 0.23.22-r0 |
0.23.22-r0 |
| Alpine:v3.19p11-kit |
≥ 0.23.6, < 0.23.22-r0→ 0.23.22-r0 |
0.23.22-r0 |
| Alpine:v3.20p11-kit |
≥ 0.23.6, < 0.23.22-r0→ 0.23.22-r0 |
0.23.22-r0 |
| Alpine:v3.21p11-kit |
≥ 0.23.6, < 0.23.22-r0→ 0.23.22-r0 |
0.23.22-r0 |
| Alpine:v3.22p11-kit |
≥ 0.23.6, < 0.23.22-r0→ 0.23.22-r0 |
0.23.22-r0 |
| Alpine:v3.23p11-kit |
≥ 0.23.6, < 0.23.22-r0→ 0.23.22-r0 |
0.23.22-r0 |
| Alpine:v3.24p11-kit |
≥ 0.23.6, < 0.23.22-r0→ 0.23.22-r0 |
0.23.22-r0 |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security.alpinelinux.org