Cloud Foundry Logo
blog single gear
Security Advisory

USN-5871-1: Git vulnerabilities




Canonical Ubuntu

Versions Affected

  • Canonical Ubuntu 16.04
  • Canonical Ubuntu 18.04
  • Canonical Ubuntu 22.04


It was discovered that Git incorrectly handled certain repositories. An attacker could use this issue to make Git uses its local clone optimization even when using a non-local transport. (CVE-2023-22490) Joern Schneeweisz discovered that Git incorrectly handled certain commands. An attacker could possibly use this issue to overwrite a patch outside the working tree. (CVE-2023-23946) Update Instructions: Run `sudo pro fix USN-5871-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: git – 1:2.7.4-0ubuntu1.10+esm5 gitweb – 1:2.7.4-0ubuntu1.10+esm5 git-gui – 1:2.7.4-0ubuntu1.10+esm5 git-daemon-sysvinit – 1:2.7.4-0ubuntu1.10+esm5 git-arch – 1:2.7.4-0ubuntu1.10+esm5 git-el – 1:2.7.4-0ubuntu1.10+esm5 gitk – 1:2.7.4-0ubuntu1.10+esm5 git-all – 1:2.7.4-0ubuntu1.10+esm5 git-mediawiki – 1:2.7.4-0ubuntu1.10+esm5 git-daemon-run – 1:2.7.4-0ubuntu1.10+esm5 git-man – 1:2.7.4-0ubuntu1.10+esm5 git-doc – 1:2.7.4-0ubuntu1.10+esm5 git-svn – 1:2.7.4-0ubuntu1.10+esm5 git-cvs – 1:2.7.4-0ubuntu1.10+esm5 git-core – 1:2.7.4-0ubuntu1.10+esm5 git-email – 1:2.7.4-0ubuntu1.10+esm5 Available with Ubuntu Pro (Infra-only):

CVEs contained in this USN include: CVE-2023-22490, CVE-2023-23946.

Affected Cloud Foundry Products and Versions

Severity is medium unless otherwise noted.

  • cflinuxfs3
    • All versions prior to 0.352.0
  • cflinuxfs4
    • All versions prior to 0.63.0
  • CF Deployment
    • All versions prior to 26.5.0


Users of affected products are strongly encouraged to follow the mitigations below. The Cloud Foundry project recommends upgrading the following releases:

  • cflinuxfs3
    • Upgrade all versions to 0.352.0 or greater
  • cflinuxfs4
    • Upgrade all versions to 0.63.0 or greater
  • CF Deployment
    • Upgrade all versions to 26.5.0 or greater



2023-02-24: Initial vulnerability report published.

Cloud Foundry Foundation Security Team Profile Image

Cloud Foundry Foundation Security Team, AUTHOR