Approved changes feed: RSS · Atom

cpe:2.3:a:fastify:fastify-bearer-auth:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorFastify (51747187-798b-5030-972d-b19db43759b4)
ProductFastify Bearer Auth (ac21c057-9bce-5c0e-80ec-bc4a2571ef85)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2022-31142 vulnerable 2026-06-03 14:47:10.696285 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.