총 12건
CVE-2026-111760
2026년 11월 17일Git은 비교적 풍부한 명령어 세트를 제공하는 빠르고 확장 가능하며 분산된 버전 관리 시스템으로, 높은 수준의 작업과 내부 기능에 대한 전체 접근을 동시에 제공합니다. 2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1, 2.55.1, 및 2.56.1 미만의 버전에서, 공격자 제어 저장소가 일반 관리 사이트가 아닌 공격자가 호스팅하는 저장소일 때, git clone --recurse-submodules를 이용하여 Git이 서브모듈 gitfile을 심볼릭 링크로 덮어쓰게 할 수 있습니다. 이 심볼릭 링크는 공격자가 제어하는 Git 구성이나 훅이 포함된 디렉터리를 가리킬 수 있으며, 그 훅이나 구성은 클로닝하는 사용자의 시스템에서 코드를 실행하게 할 수 있습니다. 이 문제는 재귀 서브모듈 옵션이 필요하며, 사용자는 신뢰되지 않는 소스의 저장소를 클론하지 않는 것이 좋습니다. 이 문제는 2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1, 2.55.1, 및 2.56.1 버전에서 수정되었습니다.
CVE-2026-114469
2026년 11월 12일Out-of-bounds read can crash git-apply(1) when binary patch inflates to very large size
CVE-2026-114467
2026년 11월 12일Out-of-bounds write possible in Git when git-merge(1) used on tag with more than two GPG signatures
CVE-2026-114466
2026년 11월 12일Arbitrary data can be read or written through git-fast-import(1) and git-fast-export(1) features not marked unsafe
CVE-2026-113408
2026년 11월 12일Path traversal in Git allows writing to arbitrary file via cloning and committing to bad repository
CVE-2026-105437
2026년 11월 11일Git의 영향을 받는 버전에는 세 가지 방식 병합(xdiff)에서 힙 기반 버퍼 오버플로가 있어, 공격자는 제어하는 저장소를 통해 이를 트리거할 수 있다. Git이 파일을 병합할 때 먼저 병합된 출력의 크기를 합산하고 그 크기로 버퍼를 할당한 다음 그 안에 출력을 기록한다. 그 합계는 32비트 부호 있는 정수로 유지되었다. 커밋된 .gitattributes 파일에서 설정할 수 있는 conflict-marker-size 속성은 양의 정수라면 무엇이든 받아들이며, 마커는 각 충돌마다 여러 차례 기록된다. 크기가 큰 마커를 가진 작은 파일과 여러 개의 개별 충돌이 있으면 합계가 4 GiB를 넘어갈 수 있어 정수가 작은 값으로 역전되어 공격자가 제어하는 병합 출력이 너무 작은 버퍼의 끝을 넘어 기록된다. 이는 최소한 Git을 충돌시키고, 오버플로가 크고 내용이 대부분 공격자에 의해 제어되므로 더욱 심각한 힙 손상이 발생할 수 있다. 텍스트 기반의 세 가지 방식 병합을 수행하는 모든 명령은 이를 트리거할 수 있는데, 예로 git-merge(1), git-rebase(1), git-cherry-pick(1), git-merge-tree(1) 등이 있다. 후자는 Git 포지의 대상이 될 가능성이 가장 높으며, 서버 측에서 merge 가능성을 확인하기 위해 git-merge-tree(1)을 사용할 수 있다. 서버가 트리에서 속성(attr.tree 또는 --attr-source를 통해)을 읽을 때, 브랜치를 푸시하고 병합되도록 요청할 수 있는 어떤 사용자라도(예: 풀 리퀘스트나 머지 리퀘스트를 열어) 오버플로를 트리거할 수 있으며, 그들이 푸시하는 데이터는 병합 중에만 큰 출력이 나타나기 때문에 작다. 문제는 size_t로 크기를 계산하고 모든 덧셈에서 오버플로를 확인하도록 수정되어, Git이 오버플로 대신 오류로 중지되도록 패치되었다. 즉시 업그레이드할 수 없는 서버는 우회 방법으로 각 리포지토리의 info/attributes에 * conflict-marker-size=7 을 추가해 in-tree .gitattributes를 재정의하거나, 신뢰할 수 없는 리포지토리에 대한 서버 측 병합 가능성 검사를 끄는 방법을 사용할 수 있다.
CVE-2025-48386
2025년 7월 9일Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. The wincred credential helper uses a static buffer (target) as a unique key for storing and comparing against internal storage. This credential helper does not properly bounds check the available space remaining in the buffer before appending to it with wcsncat(), leading to potential buffer overflows. This vulnerability is fixed in v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, v2.49.1, and v2.50.1.
CVE-2025-48385
2025년 7월 9일Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. When cloning a repository Git knows to optionally fetch a bundle advertised by the remote server, which allows the server-side to offload parts of the clone to a CDN. The Git client does not perform sufficient validation of the advertised bundles, which allows the remote side to perform protocol injection. This protocol injection can cause the client to write the fetched bundle to a location controlled by the adversary. The fetched content is fully controlled by the server, which can in the worst case lead to arbitrary code execution. The use of bundle URIs is not enabled by default and can be controlled by the bundle.heuristic config option. Some cases of the vulnerability require that the adversary is in control of where a repository will be cloned to. This either requires social engineering or a recursive clone with submodules. These cases can thus be avoided by disabling recursive clones. This vulnerability is fixed in v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, v2.49.1, and v2.50.1.
CVE-2025-48384
KEV2025년 7월 9일Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. When reading a config value, Git strips any trailing carriage return and line feed (CRLF). When writing a config entry, values with a trailing CR are not quoted, causing the CR to be lost when the config is later read. When initializing a submodule, if the submodule path contains a trailing CR, the altered path is read resulting in the submodule being checked out to an incorrect location. If a symlink exists that points the altered path to the submodule hooks directory, and the submodule contains an executable post-checkout hook, the script may be unintentionally executed after checkout. This vulnerability is fixed in v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, v2.49.1, and v2.50.1.
CVE-2024-52005
2025년 1월 16일Git is a source code management tool. When cloning from a server (or fetching, or pushing), informational or error messages are transported from the remote Git process to the client via the so-called "sideband channel". These messages will be prefixed with "remote:" and printed directly to the standard error output. Typically, this standard error output is connected to a terminal that understands ANSI escape sequences, which Git did not protect against. Most modern terminals support control sequences that can be used by a malicious actor to hide and misrepresent information, or to mislead the user into executing untrusted scripts. As requested on the git-security mailing list, the patches are under discussion on the public mailing list. Users are advised to update as soon as possible. Users unable to upgrade should avoid recursive clones unless they are from trusted sources.
CVE-2024-52006
2025년 1월 15일Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. Git defines a line-based protocol that is used to exchange information between Git and Git credential helpers. Some ecosystems (most notably, .NET and node.js) interpret single Carriage Return characters as newlines, which renders the protections against CVE-2020-5260 incomplete for credential helpers that treat Carriage Returns in this way. This issue has been addressed in commit `b01b9b8` which is included in release versions v2.48.1, v2.47.2, v2.46.3, v2.45.3, v2.44.3, v2.43.6, v2.42.4, v2.41.3, and v2.40.4. Users are advised to upgrade. Users unable to upgrade should avoid cloning from untrusted URLs, especially recursive clones.
CVE-2024-50349
2025년 1월 15일Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. When Git asks for credentials via a terminal prompt (i.e. without using any credential helper), it prints out the host name for which the user is expected to provide a username and/or a password. At this stage, any URL-encoded parts have been decoded already, and are printed verbatim. This allows attackers to craft URLs that contain ANSI escape sequences that the terminal interpret to confuse users e.g. into providing passwords for trusted Git hosting sites when in fact they are then sent to untrusted sites that are under the attacker's control. This issue has been patch via commits `7725b81` and `c903985` which are included in release versions v2.48.1, v2.47.2, v2.46.3, v2.45.3, v2.44.3, v2.43.6, v2.42.4, v2.41.3, and v2.40.4. Users are advised to upgrade. Users unable to upgrade should avoid cloning from untrusted URLs, especially recursive clones.