Advisory

USN-5871-1

Also known as: CVE-2023-22490, CVE-2023-23946

Summary

git vulnerabilities

Details

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)

Severity

Not rated by the source.

Dates

Published
2023-02-14 18:37 UTC
Modified
2026-06-25 13:31 UTC

Affected packages and fixes

git

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 1:2.17.1-1ubuntu0.16 (ecosystem)

Fixed versions

1:2.17.1-1ubuntu0.16

Fix

  • Fixed version 1:2.17.1-1ubuntu0.16
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

git

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 1:2.25.1-1ubuntu3.10 (ecosystem)

Fixed versions

1:2.25.1-1ubuntu3.10

Fix

  • Fixed version 1:2.25.1-1ubuntu3.10
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

git

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1:2.34.1-1ubuntu1.8 (ecosystem)

Fixed versions

1:2.34.1-1ubuntu1.8

Fix

  • Fixed version 1:2.34.1-1ubuntu1.8
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences