vuln-intel취약점 정보 통합 DB

← 목록

CVE-2020-5260

위험도 높음

우선순위 이 사이트의 참고 점수
7.95
위험도 CVSS 3.1 · 0~10점
7.5
악용 가능성 EPSS · 30일 안에 공격에 쓰일 확률
14.9%
공개일 NVD
2020-04-14

설명 NVD 원문

Affected versions of Git have a vulnerability whereby Git can be tricked into sending private credentials to a host controlled by an attacker. Git uses external "credential helper" programs to store and retrieve passwords or other credentials from secure storage provided by the operating system. Specially-crafted URLs that contain an encoded newline can inject unintended values into the credential helper protocol stream, causing the credential helper to retrieve the password for one server (e.g., good.example.com) for an HTTP request being made to another server (e.g., evil.example.com), resulting in credentials for the former being sent to the latter. There are no restrictions on the relationship between the two, meaning that an attacker can craft a URL that will present stored credentials for any host to a host of their choosing. The vulnerability can be triggered by feeding a malicious URL to git clone. However, the affected URLs look rather suspicious; the likely vector would be through systems which automatically clone URLs not visible to the user, such as Git submodules, or package systems built around Git. The problem has been patched in the versions published on April 14th, 2020, going back to v2.17.x. Anyone wishing to backport the change further can do so by applying commit 9a6bbee (the full release includes extra checks for git fsck, but that commit is sufficient to protect clients against the vulnerability). The patched versions are: 2.17.4, 2.18.3, 2.19.4, 2.20.3, 2.21.2, 2.22.3, 2.23.2, 2.24.2, 2.25.3, 2.26.1.

위험도 세부 항목 CVSS 3.1

공격 경로
네트워크(원격) AV:N
공격 난이도
낮음(쉬움) AC:L
필요한 권한
없음(로그인 불필요) PR:N
사용자 행동 필요
필요 없음 UI:N
영향 범위
그 제품 안 S:U
정보 유출(기밀성)
높음 C:H
데이터 변조(무결성)
없음 I:N
서비스 중단(가용성)
없음 A:N

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

조치 방법 10행

Red Hat 조치 10행
출처플랫폼·제품방식패키지수정된 버전권고문RHSA 등내용
Red Hat Red Hat (공통)완화 조치 원문
The most complete workaround is to disable credential helpers altogether: ~~~ git config --unset cre…

The most complete workaround is to disable credential helpers altogether: ~~~ git config --unset credential.helper git config --global --unset credential.helper git config --system --unset credential.helper ~~~ An alternative is to avoid malicious URLs: 1. Examine the hostname and username portion of URLs fed to git clone for the presence of encoded newlines (%0a) or evidence of credential-protocol injections (e.g., host=github.com) 2. Avoid using submodules with untrusted repositories (don't use clone --recurse-submodules; use git submodule update only after examining the URLs found in .gitmodules) 3. Avoid tools which may run git clone on untrusted URLs under the hood

Red Hat Red Hat Enterprise Linux 6수정판 없음git 원문 Red Hat 상태: 영향 없음
Red Hat Red Hat Enterprise Linux 7패치(업데이트)git 1.8.3.1-22.el7_8 RHSA-2020:1511
Red Hat Red Hat Enterprise Linux 7.7 Extended Update Support패치(업데이트)git 1.8.3.1-23.el7_7 RHSA-2020:3581
Red Hat Red Hat Enterprise Linux 8패치(업데이트)git 2.18.2-2.el8_1 RHSA-2020:1513
Red Hat Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions패치(업데이트)git 2.18.2-2.el8_0 RHSA-2020:1518
Red Hat Red Hat Software Collections for Red Hat Enterprise Linux 7패치(업데이트)rh-git218-git 2.18.2-3.el7 RHSA-2020:1503
Red Hat Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS패치(업데이트)rh-git218-git 2.18.2-3.el7 RHSA-2020:1503
Red Hat Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS패치(업데이트)rh-git218-git 2.18.2-3.el7 RHSA-2020:1503
Red Hat Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS패치(업데이트)rh-git218-git 2.18.2-3.el7 RHSA-2020:1503

살펴볼 장비 초안

분류 대상이 아닙니다 (지금은 KEV 만 분류합니다). 안전하다는 뜻이 아닙니다.

단계별 판정 예시 환경

시나리오 미작성 — 이 CVE 는 단계별 판정을 하지 않았습니다. 안전하다는 뜻이 아닙니다.

출처별 내용 0건

KEV·KISA·ASEC 에서 연결된 내용이 없습니다.

자동 추천 장비와 근거 참고용

분류 체계(취약점 종류 CWE → 공격 유형 CAPEC → 공격 기법 ATT&CK) 매핑으로 계산한 후보입니다. 범위가 넓어 관련이 적은 장비가 섞입니다. 해당 장비가 이 공격을 탐지한다고 확인한 것은 아니며, 위의 '살펴볼 장비' 와 단계별 판정에는 쓰지 않습니다.

장비방법근거 경로
서버 접근제어 ACCESS attackCWE-20 > CAPEC-31 > T1539 > Logon Session Creation
애플리케이션 로그 APPLOG attackCWE-20 > CAPEC-31 > T1539 > Application Log Content
엔드포인트 탐지·대응 EDR attackCWE-20 > CAPEC-13 > T1574.006 > File Creation
방화벽 FW attackCWE-522 > CAPEC-555 > T1021 > Network Connection Creation
계정·인증 (AD·LDAP·SSO) IAM attackCWE-20 > CAPEC-31 > T1539 > Logon Session Creation
침입방지시스템 IPS attackCWE-20 > CAPEC-267 > T1027 > Network Traffic Content
네트워크 탐지·대응 / 패킷 분석 NDR attackCWE-20 > CAPEC-267 > T1027 > Network Traffic Content
서버 감사 로그 SYSAUDIT attackCWE-20 > CAPEC-13 > T1574.006 > File Creation
VPN VPN attackCWE-20 > CAPEC-31 > T1539 > Logon Session Creation
웹 방화벽 WAF attackCWE-20 > CAPEC-31 > T1539 > Application Log Content
웹서버·WAS 로그 WEBLOG attackCWE-20 > CAPEC-31 > T1539 > Application Log Content

취약점 종류 CWE

영향받는 제품 CPE · 20건
제조사제품영향받는 버전표준 표기CPE
gitgit 2.17.4 미만 cpe:2.3:a:git:git:*:*:*:*:*:*:*:*
gitgit 2.22.0 이상 2.22.3 미만 cpe:2.3:a:git:git:*:*:*:*:*:*:*:*
git-scmgit 2.18.0 이상 2.18.3 미만 cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
git-scmgit 2.19.0 이상 2.19.4 미만 cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
git-scmgit 2.20.0 이상 2.20.3 미만 cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
git-scmgit 2.21.0 이상 2.21.2 미만 cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
git-scmgit 2.23.0 이상 2.23.2 미만 cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
git-scmgit 2.24.0 이상 2.24.2 미만 cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
git-scmgit 2.25.0 이상 2.25.3 미만 cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
git-scmgit 2.26.0 이상 2.26.1 미만 cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*
canonicalubuntu_linux cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
canonicalubuntu_linux cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
canonicalubuntu_linux cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*
debiandebian_linux cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
debiandebian_linux cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
debiandebian_linux cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
fedoraprojectfedora cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
fedoraprojectfedora cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
fedoraprojectfedora cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
opensuseleap cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
참고 링크 38건
용어 설명 CVE · CVSS · EPSS · KEV · NVD …
CVE 취약점 번호
공개된 보안 취약점마다 붙는 국제 고유 번호입니다. 예: CVE-2021-44228(Log4j). 가운데 숫자는 번호를 받은 해입니다.
CVSS 위험도 점수
취약점이 얼마나 위험한지 0~10점으로 매긴 국제 표준 점수입니다. 심각 9.0 이상 · 높음 7.0~8.9 · 중간 4.0~6.9 · 낮음 0.1~3.9. 공격이 얼마나 쉬운지와 피해 크기로 정하며, 실제로 공격받고 있는지는 반영하지 않습니다.
EPSS 악용 가능성
앞으로 30일 안에 실제 공격에 쓰일 확률을 추정한 값(0~100%)입니다. 국제 보안 단체 FIRST 가 매일 계산합니다. 높을수록 먼저 조치하세요.
KEV 실제 악용 확인
미국 사이버보안청(CISA)이 실제 공격에 쓰인 것을 확인한 취약점만 모은 목록입니다. 여기에 있으면 가장 먼저 조치할 대상입니다. '랜섬웨어' 표시는 랜섬웨어 공격에 쓰인 것으로 알려진 것입니다.
공격 코드 공개된 PoC
NVD 참고 링크 중 '공격 코드(Exploit)' 표시가 붙은 것이 있다는 뜻입니다. 누구나 공격을 시도해 볼 수 있으므로 서두르는 게 좋지만, 실제 악용이 확인된 것(KEV)과는 다릅니다.
NVD 미국 취약점 DB
미국 국립표준기술연구소(NIST)가 운영하는 취약점 데이터베이스입니다. CVE 마다 설명·CVSS 점수·영향받는 제품·취약점 종류를 붙입니다. 이 사이트 설명의 원문 출처입니다.
우선순위 이 사이트의 참고 점수
CVSS·KEV·랜섬웨어·EPSS·ASEC 언급·공격 코드 공개를 합쳐 계산한 점수입니다. 높을수록 먼저 살펴보세요. 공식 점수가 아닙니다.
ASEC 안랩 분석 글
안랩 보안대응센터 블로그입니다. 'ASEC 3' 은 분석 글에 그 CVE 번호가 3번 나왔다는 뜻이며, 국내에서 악용이 확인됐다는 뜻은 아닙니다.
CWE 취약점 종류
취약점 종류의 분류 번호입니다. 예: CWE-89 SQL 인젝션, CWE-79 크로스 사이트 스크립팅.
CPE 영향받는 제품
취약점이 있는 제품과 버전을 적는 표준 표기입니다. 예: apache:tomcat 9.0.0~9.0.80.
KB Microsoft 업데이트 번호
Microsoft 가 업데이트마다 붙이는 번호입니다. 예: KB5068791. '수정된 버전' 은 업데이트 후의 빌드 번호로, 이보다 낮으면 업데이트가 필요합니다.
시나리오 · 번역
'시나리오' 는 단계별 판정 초안이 있다는 표시입니다(없다고 안전한 것은 아닙니다). '(번역)' 은 Claude 로 기계 번역한 설명입니다.