Cette page suit l'état du correctif pour Ubuntu. La vulnérabilité elle-même est décrite sur la page CVE principale. Voir CVE-2026-9277 →
Catégories
UBUNTU-CVE-2026-9277

Vulnérabilité dans node-shell-quote (UBUNTU-CVE-2026-9277)

Résumé

Vulnérabilité dans node-shell-quote (UBUNTU-CVE-2026-9277). L'exploitation peut entraîner la prise de contrôle totale du système. Exploitable via envFn. Atténuation : mise à jour vers 1.7.4+~1.7.1-1ubuntu0.24.04.1 ou plus.

Description d'origine

La description telle que publiée par la source (souvent en anglais).

shell-quote's quote() function did not validate object-token inputs against the operator model used by parse(). The .op field was backslash-escaped character by character using /(.)/g, which in JavaScript does not match line terminators (\n, \r, U+2028, U+2029). A line terminator in .op therefore passed through unescaped into the output; POSIX shells treat a literal newline as a command separator, so any content after it would execute as a second command. The vulnerable code path is reachable in two ways: (1) direct construction of { op: '...\n...' } from external input, and (2) via parse(cmd, envFn) when envFn returns object tokens whose .op is attacker-influenced. Both are documented API surface. Fixed by replacing the per-character escape with strict shape validation: .op must match the parser's control-operator allowlist; { op: 'glob', pattern } validates pattern and forbids line terminators; { comment } validates comment and forbids line terminators; any other object shape throws TypeError.

Source: OSV.dev (Open Source Vulnerabilities) OSV

Résumé généré automatiquement

Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.

Une vulnérabilité référencée UBUNTU-CVE-2026-9277 a été découverte dans node-shell-quote.
Des attaquants peuvent cibler un point d'entrée spécifique comme envFn à distance pour détourner le produit.
L'exploitation peut entraîner la prise de contrôle totale du système.
Action : mettez à jour node-shell-quote vers 1.7.4+~1.7.1-1ubuntu0.24.04.1 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « node-shell-quote UBUNTU-CVE-2026-9277 » sur le site de l'éditeur.

UBUNTU-CVE-2026-9277 (node-shell-quote)
Vecteur d'attaque : distant (réseau) / non authentifié / sans interaction utilisateur
Surface d'attaque : envFn / pattern / comment / TypeError
Correctif : 1.7.4+~1.7.1-1ubuntu0.24.04.1 — appliquer immédiatement
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.

❓ Quel est le problème

Une vulnérabilité (non classée) affecte node-shell-quote. Les attaquants atteignent le code vulnérable via envFn sans authentification.

📍 Périmètre concerné

Consultez l'avis de l'éditeur pour les versions affectées de node-shell-quote. Surface d'attaque : envFn / pattern / comment / TypeError.

🔥 Gravité

Gravité : ?. L'exploitation peut entraîner la prise de contrôle totale du système.

🔧 Comment corriger

Mettre à jour vers 1.7.4+~1.7.1-1ubuntu0.24.04.1.

🛡️ Contournement

En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.

🔍 Détection

Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.

Actions de réponse

Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre

  1. 1
    Identify exposure identify
    grep -r 'node-shell-quote' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で node-shell-quote を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply patch patch
    Upgrade node-shell-quote to 1.7.4+~1.7.1-1ubuntu0.24.04.1

    ステージング環境で 1.7.4+~1.7.1-1ubuntu0.24.04.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    Post-deployment verification verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Paquets affectés

Ubuntu:18.04:LTS node-shell-quote
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Ubuntu:22.04:LTS node-shell-quote
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Ubuntu:24.04:LTS node-shell-quote
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.4+~1.7.1-1ubuntu0.24.04.1"}]}]
Ubuntu:25.10 node-shell-quote
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.4+~1.7.1-1ubuntu0.25.10.1"}]}]
Ubuntu:26.04:LTS node-shell-quote
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Ubuntu:Pro:18.04:LTS node-shell-quote
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.1+20160617-git72fb5a8ce29b-1ubuntu0.1~esm1"}]}]
Ubuntu:Pro:22.04:LTS node-shell-quote
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.3+~1.7.1-1ubuntu0.1~esm1"}]}]
Ubuntu:Pro:26.04:LTS node-shell-quote
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.3+~1.7.5-1ubuntu0.1~esm1"}]}]
Ubuntu:26.10 node-shell-quote
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]

Références

Nous utilisons des cookies pour l'analyse d'audience et la mesure publicitaire. Ce réglage s'applique à tous les sites de Game co., Ltd. En savoir plus