| 标题 | antlr ANTLR4 4.13.2 Unsafe Java Deserialization Maven Plugin |
|---|
| 描述 | The ANTLR4 Maven plugin (`antlr4-maven-plugin`) uses `ObjectInputStream.readObject()` without setting an `ObjectInputFilter` to deserialize a grammar dependency status file from the build directory. An attacker with write access to the build directory (via shared CI cache poisoning, compromised dependencies that have filesystem access, or a TOCTOU race condition) can replace the status file with a serialized gadget chain and achieve Remote Code Execution on the build server. Confirmed: the deserializer accepts arbitrary class names, attempting to load attacker-controlled classes. |
|---|
| 来源 | ⚠️ https://github.com/wooyun123/wooyun/issues/7 |
|---|
| 用户 | jiazhou (UID 89028) |
|---|
| 提交 | 2026-05-27 12時11分 (1 月前) |
|---|
| 管理 | 2026-06-27 20時28分 (1 month later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 374498 [antlr ANTLR4 直到 4.13.2 Maven Plugin GrammarDependencies.java ObjectInputStream.readObject 竞争条件] |
|---|
| 积分 | 20 |
|---|