The http_connect function in transports/http.c in libgit2 before 0.24.6 and 0.25.x before 0.25.1 might allow man-in-the-middle attackers to spoof servers by leveraging clobbering of the error variable.
The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Libgit2 | Libgit2_project | * | 0.24.5 (including) |
Libgit2 | Libgit2_project | 0.25.0 (including) | 0.25.0 (including) |
Libgit2 | Libgit2_project | 0.25.0-rc1 (including) | 0.25.0-rc1 (including) |
Libgit2 | Libgit2_project | 0.25.0-rc2 (including) | 0.25.0-rc2 (including) |
Libgit2 | Ubuntu | artful | * |
Libgit2 | Ubuntu | esm-apps/xenial | * |
Libgit2 | Ubuntu | esm-infra-legacy/trusty | * |
Libgit2 | Ubuntu | trusty | * |
Libgit2 | Ubuntu | trusty/esm | * |
Libgit2 | Ubuntu | upstream | * |
Libgit2 | Ubuntu | xenial | * |
Libgit2 | Ubuntu | yakkety | * |
Libgit2 | Ubuntu | zesty | * |
Access control involves the use of several protection mechanisms such as:
When any mechanism is not applied or otherwise fails, attackers can compromise the security of the product by gaining privileges, reading sensitive information, executing commands, evading detection, etc. There are two distinct behaviors that can introduce access control weaknesses: