Security
Headlines
HeadlinesLatestCVEs

Headline

RHSA-2023:2859: Red Hat Security Advisory: git security and bug fix update

An update for git is now available for Red Hat Enterprise Linux 8. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.

Related CVEs:

  • CVE-2022-24765: A vulnerability was found in Git. This flaw occurs due to Git not checking the ownership of directories in a local multi-user system when running commands specified in the local repository configuration. This allows the owner of the repository to cause arbitrary commands to be executed by other users who access the repository.
  • CVE-2022-29187: A vulnerability was found in Git. This flaw occurs due to Git not checking the ownership of directories in a local multi-user system when running commands specified in the local repository configuration. This issue allows the owner of the repository to cause arbitrary commands to be executed by other users who access the repository.
  • CVE-2022-39253: Git is an open source, scalable, distributed revision control system. Versions prior to 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4 are subject to exposure of sensitive information to a malicious actor. When performing a local clone (where the source and target of the clone are on the same volume), Git copies the contents of the source’s $GIT_DIR/objects directory into the destination by either creating hardlinks to the source contents, or copying them (if hardlinks are disabled via --no-hardlinks). A malicious actor could convince a victim to clone a repository with a symbolic link pointing at sensitive information on the victim’s machine. This can be done either by having the victim clone a malicious repository on the same machine, or having them clone a malicious repository embedded as a bare repository via a submodule from any source, provided they clone with the --recurse-submodules option. Git does not create symbolic links in the $GIT_DIR/objects directory. The problem has been patched in the versions published on 2022-10-18, and backported to v2.30.x. Potential workarounds: Avoid cloning untrusted repositories using the --local optimization when on a shared machine, either by passing the --no-local option to git clone or cloning from a URL that uses the file:// scheme. Alternatively, avoid cloning repositories from untrusted sources with --recurse-submodules or run git config --global protocol.file.allow user.
  • CVE-2022-39260: Git is an open source, scalable, distributed revision control system. git shell is a restricted login shell that can be used to implement Git’s push/pull functionality via SSH. In versions prior to 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4, the function that splits the command arguments into an array improperly uses an int to represent the number of entries in the array, allowing a malicious actor to intentionally overflow the return value, leading to arbitrary heap writes. Because the resulting array is then passed to execv(), it is possible to leverage this attack to gain remote code execution on a victim machine. Note that a victim must first allow access to git shell as a login shell in order to be vulnerable to this attack. This problem is patched in versions 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4 and users are advised to upgrade to the latest version. Disabling git shell access via remote logins is a viable short-term workaround.
Red Hat Security Data
#vulnerability#web#mac#linux#red_hat#git#rce#perl#ssh#ibm

Synopsis

Moderate: git security and bug fix update

Type/Severity

Security Advisory: Moderate

Red Hat Insights patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

An update for git is now available for Red Hat Enterprise Linux 8.

Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.

Description

Git is a distributed revision control system with a decentralized architecture. As opposed to centralized version control systems with a client-server model, Git ensures that each working copy of a Git repository is an exact copy with complete revision history. This not only allows the user to work on and contribute to projects without the need to have permission to push the changes to their official repositories, but also makes it possible for the user to work with no network connection.

Security Fix(es):

  • git: On multi-user machines Git users might find themselves unexpectedly in a Git worktree (CVE-2022-24765)
  • git: Bypass of safe.directory protections (CVE-2022-29187)
  • git: exposure of sensitive information to a malicious actor (CVE-2022-39253)
  • git: git shell function that splits command arguments can lead to arbitrary heap writes. (CVE-2022-39260)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.8 Release Notes linked from the References section.

Affected Products

  • Red Hat Enterprise Linux for x86_64 8 x86_64
  • Red Hat Enterprise Linux for IBM z Systems 8 s390x
  • Red Hat Enterprise Linux for Power, little endian 8 ppc64le
  • Red Hat Enterprise Linux for ARM 64 8 aarch64

Fixes

  • BZ - 2073414 - CVE-2022-24765 git: On multi-user machines Git users might find themselves unexpectedly in a Git worktree
  • BZ - 2107439 - CVE-2022-29187 git: Bypass of safe.directory protections
  • BZ - 2137422 - CVE-2022-39253 git: exposure of sensitive information to a malicious actor
  • BZ - 2137423 - CVE-2022-39260 git: git shell function that splits command arguments can lead to arbitrary heap writes.
  • BZ - 2139378 - Rebase git to 2.39 version [rhel-8.8]

CVEs

  • CVE-2022-24765
  • CVE-2022-29187
  • CVE-2022-39253
  • CVE-2022-39260

References

  • https://access.redhat.com/security/updates/classification/#moderate
  • https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.8_release_notes/index

Red Hat Enterprise Linux for x86_64 8

SRPM

git-2.39.1-1.el8.src.rpm

SHA-256: f8156e095d7bab0a442fbec9a7968c7fdcfde65171859e06e4091d8df12bf132

x86_64

git-2.39.1-1.el8.x86_64.rpm

SHA-256: 1b543cddadcb456d714e6f0deda9c68a9678482470af3d60d5d111da984e8973

git-all-2.39.1-1.el8.noarch.rpm

SHA-256: 4db82acac68f4757d5c19321abd6a073c380b3842a8b378ce68e854ff1412502

git-core-2.39.1-1.el8.x86_64.rpm

SHA-256: 3842518f29ca35ef88c0956545929a1f4e62ff164375199cfbb1de5449c30d31

git-core-debuginfo-2.39.1-1.el8.x86_64.rpm

SHA-256: fe078c9e243ba33669a4af8d04c20f6c66315c0da979d3e48abf1fa848b4b07b

git-core-doc-2.39.1-1.el8.noarch.rpm

SHA-256: 7a641fdf9330c9ab4ef6e89668831259dba3c3754c49bc16dbf8aa55d5d952b6

git-credential-libsecret-2.39.1-1.el8.x86_64.rpm

SHA-256: 08318caca727cdfb1c008c2399b5c45994a0afeb53feec602f333a61157529d8

git-credential-libsecret-debuginfo-2.39.1-1.el8.x86_64.rpm

SHA-256: 1cc9f178d41939233414177cf7a0985490843ef024c386a10f7f8b0e90b9a906

git-daemon-2.39.1-1.el8.x86_64.rpm

SHA-256: 0c298b2ffea27a1e0fce66cd7aaade9be97ab579c502baca15fbd51bb9c143bf

git-daemon-debuginfo-2.39.1-1.el8.x86_64.rpm

SHA-256: eaf2b780660cc0bdaed1d45f59c827c51e701e91dc05b797eb884615f13316e3

git-debuginfo-2.39.1-1.el8.x86_64.rpm

SHA-256: 3ccb479604d859785ebacadf9e48c3ffe1363984666604d9461547164a13d052

git-debugsource-2.39.1-1.el8.x86_64.rpm

SHA-256: d8559762e6d04e227c2cf6535933dd245637b2c930e38d4fdd32cf8b369b9d61

git-email-2.39.1-1.el8.noarch.rpm

SHA-256: 2abffccb44d014fa53e0a3ca4dd34ceb6ef9e13455c7fd5fdb900c96e4771fd4

git-gui-2.39.1-1.el8.noarch.rpm

SHA-256: bdedaacc0b16263637edd1007a7d12a0c7cc4d3c5a5a6ed43026a3b1037cb509

git-instaweb-2.39.1-1.el8.noarch.rpm

SHA-256: 1eed2cb01ba508326a6056431a59edb6fbd3da5f7d6e238e36a7b0a9267f74b3

git-subtree-2.39.1-1.el8.x86_64.rpm

SHA-256: 90c4d0e0c07166a65183a5843bcf5820304cc1a4382ff360a4b52555814ff8f6

git-svn-2.39.1-1.el8.noarch.rpm

SHA-256: 7e5bf52f124fe3a0f00f30b1b7ae71e869146ce866d6b9c70a42d54db77c2228

gitk-2.39.1-1.el8.noarch.rpm

SHA-256: e128e9d0d98311d8cb74dce804da954e8a955d449f4b71c745a9e58a13206c76

gitweb-2.39.1-1.el8.noarch.rpm

SHA-256: a3fa5275af86b32f8006dbcc67d0227573b8f741548dc8bb80395af0012c9219

perl-Git-2.39.1-1.el8.noarch.rpm

SHA-256: bed2506943ea4b5f937d08225ec4403273160ceac31797d7486f9dee2fbe81d4

perl-Git-SVN-2.39.1-1.el8.noarch.rpm

SHA-256: 63cacb27ce3c8ad91d2b6d031e95ea12a119efdb489207d77e36491ac6013820

Red Hat Enterprise Linux for IBM z Systems 8

SRPM

git-2.39.1-1.el8.src.rpm

SHA-256: f8156e095d7bab0a442fbec9a7968c7fdcfde65171859e06e4091d8df12bf132

s390x

git-2.39.1-1.el8.s390x.rpm

SHA-256: 7a832585ae701cc20942ea1c7b86ec77e92eacd7648580ba49f266a9307f14b3

git-all-2.39.1-1.el8.noarch.rpm

SHA-256: 4db82acac68f4757d5c19321abd6a073c380b3842a8b378ce68e854ff1412502

git-core-2.39.1-1.el8.s390x.rpm

SHA-256: 00e410e436b2d0197eab2c5bb913341d33e13d9f52bee50ffb5c293f511633ad

git-core-debuginfo-2.39.1-1.el8.s390x.rpm

SHA-256: 27409627f456e5766cd595f49dd4f403230c4160094942e7958175c81523c7a3

git-core-doc-2.39.1-1.el8.noarch.rpm

SHA-256: 7a641fdf9330c9ab4ef6e89668831259dba3c3754c49bc16dbf8aa55d5d952b6

git-credential-libsecret-2.39.1-1.el8.s390x.rpm

SHA-256: 5bdc7b35a2118febdae8d0ce9e93189685cc2159bcf82dd3c40e0f1734bb0a3d

git-credential-libsecret-debuginfo-2.39.1-1.el8.s390x.rpm

SHA-256: ceaa7c74b8b7ee23cb3987feb29e3c3a4587ea6b4cfdfa3f965148adcefe84ca

git-daemon-2.39.1-1.el8.s390x.rpm

SHA-256: 678ab708ec10b723b1e504e24f6fdeae72ef9f829a70a36d6114e2b286226f46

git-daemon-debuginfo-2.39.1-1.el8.s390x.rpm

SHA-256: a21848814f448b474591f8cfa915a501064910dbf1979e1db21e872cfedf0b21

git-debuginfo-2.39.1-1.el8.s390x.rpm

SHA-256: f193c7129a9d8ee30571867d195943c093013d54899497b2d4326b617cbeada5

git-debugsource-2.39.1-1.el8.s390x.rpm

SHA-256: 6334ad7b47eabca776e4457ceaa1344c98e7a98d2e8e611d4dd1020e6ff7c173

git-email-2.39.1-1.el8.noarch.rpm

SHA-256: 2abffccb44d014fa53e0a3ca4dd34ceb6ef9e13455c7fd5fdb900c96e4771fd4

git-gui-2.39.1-1.el8.noarch.rpm

SHA-256: bdedaacc0b16263637edd1007a7d12a0c7cc4d3c5a5a6ed43026a3b1037cb509

git-instaweb-2.39.1-1.el8.noarch.rpm

SHA-256: 1eed2cb01ba508326a6056431a59edb6fbd3da5f7d6e238e36a7b0a9267f74b3

git-subtree-2.39.1-1.el8.s390x.rpm

SHA-256: 25a18e57500a626d394b285295b49fbbd3883db649ebcae400835b4c02a935cd

git-svn-2.39.1-1.el8.noarch.rpm

SHA-256: 7e5bf52f124fe3a0f00f30b1b7ae71e869146ce866d6b9c70a42d54db77c2228

gitk-2.39.1-1.el8.noarch.rpm

SHA-256: e128e9d0d98311d8cb74dce804da954e8a955d449f4b71c745a9e58a13206c76

gitweb-2.39.1-1.el8.noarch.rpm

SHA-256: a3fa5275af86b32f8006dbcc67d0227573b8f741548dc8bb80395af0012c9219

perl-Git-2.39.1-1.el8.noarch.rpm

SHA-256: bed2506943ea4b5f937d08225ec4403273160ceac31797d7486f9dee2fbe81d4

perl-Git-SVN-2.39.1-1.el8.noarch.rpm

SHA-256: 63cacb27ce3c8ad91d2b6d031e95ea12a119efdb489207d77e36491ac6013820

Red Hat Enterprise Linux for Power, little endian 8

SRPM

git-2.39.1-1.el8.src.rpm

SHA-256: f8156e095d7bab0a442fbec9a7968c7fdcfde65171859e06e4091d8df12bf132

ppc64le

git-2.39.1-1.el8.ppc64le.rpm

SHA-256: 7fc9e657a8f656876e034d93731fe9d9f2def8a3d14f54dd7e77ffd0b044c57a

git-all-2.39.1-1.el8.noarch.rpm

SHA-256: 4db82acac68f4757d5c19321abd6a073c380b3842a8b378ce68e854ff1412502

git-core-2.39.1-1.el8.ppc64le.rpm

SHA-256: 0c0eaf4739b32fa7eb33311f948f585e4827f17421d78b28c43454e105be6cfb

git-core-debuginfo-2.39.1-1.el8.ppc64le.rpm

SHA-256: 4e6205ee23308cd3b258200e1350a6291da9f2d97f9daf5aa71fe05403094665

git-core-doc-2.39.1-1.el8.noarch.rpm

SHA-256: 7a641fdf9330c9ab4ef6e89668831259dba3c3754c49bc16dbf8aa55d5d952b6

git-credential-libsecret-2.39.1-1.el8.ppc64le.rpm

SHA-256: 12ebc14d91a81e0085cd4ad598df8b03e927377c973e426de59fdf6d08e18e80

git-credential-libsecret-debuginfo-2.39.1-1.el8.ppc64le.rpm

SHA-256: 8f3eae075eb0893c58309cf320ad1307e289a878f00bad3648f41834fe990f1c

git-daemon-2.39.1-1.el8.ppc64le.rpm

SHA-256: 35207e0d80be9b15169d3f8193aa432daa8d35fe0f485145a3620a7499e66dd0

git-daemon-debuginfo-2.39.1-1.el8.ppc64le.rpm

SHA-256: 9a60c9c948c454930f5d5b638bfd243df40f1893323e7634ca761e79e4347979

git-debuginfo-2.39.1-1.el8.ppc64le.rpm

SHA-256: ddc1a16c08627de57e92223f721b8731e5aff34f46f573680e4dd40931e41ac5

git-debugsource-2.39.1-1.el8.ppc64le.rpm

SHA-256: 72cf5c27e5f4519b6ac6b8377f27fd35624ee67d812417a0a22e332bea903ce9

git-email-2.39.1-1.el8.noarch.rpm

SHA-256: 2abffccb44d014fa53e0a3ca4dd34ceb6ef9e13455c7fd5fdb900c96e4771fd4

git-gui-2.39.1-1.el8.noarch.rpm

SHA-256: bdedaacc0b16263637edd1007a7d12a0c7cc4d3c5a5a6ed43026a3b1037cb509

git-instaweb-2.39.1-1.el8.noarch.rpm

SHA-256: 1eed2cb01ba508326a6056431a59edb6fbd3da5f7d6e238e36a7b0a9267f74b3

git-subtree-2.39.1-1.el8.ppc64le.rpm

SHA-256: 1b8b4acdf9c8059bbba233369cc38eed4dbb2df4f67cda4186b91a2c3882ca23

git-svn-2.39.1-1.el8.noarch.rpm

SHA-256: 7e5bf52f124fe3a0f00f30b1b7ae71e869146ce866d6b9c70a42d54db77c2228

gitk-2.39.1-1.el8.noarch.rpm

SHA-256: e128e9d0d98311d8cb74dce804da954e8a955d449f4b71c745a9e58a13206c76

gitweb-2.39.1-1.el8.noarch.rpm

SHA-256: a3fa5275af86b32f8006dbcc67d0227573b8f741548dc8bb80395af0012c9219

perl-Git-2.39.1-1.el8.noarch.rpm

SHA-256: bed2506943ea4b5f937d08225ec4403273160ceac31797d7486f9dee2fbe81d4

perl-Git-SVN-2.39.1-1.el8.noarch.rpm

SHA-256: 63cacb27ce3c8ad91d2b6d031e95ea12a119efdb489207d77e36491ac6013820

Red Hat Enterprise Linux for ARM 64 8

SRPM

git-2.39.1-1.el8.src.rpm

SHA-256: f8156e095d7bab0a442fbec9a7968c7fdcfde65171859e06e4091d8df12bf132

aarch64

git-2.39.1-1.el8.aarch64.rpm

SHA-256: 68bcad55738736e1b49c2df091e46c90462a892ee6bed03a032f5ecdb23ecb85

git-all-2.39.1-1.el8.noarch.rpm

SHA-256: 4db82acac68f4757d5c19321abd6a073c380b3842a8b378ce68e854ff1412502

git-core-2.39.1-1.el8.aarch64.rpm

SHA-256: f39ecaa13bc2890b8d5509dd3fad869f5a20b1bfb1b284519cf049331dc8e564

git-core-debuginfo-2.39.1-1.el8.aarch64.rpm

SHA-256: b16a6b21cd91816cc3eabde483dddeff775a91fa5bd24677b885215a1eb7a278

git-core-doc-2.39.1-1.el8.noarch.rpm

SHA-256: 7a641fdf9330c9ab4ef6e89668831259dba3c3754c49bc16dbf8aa55d5d952b6

git-credential-libsecret-2.39.1-1.el8.aarch64.rpm

SHA-256: 1c46acf7b2450c209d2cbaee917fddd4835c71506c2b71dc27876b59ca97e377

git-credential-libsecret-debuginfo-2.39.1-1.el8.aarch64.rpm

SHA-256: 2dd1b8802a2d2b3e38fdad254b6dd383b63ac810430f6791a5e9542ca6549866

git-daemon-2.39.1-1.el8.aarch64.rpm

SHA-256: 9306f20d42d5008d9ec949de95ec3464958f4d0a98803b2cc471d937be2aea95

git-daemon-debuginfo-2.39.1-1.el8.aarch64.rpm

SHA-256: b771101a39ebb806f76dfd628e580930757946e135ea3d5afc25588618e7a0cf

git-debuginfo-2.39.1-1.el8.aarch64.rpm

SHA-256: c814babc2386a52430330da48171c4f06760da7892349aa242ec49670fc62f38

git-debugsource-2.39.1-1.el8.aarch64.rpm

SHA-256: fca36ee718d3a7dc523b8549a4881cc94fc91b704d0588fd122563ec2a0ebc9e

git-email-2.39.1-1.el8.noarch.rpm

SHA-256: 2abffccb44d014fa53e0a3ca4dd34ceb6ef9e13455c7fd5fdb900c96e4771fd4

git-gui-2.39.1-1.el8.noarch.rpm

SHA-256: bdedaacc0b16263637edd1007a7d12a0c7cc4d3c5a5a6ed43026a3b1037cb509

git-instaweb-2.39.1-1.el8.noarch.rpm

SHA-256: 1eed2cb01ba508326a6056431a59edb6fbd3da5f7d6e238e36a7b0a9267f74b3

git-subtree-2.39.1-1.el8.aarch64.rpm

SHA-256: 0a111ef841c835ce6fab88e50d227914b0a64ec98398cf60387046e2345a661b

git-svn-2.39.1-1.el8.noarch.rpm

SHA-256: 7e5bf52f124fe3a0f00f30b1b7ae71e869146ce866d6b9c70a42d54db77c2228

gitk-2.39.1-1.el8.noarch.rpm

SHA-256: e128e9d0d98311d8cb74dce804da954e8a955d449f4b71c745a9e58a13206c76

gitweb-2.39.1-1.el8.noarch.rpm

SHA-256: a3fa5275af86b32f8006dbcc67d0227573b8f741548dc8bb80395af0012c9219

perl-Git-2.39.1-1.el8.noarch.rpm

SHA-256: bed2506943ea4b5f937d08225ec4403273160ceac31797d7486f9dee2fbe81d4

perl-Git-SVN-2.39.1-1.el8.noarch.rpm

SHA-256: 63cacb27ce3c8ad91d2b6d031e95ea12a119efdb489207d77e36491ac6013820

Related news

Gentoo Linux Security Advisory 202401-17

Gentoo Linux Security Advisory 202401-17 - A vulnerability has been found in libgit2 which could result in privilege escalation. Versions greater than or equal to 1.4.4 are affected.

Gentoo Linux Security Advisory 202312-15

Gentoo Linux Security Advisory 202312-15 - Several vulnerabilities have been found in Git, the worst of which could lead to remote code execution. Versions greater than or equal to 2.39.3 are affected.

CVE-2023-43074: DSA-2023-141: Dell Unity, Unity VSA and Unity XT Security Update for Multiple Vulnerability

Dell Unity 5.3 contain(s) an Arbitrary File Creation vulnerability. A remote unauthenticated attacker could potentially exploit this vulnerability by crafting arbitrary files through a request to the server.

CVE-2023-28864: Chef Infra Server Release Notes

Progress Chef Infra Server before 15.7 allows a local attacker to exploit a /var/opt/opscode/local-mode-cache/backup world-readable temporary backup path to access sensitive information, resulting in the disclosure of all indexed node data, because OpenSearch credentials are exposed. (The data typically includes credentials for additional systems.) The attacker must wait for an admin to run the "chef-server-ctl reconfigure" command.

RHSA-2023:2319: Red Hat Security Advisory: git security and bug fix update

An update for git is now available for Red Hat Enterprise Linux 9. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original. Related CVEs: * CVE-2022-24765: A vulnerability was found in Git. This flaw occurs due to Git not checking the ownership of directories in a local multi-user system when running commands specified in the local repository configuration. This allows the owner of the repository to cause arbitrary commands to be executed by other users who access the repository. * CVE-2022-29187: A vu...

RHSA-2023:2319: Red Hat Security Advisory: git security and bug fix update

An update for git is now available for Red Hat Enterprise Linux 9. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original. Related CVEs: * CVE-2022-24765: A vulnerability was found in Git. This flaw occurs due to Git not checking the ownership of directories in a local multi-user system when running commands specified in the local repository configuration. This allows the owner of the repository to cause arbitrary commands to be executed by other users who access the repository. * CVE-2022-29187: A vu...

RHSA-2023:2319: Red Hat Security Advisory: git security and bug fix update

An update for git is now available for Red Hat Enterprise Linux 9. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original. Related CVEs: * CVE-2022-24765: A vulnerability was found in Git. This flaw occurs due to Git not checking the ownership of directories in a local multi-user system when running commands specified in the local repository configuration. This allows the owner of the repository to cause arbitrary commands to be executed by other users who access the repository. * CVE-2022-29187: A vu...

RHSA-2023:2319: Red Hat Security Advisory: git security and bug fix update

An update for git is now available for Red Hat Enterprise Linux 9. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original. Related CVEs: * CVE-2022-24765: A vulnerability was found in Git. This flaw occurs due to Git not checking the ownership of directories in a local multi-user system when running commands specified in the local repository configuration. This allows the owner of the repository to cause arbitrary commands to be executed by other users who access the repository. * CVE-2022-29187: A vu...

Ubuntu Security Notice USN-5686-4

Ubuntu Security Notice 5686-4 - USN-5686-1 fixed several vulnerabilities in Git. This update provides the corresponding fix for CVE-2022-39253 on Ubuntu 16.04 ESM. Cory Snider discovered that Git incorrectly handled certain symbolic links. An attacker could possibly use this issue to cause an unexpected behaviour.

CVE-2023-22490: GitHub: CVE-2023-22490 mingit Information Disclosure Vulnerability

**What type of information could be disclosed by this vulnerability?** This vulnerability could disclose sensitive information on the victim's file system as well as achieve data exfiltration.

CVE-2023-0628: Docker Desktop release notes

Docker Desktop before 4.17.0 allows an attacker to execute an arbitrary command inside a Dev Environments container during initialization by tricking an user to open a crafted malicious docker-desktop:// URL.

CVE-2022-42797: About the security content of Xcode 14.1

An injection issue was addressed with improved input validation. This issue is fixed in Xcode 14.1. An app may be able to gain root privileges.

CVE-2022-42797: About the security content of Xcode 14.1

An injection issue was addressed with improved input validation. This issue is fixed in Xcode 14.1. An app may be able to gain root privileges.

CVE-2022-42797: About the security content of Xcode 14.1

An injection issue was addressed with improved input validation. This issue is fixed in Xcode 14.1. An app may be able to gain root privileges.

Debian Security Advisory 5332-1

Debian Linux Security Advisory 5332-1 - Multiple issues were found in Git, a distributed revision control system. An attacker may trigger remote code execution, cause local users into executing arbitrary commands, leak information from the local filesystem, and bypass restricted shell.

Debian Security Advisory 5332-1

Debian Linux Security Advisory 5332-1 - Multiple issues were found in Git, a distributed revision control system. An attacker may trigger remote code execution, cause local users into executing arbitrary commands, leak information from the local filesystem, and bypass restricted shell.

Debian Security Advisory 5332-1

Debian Linux Security Advisory 5332-1 - Multiple issues were found in Git, a distributed revision control system. An attacker may trigger remote code execution, cause local users into executing arbitrary commands, leak information from the local filesystem, and bypass restricted shell.

Debian Security Advisory 5332-1

Debian Linux Security Advisory 5332-1 - Multiple issues were found in Git, a distributed revision control system. An attacker may trigger remote code execution, cause local users into executing arbitrary commands, leak information from the local filesystem, and bypass restricted shell.

Ubuntu Security Notice USN-5686-3

Ubuntu Security Notice 5686-3 - USN-5686-1 fixed vulnerabilities in Git. This update provides the corresponding updates for Ubuntu 22.10. Cory Snider discovered that Git incorrectly handled certain symbolic links. An attacker could possibly use this issue to cause an unexpected behaviour.

Ubuntu Security Notice USN-5686-3

Ubuntu Security Notice 5686-3 - USN-5686-1 fixed vulnerabilities in Git. This update provides the corresponding updates for Ubuntu 22.10. Cory Snider discovered that Git incorrectly handled certain symbolic links. An attacker could possibly use this issue to cause an unexpected behaviour.

Ubuntu Security Notice USN-5686-2

Ubuntu Security Notice 5686-2 - USN-5686-1 fixed several vulnerabilities in Git. This update provides the corresponding fix for CVE-2022-39260 on Ubuntu 16.04 ESM. Kevin Backhouse discovered that Git incorrectly handled certain command strings. An attacker could possibly use this issue to cause a crash or arbitrary code execution.

CVE-2022-39260: Heap overflow in `git shell` leading to RCE

Git is an open source, scalable, distributed revision control system. `git shell` is a restricted login shell that can be used to implement Git's push/pull functionality via SSH. In versions prior to 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4, the function that splits the command arguments into an array improperly uses an `int` to represent the number of entries in the array, allowing a malicious actor to intentionally overflow the return value, leading to arbitrary heap writes. Because the resulting array is then passed to `execv()`, it is possible to leverage this attack to gain remote code execution on a victim machine. Note that a victim must first allow access to `git shell` as a login shell in order to be vulnerable to this attack. This problem is patched in versions 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4 and users are advised to upgrade to the latest version. Disabling `git shell` access via remote logins is a viable short-term...

CVE-2022-39253: Local clone optimization dereferences symbolic links by default

Git is an open source, scalable, distributed revision control system. Versions prior to 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4 are subject to exposure of sensitive information to a malicious actor. When performing a local clone (where the source and target of the clone are on the same volume), Git copies the contents of the source's `$GIT_DIR/objects` directory into the destination by either creating hardlinks to the source contents, or copying them (if hardlinks are disabled via `--no-hardlinks`). A malicious actor could convince a victim to clone a repository with a symbolic link pointing at sensitive information on the victim's machine. This can be done either by having the victim clone a malicious repository on the same machine, or having them clone a malicious repository embedded as a bare repository via a submodule from any source, provided they clone with the `--recurse-submodules` option. Git does not create symbolic links in the `$GIT_DIR/objects` d...

Ubuntu Security Notice USN-5686-1

Ubuntu Security Notice 5686-1 - Cory Snider discovered that Git incorrectly handled certain symbolic links. An attacker could possibly use this issue to cause an unexpected behaviour. Kevin Backhouse discovered that Git incorrectly handled certain command strings. An attacker could possibly use this issue to arbitrary code execution.

Ubuntu Security Notice USN-5686-1

Ubuntu Security Notice 5686-1 - Cory Snider discovered that Git incorrectly handled certain symbolic links. An attacker could possibly use this issue to cause an unexpected behaviour. Kevin Backhouse discovered that Git incorrectly handled certain command strings. An attacker could possibly use this issue to arbitrary code execution.

Ubuntu Security Notice USN-5511-1

Ubuntu Security Notice 5511-1 - Carlo Marcelo Arenas Belon discovered that an issue related to CVE-2022-24765 still affected Git. An attacker could possibly use this issue to run arbitrary commands as administrator.

Ubuntu Security Notice USN-5511-1

Ubuntu Security Notice 5511-1 - Carlo Marcelo Arenas Belon discovered that an issue related to CVE-2022-24765 still affected Git. An attacker could possibly use this issue to run arbitrary commands as administrator.

CVE-2022-31012: Release Git for Windows 2.37.1 · git-for-windows/git

Git for Windows is a fork of Git that contains Windows-specific patches. This vulnerability in versions prior to 2.37.1 lets Git for Windows' installer execute a binary into `C:\mingw64\bin\git.exe` by mistake. This only happens upon a fresh install, not when upgrading Git for Windows. A patch is included in version 2.37.1. Two workarounds are available. Create the `C:\mingw64` folder and remove read/write access from this folder, or disallow arbitrary authenticated users to create folders in `C:\`.

CVE-2022-29187: Git security vulnerability announced | The GitHub Blog

Git is a distributed revision control system. Git prior to versions 2.37.1, 2.36.2, 2.35.4, 2.34.4, 2.33.4, 2.32.3, 2.31.4, and 2.30.5, is vulnerable to privilege escalation in all platforms. An unsuspecting user could still be affected by the issue reported in CVE-2022-24765, for example when navigating as root into a shared tmp directory that is owned by them, but where an attacker could create a git repository. Versions 2.37.1, 2.36.2, 2.35.4, 2.34.4, 2.33.4, 2.32.3, 2.31.4, and 2.30.5 contain a patch for this issue. The simplest way to avoid being affected by the exploit described in the example is to avoid running git as root (or an Administrator in Windows), and if needed to reduce its use to a minimum. While a generic workaround is not possible, a system could be hardened from the exploit described in the example by removing any such repository if it exists already and creating one as root to block any future attacks.

CVE-2022-29187: Git security vulnerability announced | The GitHub Blog

Git is a distributed revision control system. Git prior to versions 2.37.1, 2.36.2, 2.35.4, 2.34.4, 2.33.4, 2.32.3, 2.31.4, and 2.30.5, is vulnerable to privilege escalation in all platforms. An unsuspecting user could still be affected by the issue reported in CVE-2022-24765, for example when navigating as root into a shared tmp directory that is owned by them, but where an attacker could create a git repository. Versions 2.37.1, 2.36.2, 2.35.4, 2.34.4, 2.33.4, 2.32.3, 2.31.4, and 2.30.5 contain a patch for this issue. The simplest way to avoid being affected by the exploit described in the example is to avoid running git as root (or an Administrator in Windows), and if needed to reduce its use to a minimum. While a generic workaround is not possible, a system could be hardened from the exploit described in the example by removing any such repository if it exists already and creating one as root to block any future attacks.

CVE-2022-26747: About the security content of Xcode 13.4

This issue was addressed with improved checks. This issue is fixed in Xcode 13.4. An app may be able to gain elevated privileges.

Apple Security Advisory 2022-05-16-8

Apple Security Advisory 2022-05-16-8 - Xcode 13.4 addresses a logic issue and a privilege escalation issue.

CVE-2022-24765

Git for Windows is a fork of Git containing Windows-specific patches. This vulnerability affects users working on multi-user machines, where untrusted parties have write access to the same hard disk. Those untrusted parties could create the folder `C:\.git`, which would be picked up by Git operations run supposedly outside a repository while searching for a Git directory. Git would then respect any config in said Git directory. Git Bash users who set `GIT_PS1_SHOWDIRTYSTATE` are vulnerable as well. Users who installed posh-gitare vulnerable simply by starting a PowerShell. Users of IDEs such as Visual Studio are vulnerable: simply creating a new project would already read and respect the config specified in `C:\.git\config`. Users of the Microsoft fork of Git are vulnerable simply by starting a Git Bash. The problem has been patched in Git for Windows v2.35.2. Users unable to upgrade may create the folder `.git` on all drives where Git commands are run, and remove read/write access fro...

CVE-2021-21285: Docker Engine release notes

In Docker before versions 9.03.15, 20.10.3 there is a vulnerability in which pulling an intentionally malformed Docker image manifest crashes the dockerd daemon. Versions 20.10.3 and 19.03.15 contain patches that prevent the daemon from crashing.