Skip to content

Commit 9ea61b9

Browse files
committed
Write up the cert check callback advisory
1 parent ee0ee43 commit 9ea61b9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

security/index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ layout: default
77
Information about security advisories affecting libgit2 and the releases that
88
provide resolution.
99

10+
* **[libgit2 v0.24.6](https://github.com/libgit2/libgit2/releases/tag/v0.24.6)** and **[libgit2 v0.25.1](https://github.com/libgit2/libgit2/releases/tag/v0.25.1)**, January 9th, 2017
11+
Includes two fixes, one performs extra sanitization for some edge cases in the Git Smart Prot
12+
ocol which can lead to attempting to parse outside of the buffer.<br>
13+
The second fix affects the certificate check callback. It provides a `valid` parameter to indicate whether the native cryptographic library considered the certificate to be correct. This parameter is always `1`/`true` before these releases leading to a possible MITM.<br>
14+
This does not affect you if you do not use the custom certificate callback or if you do not take this value into account. This does affect you if you use pygit2 or git2go regardless of whether you specify a certificate check callback.
15+
1016
* **[libgit2 v0.22.1](https://github.com/libgit2/libgit2/releases/tag/v0.22.1)**, January 16, 2015
1117
Provides additional protections on symbolic links on case-insensitive
1218
filesystems, particularly Mac OS X HFS+.

0 commit comments

Comments
 (0)