USN-6793-1

Source
https://ubuntu.com/security/notices/USN-6793-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6793-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-6793-1
Related
Published
2024-05-28T13:39:27.536163Z
Modified
2024-05-28T13:39:27.536163Z
Summary
git vulnerabilities
Details

It was discovered that Git incorrectly handled certain submodules. An attacker could possibly use this issue to execute arbitrary code. This issue was fixed in Ubuntu 22.04 LTS, Ubuntu 23.10 and Ubuntu 24.04 LTS. (CVE-2024-32002)

It was discovered that Git incorrectly handled certain cloned repositories. An attacker could possibly use this issue to execute arbitrary code. (CVE-2024-32004)

It was discovered that Git incorrectly handled local clones with hardlinked files/directories. An attacker could possibly use this issue to place a specialized repository on their target's local system. (CVE-2024-32020)

It was discovered that Git incorrectly handled certain symlinks. An attacker could possibly use this issue to impact availability and integrity creating hardlinked arbitrary files into users repository's objects/directory. (CVE-2024-32021)

It was discovered that Git incorrectly handled certain cloned repositories. An attacker could possibly use this issue to execute arbitrary code. (CVE-2024-32465)

References

Affected packages

Ubuntu:20.04:LTS / git

Package

Name
git
Purl
pkg:deb/ubuntu/git?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:2.25.1-1ubuntu3.12

Affected versions

1:2.*

1:2.20.1-2ubuntu1
1:2.24.0-1ubuntu1
1:2.24.0-1ubuntu2
1:2.25.0-1ubuntu1
1:2.25.1-1ubuntu1
1:2.25.1-1ubuntu2
1:2.25.1-1ubuntu3
1:2.25.1-1ubuntu3.1
1:2.25.1-1ubuntu3.2
1:2.25.1-1ubuntu3.3
1:2.25.1-1ubuntu3.4
1:2.25.1-1ubuntu3.5
1:2.25.1-1ubuntu3.6
1:2.25.1-1ubuntu3.7
1:2.25.1-1ubuntu3.8
1:2.25.1-1ubuntu3.10
1:2.25.1-1ubuntu3.11

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1:2.25.1-1ubuntu3.12",
            "binary_name": "git"
        },
        {
            "binary_version": "1:2.25.1-1ubuntu3.12",
            "binary_name": "git-all"
        },
        {
            "binary_version": "1:2.25.1-1ubuntu3.12",
            "binary_name": "git-cvs"
        },
        {
            "binary_version": "1:2.25.1-1ubuntu3.12",
            "binary_name": "git-daemon-run"
        },
        {
            "binary_version": "1:2.25.1-1ubuntu3.12",
            "binary_name": "git-daemon-sysvinit"
        },
        {
            "binary_version": "1:2.25.1-1ubuntu3.12",
            "binary_name": "git-dbgsym"
        },
        {
            "binary_version": "1:2.25.1-1ubuntu3.12",
            "binary_name": "git-doc"
        },
        {
            "binary_version": "1:2.25.1-1ubuntu3.12",
            "binary_name": "git-el"
        },
        {
            "binary_version": "1:2.25.1-1ubuntu3.12",
            "binary_name": "git-email"
        },
        {
            "binary_version": "1:2.25.1-1ubuntu3.12",
            "binary_name": "git-gui"
        },
        {
            "binary_version": "1:2.25.1-1ubuntu3.12",
            "binary_name": "git-man"
        },
        {
            "binary_version": "1:2.25.1-1ubuntu3.12",
            "binary_name": "git-mediawiki"
        },
        {
            "binary_version": "1:2.25.1-1ubuntu3.12",
            "binary_name": "git-svn"
        },
        {
            "binary_version": "1:2.25.1-1ubuntu3.12",
            "binary_name": "gitk"
        },
        {
            "binary_version": "1:2.25.1-1ubuntu3.12",
            "binary_name": "gitweb"
        }
    ]
}

Ubuntu:22.04:LTS / git

Package

Name
git
Purl
pkg:deb/ubuntu/git?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:2.34.1-1ubuntu1.11

Affected versions

1:2.*

1:2.32.0-1ubuntu1
1:2.33.1-1ubuntu1
1:2.34.1-1ubuntu1
1:2.34.1-1ubuntu1.1
1:2.34.1-1ubuntu1.2
1:2.34.1-1ubuntu1.4
1:2.34.1-1ubuntu1.5
1:2.34.1-1ubuntu1.6
1:2.34.1-1ubuntu1.8
1:2.34.1-1ubuntu1.9
1:2.34.1-1ubuntu1.10

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1:2.34.1-1ubuntu1.11",
            "binary_name": "git"
        },
        {
            "binary_version": "1:2.34.1-1ubuntu1.11",
            "binary_name": "git-all"
        },
        {
            "binary_version": "1:2.34.1-1ubuntu1.11",
            "binary_name": "git-cvs"
        },
        {
            "binary_version": "1:2.34.1-1ubuntu1.11",
            "binary_name": "git-daemon-run"
        },
        {
            "binary_version": "1:2.34.1-1ubuntu1.11",
            "binary_name": "git-daemon-sysvinit"
        },
        {
            "binary_version": "1:2.34.1-1ubuntu1.11",
            "binary_name": "git-dbgsym"
        },
        {
            "binary_version": "1:2.34.1-1ubuntu1.11",
            "binary_name": "git-doc"
        },
        {
            "binary_version": "1:2.34.1-1ubuntu1.11",
            "binary_name": "git-email"
        },
        {
            "binary_version": "1:2.34.1-1ubuntu1.11",
            "binary_name": "git-gui"
        },
        {
            "binary_version": "1:2.34.1-1ubuntu1.11",
            "binary_name": "git-man"
        },
        {
            "binary_version": "1:2.34.1-1ubuntu1.11",
            "binary_name": "git-mediawiki"
        },
        {
            "binary_version": "1:2.34.1-1ubuntu1.11",
            "binary_name": "git-svn"
        },
        {
            "binary_version": "1:2.34.1-1ubuntu1.11",
            "binary_name": "gitk"
        },
        {
            "binary_version": "1:2.34.1-1ubuntu1.11",
            "binary_name": "gitweb"
        }
    ]
}

Ubuntu:23.10 / git

Package

Name
git
Purl
pkg:deb/ubuntu/git?arch=src?distro=mantic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:2.40.1-1ubuntu1.1

Affected versions

1:2.*

1:2.39.2-1ubuntu1
1:2.39.2-1ubuntu1.1
1:2.40.1-1ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1:2.40.1-1ubuntu1.1",
            "binary_name": "git"
        },
        {
            "binary_version": "1:2.40.1-1ubuntu1.1",
            "binary_name": "git-all"
        },
        {
            "binary_version": "1:2.40.1-1ubuntu1.1",
            "binary_name": "git-cvs"
        },
        {
            "binary_version": "1:2.40.1-1ubuntu1.1",
            "binary_name": "git-daemon-run"
        },
        {
            "binary_version": "1:2.40.1-1ubuntu1.1",
            "binary_name": "git-daemon-sysvinit"
        },
        {
            "binary_version": "1:2.40.1-1ubuntu1.1",
            "binary_name": "git-dbgsym"
        },
        {
            "binary_version": "1:2.40.1-1ubuntu1.1",
            "binary_name": "git-doc"
        },
        {
            "binary_version": "1:2.40.1-1ubuntu1.1",
            "binary_name": "git-email"
        },
        {
            "binary_version": "1:2.40.1-1ubuntu1.1",
            "binary_name": "git-gui"
        },
        {
            "binary_version": "1:2.40.1-1ubuntu1.1",
            "binary_name": "git-man"
        },
        {
            "binary_version": "1:2.40.1-1ubuntu1.1",
            "binary_name": "git-mediawiki"
        },
        {
            "binary_version": "1:2.40.1-1ubuntu1.1",
            "binary_name": "git-svn"
        },
        {
            "binary_version": "1:2.40.1-1ubuntu1.1",
            "binary_name": "gitk"
        },
        {
            "binary_version": "1:2.40.1-1ubuntu1.1",
            "binary_name": "gitweb"
        }
    ]
}

Ubuntu:24.04:LTS / git

Package

Name
git
Purl
pkg:deb/ubuntu/git?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:2.43.0-1ubuntu7.1

Affected versions

1:2.*

1:2.40.1-1ubuntu1
1:2.43.0-1ubuntu1
1:2.43.0-1ubuntu5
1:2.43.0-1ubuntu6
1:2.43.0-1ubuntu7

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1:2.43.0-1ubuntu7.1",
            "binary_name": "git"
        },
        {
            "binary_version": "1:2.43.0-1ubuntu7.1",
            "binary_name": "git-all"
        },
        {
            "binary_version": "1:2.43.0-1ubuntu7.1",
            "binary_name": "git-cvs"
        },
        {
            "binary_version": "1:2.43.0-1ubuntu7.1",
            "binary_name": "git-daemon-run"
        },
        {
            "binary_version": "1:2.43.0-1ubuntu7.1",
            "binary_name": "git-daemon-sysvinit"
        },
        {
            "binary_version": "1:2.43.0-1ubuntu7.1",
            "binary_name": "git-dbgsym"
        },
        {
            "binary_version": "1:2.43.0-1ubuntu7.1",
            "binary_name": "git-doc"
        },
        {
            "binary_version": "1:2.43.0-1ubuntu7.1",
            "binary_name": "git-email"
        },
        {
            "binary_version": "1:2.43.0-1ubuntu7.1",
            "binary_name": "git-gui"
        },
        {
            "binary_version": "1:2.43.0-1ubuntu7.1",
            "binary_name": "git-man"
        },
        {
            "binary_version": "1:2.43.0-1ubuntu7.1",
            "binary_name": "git-mediawiki"
        },
        {
            "binary_version": "1:2.43.0-1ubuntu7.1",
            "binary_name": "git-svn"
        },
        {
            "binary_version": "1:2.43.0-1ubuntu7.1",
            "binary_name": "gitk"
        },
        {
            "binary_version": "1:2.43.0-1ubuntu7.1",
            "binary_name": "gitweb"
        }
    ]
}