Description
MAWK 1.3.3-17 and prior contains a stack-based buffer overflow vulnerability that allows attackers to execute arbitrary code by exploiting inadequate boundary checks on user-supplied input. Attackers can craft malicious input that overflows the stack buffer and execute a return-oriented programming chain to spawn a shell with application privileges.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| mawk | MAWK | 1.3.3-17 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | mawk | No fix yet | — |
| Ubuntu 16.04 LTS | mawk | No fix yet | — |
| Ubuntu 14.04 LTS | mawk | No fix yet | — |
References
- ExploitDB-42357 exploit
- VulnCheck Advisory: MAWK 1.3.3-17 Stack-Based Buffer Overflow third-party-advisory