[FFe]Update to libgit2 1.3.2
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| libgit2 (Ubuntu) |
Fix Released
|
High
|
Simon Chopin | ||
Bug Description
1.3.1 and 1.3.2 are bugfix releases that basically catch up to git on some security behaviour. Here's the upstream changelog for those versions (note that the embedded zlib is removed when repacking):
v1.3.2
------
🔒 This is a security release with multiple changes.
* This provides compatibility with git's changes to address CVE 2022-29187. As a follow up to [CVE 2022-24765](https:/
* A fix for compatibility with git's (new) behavior for CVE 2022-24765 allows users on POSIX systems to access a git repository that is owned by them when they are running in `sudo`.
* A fix for further compatibility with git's (existing) behavior for CVE 2022-24765 allows users on Windows to access a git repository that is owned by the Administrator when running with escalated privileges (using `runas Administrator`).
* The bundled zlib is updated to v1.2.12, as prior versions had memory corruption bugs. It is not known that there is a security vulnerability in libgit2 based on these bugs, but we are updating to be cautious.
All users of the v1.3 release line are recommended to upgrade.
v1.3.1
------
🔒 This is a security release to provide compatibility with git's changes to address [CVE 2022-24765](https:/
**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.3) by @ethomson in https:/
All users of the v1.3 release line are recommended to upgrade.
| tags: | added: patch |
| Changed in libgit2 (Ubuntu): | |
| status: | Triaged → Fix Committed |

Attached is the debdiff for this change.
See https:/ /launchpad. net/~schopin/ +archive/ ubuntu/ test-ppa/ +sourcepub/ 13981804/ +listing- archive- extra for successful build logs.