| शीर्षक | 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) |
|---|
| सबमिशन | 27/05/2026 10:52 AM (5 महीनों पहले) |
|---|
| संयम | 27/06/2026 08:28 PM (1 month later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 374496 [antlr ANTLR4 तक 4.13.2 gofmt GoTarget.java GoTarget अधिकार वृद्धि] |
|---|
| अंक | 20 |
|---|