Description
The gnu regular expression code in file 4.20 allows context-dependent attackers to cause a denial of service (CPU consumption) via a crafted document with a large number of line feed characters, which is not well handled by OS/2 REXX regular expressions that use wildcards, as originally reported for AMaViS.
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 | file | 4.20-6 | — |
| Debian 13 | file | 4.20-6 | — |
| Debian 12 | file | 4.20-6 | — |
References
- https://bugs.gentoo.org/show_bug.cgi?id=174217
- 24918 third-party-advisory
- GLSA-200704-13 vendor-advisory
- http://sourceforge.net/mailarchive/forum.php?thread_name=755AF709E5B77E6EA58479D5%40foxx.lsit.ucsb.edu&forum_name=amavis-user
- https://issues.rpath.com/browse/RPL-1311
- http://www.amavis.org/security/asa-2007-3.txt
- 25544 third-party-advisory
- MDKSA-2007:114 vendor-advisory
- 25578 third-party-advisory
- 20070524 FLEA-2007-0022-1: file mailing-list
- ADV-2007-2071 vdb-entry
- 25394 third-party-advisory
- 24146 vdb-entry