ALPINE-CVE-2026-21713
Record from OSV · Published March 30, 2026
A flaw in Node.js HMAC verification uses a non-constant-time comparison when validating user-provided signatures, potentially leaking timing information proportional to the number of matching bytes. Under certain threat models where high-resolution timing measurements are possible, this behavior could be exploited as a timing oracle to infer HMAC values. Node.js already provides timing-safe comparison primitives used elsewhere in the codebase, indicating this is an oversight rather than an intentional design decision. This vulnerability affects **20.x, 22.x, 24.x, and 25.x**.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| nodejs | Alpine:v3.23 | 24.14.1-r0 |
| nodejs | Alpine:v3.22 | 22.22.2-r0 |
| nodejs | Alpine:v3.24 | 24.14.1-r0 |
| nodejs | Alpine:v3.21 | 22.22.2-r0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.23 | nodejs | 0, 22.11.0-r0, 22.11.0-r1 |
| Alpine:v3.22 | nodejs | 22.22.0-r0, 22.11.0-r0, 22.11.0-r1 |
| Alpine:v3.24 | nodejs | 0 |
| Alpine:v3.21 | nodejs | 22.11.0-r0, 22.11.0-r1, 22.13.1-r0 |
Timeline
- Mar 30, 2026 CVE Published
- May 1, 2026 Distribution Patch
- Jun 15, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln ALPINE-CVE-2026-21713
vulnetix vdb fixes ALPINE-CVE-2026-21713
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/ALPINE-CVE-2026-21713/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart