diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2022-04-12 16:17:07 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-12 16:17:07 -0400 |
| commit | 465bbf88ea939a965fbcbade72870c61f815e457 (patch) | |
| tree | 1ee481df24e17ed7decb7ef9e02c20450ca1fc33 | |
| parent | ff85adf0d7919ac37946875997aeec119f7a6374 (diff) | |
| parent | 0e5eff4d7bb29dc3b2b305ffc8e40430ca2d7aff (diff) | |
| download | libgit2-1.4.3.tar.gz | |
Merge pull request #6270 from libgit2/ethomson/v1.4.3v1.4.3
v1.4.3 release
| -rw-r--r-- | CMakeLists.txt | 2 | ||||
| -rw-r--r-- | docs/changelog.md | 20 | ||||
| -rw-r--r-- | include/git2/version.h | 4 | ||||
| -rw-r--r-- | package.json | 2 |
4 files changed, 24 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8c19d2ed3..9ff6748e0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.5.1) -project(libgit2 VERSION "1.4.0" LANGUAGES C) +project(libgit2 VERSION "1.4.3" LANGUAGES C) # Add find modules to the path set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake") diff --git a/docs/changelog.md b/docs/changelog.md index 5a5ef8c36..32a67d2c7 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,3 +1,23 @@ +v1.4.3 +------ + +🔒 This is a security release to provide compatibility with git's changes to address [CVE 2022-24765](https://github.blog/2022-04-12-git-security-vulnerability-announced/). + +**libgit2 is not directly affected** by this vulnerability, because libgit2 does not directly invoke any executable. But we are providing these changes as a security release for any users that use libgit2 for repository discovery and then _also_ use git on that repository. In this release, we will now validate that the user opening the repository is the same user that owns the on-disk repository. This is to match git's behavior. + +In addition, we are providing several correctness fixes where invalid input can lead to a crash. These may prevent possible denial of service attacks. At this time there are not known exploits to these issues. + +Full list of changes: + +* Validate repository directory ownership (v1.4) by @ethomson in https://github.com/libgit2/libgit2/pull/6267 +* midx: Fix an undefined behavior (left-shift signed overflow) by @lhchavez in https://github.com/libgit2/libgit2/pull/6260 +* fetch: support OID refspec without dst by @ethomson in https://github.com/libgit2/libgit2/pull/6251 +* Fix crash when regenerating a patch with unquoted spaces in filename by @jorio in https://github.com/libgit2/libgit2/pull/6244 + +All users of the v1.4 release line are recommended to upgrade. + +**Full Changelog**: https://github.com/libgit2/libgit2/compare/v1.4.2...v1.4.3 + v1.4.2 ------ diff --git a/include/git2/version.h b/include/git2/version.h index 192ef9f10..980f70b69 100644 --- a/include/git2/version.h +++ b/include/git2/version.h @@ -7,10 +7,10 @@ #ifndef INCLUDE_git_version_h__ #define INCLUDE_git_version_h__ -#define LIBGIT2_VERSION "1.4.2" +#define LIBGIT2_VERSION "1.4.3" #define LIBGIT2_VER_MAJOR 1 #define LIBGIT2_VER_MINOR 4 -#define LIBGIT2_VER_REVISION 2 +#define LIBGIT2_VER_REVISION 3 #define LIBGIT2_VER_PATCH 0 #define LIBGIT2_SOVERSION "1.4" diff --git a/package.json b/package.json index 6952563b6..5caa47aea 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "libgit2", - "version": "1.4.0", + "version": "1.4.3", "repo": "https://github.com/libgit2/libgit2", "description": " A cross-platform, linkable library implementation of Git that you can use in your application.", "install": "mkdir build && cd build && cmake .. && cmake --build ." |
