[3.5] Git RCE vulnerability regarding submodules (CVE-2018-17456)
Git before 2.14.5, 2.15.x before 2.15.3, 2.16.x before 2.16.5, 2.17.x before 2.17.2, 2.18.x before 2.18.1, and 2.19.x before 2.19.1 allows remote code execution during processing of a recursive “git clone” of a superproject if a .gitmodules file has a URL field beginning with a ‘-’ character.
References:
https://www.openwall.com/lists/oss-security/2018/10/06/3
https://nvd.nist.gov/vuln/detail/CVE-2018-17456
Patches:
https://github.com/git/git/commit/98afac7a7cefdca0d2c4917dd8066a59f7088265
https://github.com/git/git/commit/f6adec4e329ef0e25e14c63b735a5956dc67b8bc
https://github.com/git/git/commit/273c61496f88c6495b886acb1041fe57965151da
For the fsck check:
https://github.com/git/git/commit/a124133e1e6ab5c7a9fef6d0e6bcb084e3455b46
https://github.com/git/git/commit/1a7fd1fb2998002da6e9ff2ee46e1bdd25ee8404
(from redmine: issue id 9544, created on 2018-10-09, closed on 2018-10-25)
- Relations:
- parent #9511 (closed)
- Changesets:
- Revision 802f66ea by Natanael Copa on 2018-10-24T17:25:07Z:
main/git: security fix (CVE-2018-17456)
Patch from Debian.
fixes #9544