GHSA-jm66-q5wm-qf72: 
JavaScript Analyse et atténuation de la vulnérabilité

Impact

orbitdb-relay's HTTP API (the metrics server, METRICS_PORT, default 9090) has no authentication and listens on all interfaces by default (server.listen(port) in src/services/metrics.ts; PinningHttpServer defaults to 0.0.0.0).

  • GET /pinning/databases without address lists the address of every OrbitDB database the relay has synced. Only lastRecord is redacted (RELAY_PINNING_EXPOSE_RECORD_VALUES, #54); the code itself notes "The listing is unauthenticated".
  • GET /ipfs/<cid> serves the blocks the relay holds (and, by default, fetches others over the network), so anyone who has a database address can read its manifest and log entries over plain HTTP. For apps whose entries carry clear fields (for example contact DIDs, owners or invitations in address books), one HTTP client can map who is connected to whom across all users of a relay, even when the record contents are encrypted. For some apps the address is derivable (for example from the owner's DID), so hiding the listing alone does not close this.
  • POST /pinning/sync lets anyone make the relay open and sync a database of their choice (rate-limited per client only).
  • There is no switch to turn these routes off; only the record-value redaction exists. The relay-button Aleph image (packages/rootfs/reference/orbitdb-relay) makes this reachable from the internet twice: Caddy on 443 proxies /pinning/* and /ipfs/* to the HTTP API, and the instance's port-forwarding exposes 9090 directly.

Patches

To be released. Planned:

  • The full listing (/pinning/databases without a non-empty address/dbAddress) is off by default, with an environment switch to turn it on (tests).
  • /pinning/sync, /pinning/has-entry and /ipfs/ are individually switchable by environment variable.
  • The HTTP server binds to 127.0.0.1 by default; a host variable opts into other interfaces.
  • relay-button: the Caddy template stops proxying the disabled routes, and 9090 is removed from the instance's port-forwarding.

Workarounds

  • Do not expose METRICS_PORT to untrusted networks: firewall it to loopback (iptables -I INPUT -p tcp --dport 9090 ! -i lo -j DROP, same with ip6tables), or remove it from port forwarding.
  • In a reverse proxy in front of the relay, answer 404 for /pinning/databases without a non-empty address/dbAddress query, and for /ipfs/* unless it is needed.
  • Applied on our production relays (athlete-equal-ritual-rhythm.2n6.me, will-view-session-barely.2n6.me) on 2026-11-28; this holds until the next redeploy.

Credit

Found during the deContact security audit (internal tracking P6c).


Source: NVD

Connexe JavaScript Vulnérabilités :

CVE ID

Gravité

Partition

Technologies

Nom du composant

Exploit CISA KEV

A corrigé

Date de publication

GHSA-j7r2-xppq-m353HIGH7.5
  • JavaScript logoJavaScript
  • websocket-driver
NonOuiNov 28, 2026
GHSA-w7cm-vp9h-3qp4MEDIUM6.3
  • JavaScript logoJavaScript
  • axios
NonOuiNov 28, 2026
GHSA-mw39-9473-h7mrMEDIUM6.3
  • JavaScript logoJavaScript
  • axios
NonOuiNov 28, 2026
GHSA-v2qg-6486-r9rfLOW2.3
  • JavaScript logoJavaScript
  • axios
NonOuiNov 28, 2026
GHSA-jm66-q5wm-qf72MEDIUMN/A
  • JavaScript logoJavaScript
  • orbitdb-relay
NonNonNov 28, 2026

Évaluation gratuite des vulnérabilités

Évaluez votre posture de sécurité cloud

Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité afin d’évaluer votre niveau de risque et d’identifier les lacunes dans vos défenses.

Évaluation de la demande

Ressources Wiz supplémentaires

Obtenez une démo personnalisée

Prêt(e) à voir Wiz en action ?

"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
David EstlickRSSI
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
Adam FletcherChef du service de sécurité
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."
Greg PoniatowskiResponsable de la gestion des menaces et des vulnérabilités