Skip to content
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.

Remove glob to preserve binary back compatibility #12

Merged
merged 1 commit into from
Jun 8, 2019

Conversation

TheCharlatan
Copy link

@TheCharlatan TheCharlatan commented Dec 2, 2018

Glob links with gnu libc version 2.27 if compiled on a modern system. This is due to the vulnerabilities found in its libc implementation, particularly CVE-2017-15670-1. This could lead to a buffer overflow if a
~ operator is used. Since glob is not directly used by monero, removing support for it seems to be the simplest way to deal with this in order to preserve binary compatibility accross a range of linux distributions. Together with the back compatibility code for monero this should set the required libc version at 2.17.
Please see discussion and comments on monero-project/monero#4929 before merging.

Glob links with gnu libc version 2.27 if compiled on a modern system. This
is due to the vulnerabilities found in its libc implementation,
particularly CVE-2017-15670-1. This could lead to a buffer overflow if a
`~` operator is used. Since glob is not directly used by monero,
removing support for it seems to be the simplest way to deal with this
in order to preserve binary compatibility accross a range of linux
distributions. Together with the back compatibility code for monero this
should set the required libc version at 2.17.
@fluffypony fluffypony merged commit f2a7b64 into monero-project:monero Jun 8, 2019
fluffypony added a commit that referenced this pull request Jun 8, 2019
f2a7b64 Remove glob to preserve binary back compatibility (TheCharlatan)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants