thodg/libgit2/CHANGELOG.md

Tag

Download

v0.26.4

This is a security release fixing insufficient validation of submodule names (CVE-2018-11235, reported by Etienne Stalmans) and disallows .gitmodules files as symlinks.

While submodule names come from the untrusted “.gitmodules” file, we blindly append the name to “$GIT_DIR/modules” to construct the final path of the submodule repository. In case the name contains e.g. “../“, an adversary would be able to escape your repository and write data at arbitrary paths. In accordance with git, we now enforce some rules for submodule names which will cause libgit2 to ignore these malicious names.

Adding a symlink as .gitmodules into the index from the workdir or checking out such files is not allowed as this can make a Git implementation write outside of the repository and bypass the fsck checks for CVE-2018-11235.

libgit2 is not susceptible to CVE-2018-11233.

v0.26.3

This is a bugfix release. It includes the following non-exclusive list of improvements, which have been backported from the master branch:

v0.26.2

This is a security release fixing memory handling issues when reading crafted repository index files. The issues allow for possible denial of service due to allocation of large memory and out-of-bound reads.

As the index is never transferred via the network, exploitation requires an attacker to have access to the local repository.

v0.26.1

This is a security release fixing the following CVEs in the bundled zlib library:

All users compiling libgit2 with the bundled zlib instead of using the system-provided zlib must upgrade.

v0.26

Changes or improvements

API additions


Source

Download