Description
The sm_close_on_exec function in conf.c in sendmail before 8.14.9 has arguments in the wrong order, and consequently skips setting expected FD_CLOEXEC flags, which allows local users to access unintended high-numbered file descriptors via a custom mail-delivery program.
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 | sendmail | 8.14.4-6 | — |
| Debian 13 | sendmail | 8.14.4-6 | — |
| Debian 12 | sendmail | 8.14.4-6 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | sendmail | 8.14.4-4.1ubuntu1.1 | — |
References
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05216368
- 58628 third-party-advisory
- FreeBSD-SA-14:11 vendor-advisory
- MDVSA-2015:128 vendor-advisory
- http://packetstormsecurity.com/files/126975/Slackware-Security-Advisory-sendmail-Updates.html
- GLSA-201412-32 vendor-advisory
- http://www.sendmail.com/sm/open_source/download/8.14.9/
- openSUSE-SU-2014:0804 vendor-advisory
- MDVSA-2014:147 vendor-advisory
- FEDORA-2014-7093 vendor-advisory
- openSUSE-SU-2014:0805 vendor-advisory
- 57455 third-party-advisory
- 67791 vdb-entry
- http://advisories.mageia.org/MGASA-2014-0270.html
- SSA:2014-156-04 vendor-advisory
- 1030331 vdb-entry