Paragon Initiative Enterprises · Report #181214
Using plain git protocol (vulnerable to MITM)
Informativestatus
1upvotes
9 Nov 2016disclosed
How it was found
Using plain git protocol (git://domain) is insecure as the server is not verified (MITM attacker can return different content if last commit not checked against known one) more information about this issue (Protocols to choose from when cloning): https://gist.github.com/grawity/4392747 vcs-field-uses-insecure-uri check details: https://lintian.debian.org/tags/vcs-field-uses-insecure-uri.html
in: https://github.com/paragonie/airship/blob/master/.travis.yml#L12
- git clone git://github.com/jedisct1/libsodium.git
fix:
- use https protocol instead of git. (https:// vs git://)
- implement verification of last commit/tag if possible (known commit/tag is fetched instead of master), more details about possible implementations in report: "Missing GIT tag/commit verification in Docker" https://hackerone.com/reports/181212