Bearer Auth
Approved changes feed: RSS · Atom
cpe:2.3:a:fastify:bearer-auth:*:*:*:*:*:node.js:*:*
part: a version: * update: *
| Vendor | Fastify (51747187-798b-5030-972d-b19db43759b4) |
|---|---|
| Product | Bearer Auth (334b5e25-6ed3-5409-8745-b0943662b70d) |
| Edition | * |
| Language | * |
| Software edition | * |
| Target software | node.js |
| Target hardware | * |
| Other | * |
| Notes | Imported from purl2cpe mapping |
PURL mappings
| PURL | Source | Last updated |
|---|---|---|
pkg:github/fastify/fastify-bearer-auth |
purl2cpe | 2026-06-01 10:16:32.874281 |
pkg:npm/%40fastify/bearer-auth |
purl2cpe | 2026-06-01 10:16:32.874283 |
Vulnerability references
| Identifier | cpeApplicability | Submitted | db.gcve.eu details | Rationale |
|---|---|---|---|---|
CVE:CVE-2022-31142 |
vulnerable | 2026-06-03 14:47:10.697125 |
Potential Timing Attack Vector in @fastify/bearer-auth
HIGH (7.5)
@fastify/bearer-auth is a Fastify plugin to require bearer Authorization headers. @fastify/bearer-auth prior to versions 7.0.2 and 8.0.1 does not securely use crypto.timingSafeEqual. A malicious attacker could estimate the length of one valid bearer token. According to the corresponding RFC 6750, the bearer token has only base64 valid characters, reducing the range of characters for a brute force attack. Version 7.0.2 and 8.0.1 of @fastify/bearer-auth contain a patch. There are currently no known workarounds. The package fastify-bearer-auth, which covers versions 6.0.3 and prior, is also vulnerable starting at version 5.0.1. Users of fastify-bearer-auth should upgrade to a patched version of @fastify/bearer-auth.
Published: 2022-07-14T18:55:11.000Z
Updated: 2025-04-23T18:02:16.307Z Reference links
|
Imported from gcve-enriched-dumps CVE data |
Contribute
You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.