GHSA-2qxc-5xj9-7342: 
JavaScript Analyse et atténuation de la vulnérabilité

Summary

@logtape/syslog writes the appName, syslogHostname, and processId options into the RFC 5424 header without validating them. It also writes structuredDataId without validation when structured data is enabled and there are properties to include. These are configuration options set when getSyslogSink() is called. Ordinary log messages and record properties do not set these options.

Impact

If an application supplies untrusted values for these options, the sink can emit malformed syslog records. With newline-delimited TCP transport, this can also allow forged records to reach the collector, compromising log integrity. The default transport is UDP. The report demonstrated record forgery in a TCP test on npm version 2.4.2 by supplying the affected options directly. We reviewed the 2.4.2 source and the documented integrations and found no path from ordinary log input to these options. If syslogHostname is not set, the sink uses the system hostname, with a process-environment fallback if the system lookup throws. These defaults do not read from log records. The TCP connection sends records to the collector; it is not an input path to the sink. Any path from a less-trusted caller to these settings depends on how the application or deployment supplies them.

Severity assessment

CVSS v3.1: 2.3 (Low), based on a local configuration scenario. This assessment assumes the attacker already has permission to edit the application's sink configuration, but cannot directly write to the receiving log stream. Once those settings are in use, the formatting behavior is deterministic and no separate user action is needed. The score reflects a limited loss of integrity in the application's own log stream under the same security authority. It does not assume a confidentiality impact, an availability impact, or an effect on other applications' logs. This assessment does not establish that every affected deployment requires local configuration access. An integration that exposes these options to less-privileged users may warrant a different score.

Affected versions

The affected stable releases of @logtape/syslog on npm and JSR are 0.12.0 through 2.4.2, inclusive. Fixed releases are 2.0.30, 2.1.21, 2.2.17, 2.3.14, and 2.4.3.

Mitigation

Use trusted, RFC 5424-compliant values for these options. If an integration derives them from untrusted input, validate them before calling getSyslogSink(). A package-level fix should enforce the RFC 5424 character and length constraints for each field.

GHSA-rjxr-25gw-qw92 covers the message body, and GHSA-8h6h-x5pq-56fq covers structured data parameter names. Neither fix validates the configuration options described here.


Source: NVD

Connexe JavaScript Vulnérabilités :

CVE ID

Gravité

Partition

Technologies

Nom du composant

Exploit CISA KEV

A corrigé

Date de publication

GHSA-7hh4-7hx5-vxx8HIGH7.7
  • JavaScript logoJavaScript
  • mysql2
NonOuiNov 26, 2026
GHSA-656w-x92q-369mMEDIUM5.9
  • JavaScript logoJavaScript
  • hono
NonOuiNov 26, 2026
GHSA-mhwf-w6q6-q58wMEDIUM5.3
  • JavaScript logoJavaScript
  • hono
NonOuiNov 26, 2026
GHSA-586x-c76g-h528MEDIUM5.3
  • JavaScript logoJavaScript
  • hono
NonOuiNov 26, 2026
GHSA-2qxc-5xj9-7342LOW2.3
  • JavaScript logoJavaScript
  • @logtape/syslog
NonNonNov 26, 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