Gửi #838569: antlr ANTLR4 4.13.2 Command Injectionthông tin

tiêu đềantlr ANTLR4 4.13.2 Command Injection
Mô tả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.
Nguồn⚠️ https://github.com/wooyun123/wooyun/issues/6
Người dùng
 jiazhou (UID 89028)
Đệ trình27/05/2026 10:52 (cách đây 1 tháng)
Kiểm duyệt27/06/2026 20:28 (1 month later)
Trạng tháiđược chấp nhận
Mục VulDB374496 [antlr ANTLR4 đến 4.13.2 gofmt GoTarget.java GoTarget nâng cao đặc quyền]
điểm20

Do you know our Splunk app?

Download it now for free!