The vulnerability in the has_dir_name function in src/libgit2/index.c of the Git methods implementation in C language, Libgit2, allows a attacker to execute arbitrary code.
The vulnerability of the hasdirname function in src/libgit2/index.c, which implements Git methods in the C language, is related to buffer overflows in dynamic memory. Exploiting this vulnerability could allow a remote attacker to execute arbitrary code...