Skip to content
← Reporting

vulnerabilityhigh

GHSA-w2vw-w76x-qr89: Nx: OS command injection via git revisions and remote refs

Source: github.com

Nx core builds several git invocations as shell command strings with untrusted values interpolated into them, so a value that should be a git revision or ref is parsed by /bin/sh instead. Two entry points are reachable by an attacker: affected commands, where defaultBase / affected.defaultBase from nx.json (and the NX_BASE / NX_HEAD environment variables) reach git merge-base and git diff; and nx import, where a branch name advertised by a remote repository reaches git fetch, git checkout, and git config. …

Signalsas the pipeline stamped them

High High-risk vulnerability

Get the next one first

Every story goes to Telegram and RSS the moment it is published, and the whole wire is a keyless JSON API.

Telegram ↗KEV RSSAPIStack check