Description
Balabit syslog-ng 2.0, 3.0, 3.1, 3.2 OSE and PE, when running on FreeBSD or HP-UX, does not properly perform cast operations, which causes syslog-ng to use a default value of -1 to create log files with insecure permissions (07777), which allows local users to read and write to these log files.
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 | syslog-ng | 3.1.3-2 | — |
| Debian 13 | syslog-ng | 3.1.3-2 | — |
| Debian 12 | syslog-ng | 3.1.3-2 | — |
References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608491
- 20110125 syslog-ng wrong file permission vulnerability mailing-list
- [syslog-ng-announce] 20110110 syslog-ng Premium Edition 3.0.6a has been released mailing-list
- [syslog-ng-announce] 20110110 syslog-ng Premium Edition 3.2.1a has been released mailing-list
- 45988 vdb-entry