Published: 10 July 2018
A flaw was found in libgit2 before version 0.27.3. It has been discovered that an unexpected sign extension in git_delta_apply function in delta.c file may lead to an integer overflow which in turn leads to an out of bound read, allowing to read before the base object. An attacker may use this flaw to leak memory addresses or cause a Denial of Service.
From the Ubuntu security team
It was discovered that libgit2 mishandled specially crafted input. If a victim were tricked into cloning a malicious repository or applying a malicious patch, an attacker could cause libgit2 to leak sensitive information or crash.
CVSS 3 base score: 8.1