
PEACH
Un cadre d’isolation des locataires
@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.
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.
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.
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.
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
Évaluation gratuite des vulnérabilités
É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.
Obtenez une démo personnalisée
"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."