提出 #838569: antlr ANTLR4 4.13.2 Command Injection情報

タイトルantlr ANTLR4 4.13.2 Command Injection
説明When ANTLR4 generates Go code (-Dlanguage=Go), the GoTarget class executes gofmt using ProcessBuilder("gofmt", ...) without specifying an absolute path. The binary is resolved via the PATH environment variable. An attacker who can prepend a directory to PATH (via compromised build scripts, CI environment injection, or .envrc files) can place a malicious executable named gofmt that will be executed with the privileges of the build process. This was confirmed to achieve code execution with a crafted PATH.
ソース⚠️ https://github.com/wooyun123/wooyun/issues/6
ユーザー
 jiazhou (UID 89028)
送信2026年05月27日 10:52 (1 月 ago)
モデレーション2026年06月27日 20:28 (1 month later)
ステータス承諾済み
VulDBエントリ374496 [antlr ANTLR4 迄 4.13.2 gofmt GoTarget.java GoTarget 特権昇格]
ポイント20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!