Description
Stack-based buffer overflow in the useragent function in useragent.c in Squid Analysis Report Generator (Sarg) 2.2.3.1 allows remote attackers to execute arbitrary code via a long Squid proxy server User-Agent header. NOTE: some of these details are obtained from third party information.
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 | sarg | 2.2.4-1 | — |
| Debian 13 | sarg | 2.2.4-1 | — |
| Debian 12 | sarg | 2.2.4-1 | — |
References
- sarg-useragent-bo(40970) vdb-entry
- http://sourceforge.net/project/shownotes.php?release_id=581212
- ADV-2008-0749 vdb-entry
- 28668 third-party-advisory
- GLSA-200803-21 vendor-advisory
- MDVSA-2008:079 vendor-advisory
- 29309 third-party-advisory
- 1019536 vdb-entry
- SUSE-SR:2008:006 vendor-advisory
- 29323 third-party-advisory
- 20080302 Squid Analysis Report Generator <= 2.2.3.1 buffer overflow mailing-list
- 29500 third-party-advisory
- 28077 vdb-entry