Description
Sngrep v1.6.0 was discovered to contain a heap buffer overflow via the function capture_packet_reasm_ip at /src/capture.c.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | sngrep | 1.7.0-1 | — |
| Debian 13 | sngrep | 1.7.0-1 | — |
| Debian 12 | sngrep | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | sngrep | No fix yet | — |
| Ubuntu 20.04 LTS | sngrep | No fix yet | — |
| Ubuntu 18.04 LTS | sngrep | No fix yet | — |
| Ubuntu 16.04 LTS | sngrep | No fix yet | — |