Incorrect returning of an error code in the index.c:read_entry() function leads to a double free in libgit2 before v0.26.2, which allows an attacker to cause a denial of service via a crafted repository index file.
The product calls free() twice on the same memory address.
Link | Tags |
---|---|
https://libgit2.github.com/security/ | third party advisory patch |
https://github.com/libgit2/libgit2/commit/58a6fe94cb851f71214dbefac3f9bffee437d6fe | third party advisory patch |
https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html | third party advisory mailing list |