Bug 1533836 - (CVE-2018-1000001) CVE-2018-1000001 glibc: realpath() buffer underflow when getcwd() returns relative path allows privilege escalation
CVE-2018-1000001 glibc: realpath() buffer underflow when getcwd() returns rel...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
impact=important,public=20180111,repo...
: Security
Depends On: 1533840 1534635 1533837 1533838 1533839 1534634
Blocks: 1530306
  Show dependency treegraph
 
Reported: 2018-01-12 05:48 EST by Adam Mariš
Modified: 2018-02-10 23:57 EST (History)
18 users (show)

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


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Sourceware 22679 None None None 2018-02-05 07:28 EST

  None (edit)
Description Adam Mariš 2018-01-12 05:48:43 EST
A buffer underflow in realpath() in glibc when getcwd() returns relative path or unreachable path (i.e. not starting with '/') was found that can allow privilege escalation under certain conditions.

Reference:

http://www.openwall.com/lists/oss-security/2018/01/11/5
Comment 1 Adam Mariš 2018-01-12 05:48:45 EST
Acknowledgments:

Name: halfdog
Comment 2 Adam Mariš 2018-01-12 05:49:23 EST
Created glibc tracking bugs for this issue:

Affects: fedora-all [bug 1533837]


Created glibc-arm-linux-gnu tracking bugs for this issue:

Affects: fedora-all [bug 1533840]
Comment 7 Florian Weimer 2018-02-05 07:22:46 EST
There is a report of a regression related to the getcwd fix:

https://lists.gluster.org/pipermail/gluster-users/2018-January/033293.html
Comment 8 Florian Weimer 2018-02-05 14:19:39 EST
(In reply to Florian Weimer from comment #7)
> There is a report of a regression related to the getcwd fix:
> 
> https://lists.gluster.org/pipermail/gluster-users/2018-January/033293.html

See bug 1542180.

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