In glibc 2.26 and earlier there is confusion in the usage of getcwd() by realpath() which can be used to write before the destination buffer leading to a buffer underflow and potential code execution.
The product writes data past the end, or before the beginning, of the intended buffer.
Link | Tags |
---|---|
http://seclists.org/oss-sec/2018/q1/38 | third party advisory mailing list |
https://usn.ubuntu.com/3534-1/ | third party advisory vendor advisory |
https://www.halfdog.net/Security/2017/LibcRealpathBufferUnderflow/ | third party advisory |
http://www.securityfocus.com/bid/102525 | vdb entry third party advisory |
https://www.exploit-db.com/exploits/44889/ | exploit vdb entry third party advisory |
https://www.exploit-db.com/exploits/43775/ | exploit vdb entry third party advisory |
https://usn.ubuntu.com/3536-1/ | third party advisory vendor advisory |
https://access.redhat.com/errata/RHSA-2018:0805 | third party advisory vendor advisory |
http://www.securitytracker.com/id/1040162 | vdb entry third party advisory |
https://security.netapp.com/advisory/ntap-20190404-0003/ |