1. Accueil
  2. Vulnérabilités
  3. CVE-2026-107840

CVE-2026-107840

yopass Prometheus metrics middleware allows remote memory exhaustion through unbounded method labels

Publiée le 9 oct. 2026 · modifiée le 16 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 43/100

Résumé

yopass is a service for securely sharing secrets, passwords, and files. Prior to version 14.7.0, the Prometheus metrics middleware in pkg/server/server.go uses the attacker-controlled r.Method value directly as the method label for yopass_http_requests_total and yopass_http_request_duration_seconds. Because the catch-all route accepts arbitrary HTTP method tokens, an unauthenticated remote attacker can submit many unique methods and create metric series that the Prometheus registry never evicts. The resulting monotonic memory growth can OOM-kill the process, while the expanding registry also degrades /metrics scrape latency and can blind monitoring. This issue is fixed in version 14.7.0.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

jhaals (1 ligne(s))
jhaals
ProduitVersionsCorrigé dansSource
yopass Versions non précisées — CNA (éditeur ou attributeur)
Go (2 ligne(s))
Go
ProduitVersionsCorrigé dansSource
github.com/jhaals/yopass avant 0.0.0-20260727191436-61e31ead04a4 (exclu) 0.0.0-20260727191436-61e31ead04a4 OSV
github.com/jhaals/yopass avant 0.0.0-20260727191436-61e31ead04a4 (exclu) 0.0.0-20260727191436-61e31ead04a4 GitHub Advisory

Correctif

Mise à jour — Go/github.com/jhaals/yopass 0.0.0-20260727191436-61e31ead04a4source officielle

Source : OSV

Mise à jour — Go/github.com/jhaals/yopass 0.0.0-20260727191436-61e31ead04a4source officielle

Source : GitHub Advisory

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, CNA:GitHub_M)
Faiblesse
CWE-400 · Autre (CWE-400)

Comment sont obtenues et calculées ces données