Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1418204 - (CVE-2017-5899) CVE-2017-5899 s-nail: privsep helper local privilege escalation
CVE-2017-5899 s-nail: privsep helper local privilege escalation
Status: CLOSED NOTABUG
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20170127,repor...
: Security
Depends On:
Blocks: 1418205
  Show dependency treegraph
 
Reported: 2017-02-01 04:35 EST by Andrej Nemec
Modified: 2017-02-07 04:05 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-02-01 11:44:07 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Andrej Nemec 2017-02-01 04:35:58 EST
A vulnerability was found in mailx. It was found that the privilege-separated child does not strip path separators from arguments. This potentially allows for a local privilege escalation.

References:

https://www.mail-archive.com/s-nail-users@lists.sourceforge.net/msg00551.html
http://seclists.org/oss-sec/2017/q1/212

Upstream patches:

https://git.sdaoden.eu/cgit/s-nail.git/commit/?id=f797c27efecad45af191c518b7f87fda32ada160
https://git.sdaoden.eu/cgit/s-nail.git/commit/?id=f2699449b66dd702a98925bd1b11153a6f7294bf
Comment 1 Dmitry Butskoy 2017-02-01 11:24:58 EST
Fedora still uses the old mailx-12.5 (from Heirloom project).

It looks that vulnerability had appeared in the new, forked code only (from git.sdaoden.eu), since there are no any "privsep.c" files in the 12.5 version.
Comment 2 Andrej Nemec 2017-02-01 11:26:47 EST
(In reply to Dmitry Butskoy from comment #1)
> Fedora still uses the old mailx-12.5 (from Heirloom project).
> 
> It looks that vulnerability had appeared in the new, forked code only (from
> git.sdaoden.eu), since there are no any "privsep.c" files in the 12.5
> version.

This indeed seems to be the case. Thanks for the input! I have changed fedora to notaffected.
Comment 3 Dmitry Butskoy 2017-02-01 11:31:36 EST
BTW RHEL6/RHEL7 seem not affected too...
Comment 4 Tomas Hoger 2017-02-01 11:44:07 EST
As noted above, this is s-nail issue, not affecting mailx.
Comment 5 Andrej Nemec 2017-02-07 04:05:45 EST
CVE assignment:

http://seclists.org/oss-sec/2017/q1/329

Note You need to log in before you can comment on or make changes to this bug.