Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2022-31142
fastify bearer-auth

Score7.5 High
CVSS 3.1
Exploit probability (EPSS)1.5%
within the next 30 days
CategoryInformation disclosure
Published14 July 2022
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.

A successful attack has high impact: reading confidential data.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

@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.

CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Weakness: CWE-208, CWE-203

Affected products

VendorProductVersions
fastifybearer-auth>=5.0.1 <7.0.2
fastifybearer-auth8.0.0

Sources

Latest in the same category

  • CVE-2026-118999 Low 3.3
    Permission control vulnerability in the theme setting module. Impact: Successful exploitation of this vulnerability may affect service confidentiality.
    Information disclosure · 1 December 2026
  • CVE-2026-34869 Medium 6.4
    Insertion of Sensitive Information into Log File in Hitachi Disk Array Systems. This issue affects Hitachi Virtual Storage Platform One Block 28: before DKC MAIN A3-05-21-40/00, ESM A3-05-21/00; Hitachi Virtual Storage…
    Information disclosure · 1 December 2026
  • CVE-2026-11550 Medium 4.9
    Insertion of Sensitive Information into Log File in Hitachi Disk Array Systems. This issue affects Hitachi Virtual Storage Platform One Block 28: before DKC MAIN A3-05-42-x0/00, ESM A3-05-42/00; Hitachi Virtual Storage…
    Information disclosure · 1 December 2026
  • CVE-2026-119008 Medium 6.2
    Vulnerability of improper data management in the location service module. Impact: Successful exploitation of this vulnerability may affect service confidentiality.
    Information disclosure · 1 December 2026
  • CVE-2025-7377 Medium 5.2
    Information Exposure Vulnerability in Storage Virtualization OS. This issue affects Hitachi Virtual Storage Platform 5100, 5500, 5100H, 5500H, 5200, 5600, 5200H, 5600H: before GUM Ver. 90-09-28/00, SVP Ver.…
    Information disclosure · 1 December 2026
  • CVE-2026-140122 Medium 6.9
    PDF & Print by BestWebSoft before 2.4.8 contains an information disclosure vulnerability in pdfprnt_print() that allows unauthenticated attackers to view non-public posts by injecting WP_Query arguments. Attackers can…
    Information disclosure · 1 December 2026