Amazon Linux AMI update for git



Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2020-11008
CVE-2020-5260
CWE-ID CWE-522
Exploitation vector Network
Public exploit Public exploit code for vulnerability #2 is available.
Vulnerable software
Amazon Linux AMI
Operating systems & Components / Operating system

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Insufficiently Protected Credentials

EUVDB-ID: #VU27257

Risk: Low

CVSSv4.0: 1.7 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2020-11008

CWE-ID: CWE-522 - Insufficiently Protected Credentials

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to sensitive information on the system

The vulnerability exists due to the Git can be tricked into sending private credentials to a host controlled by an attacker. A remote attacker can send a specially crafted URL to "git clone" that will present stored credentials for any host to a host of their choosing.

Note: This vulnerability is similar to the CVE-2020-5260 (SB2020041523). The fix for that bug still left the door open for an exploit where some credential is leaked (but the attacker cannot control which one).

Mitigation

Update the affected packages:

i686:
    git-subtree-2.18.4-2.71.amzn1.i686
    git-core-2.18.4-2.71.amzn1.i686
    git-svn-2.18.4-2.71.amzn1.i686
    git-debuginfo-2.18.4-2.71.amzn1.i686
    git-2.18.4-2.71.amzn1.i686
    git-daemon-2.18.4-2.71.amzn1.i686
    git-instaweb-2.18.4-2.71.amzn1.i686

noarch:
    emacs-git-el-2.18.4-2.71.amzn1.noarch
    emacs-git-2.18.4-2.71.amzn1.noarch
    git-bzr-2.18.4-2.71.amzn1.noarch
    git-all-2.18.4-2.71.amzn1.noarch
    gitweb-2.18.4-2.71.amzn1.noarch
    git-cvs-2.18.4-2.71.amzn1.noarch
    git-email-2.18.4-2.71.amzn1.noarch
    git-hg-2.18.4-2.71.amzn1.noarch
    perl-Git-SVN-2.18.4-2.71.amzn1.noarch
    git-core-doc-2.18.4-2.71.amzn1.noarch
    git-p4-2.18.4-2.71.amzn1.noarch
    perl-Git-2.18.4-2.71.amzn1.noarch

src:
    git-2.18.4-2.71.amzn1.src

x86_64:
    git-svn-2.18.4-2.71.amzn1.x86_64
    git-subtree-2.18.4-2.71.amzn1.x86_64
    git-debuginfo-2.18.4-2.71.amzn1.x86_64
    git-core-2.18.4-2.71.amzn1.x86_64
    git-2.18.4-2.71.amzn1.x86_64
    git-instaweb-2.18.4-2.71.amzn1.x86_64
    git-daemon-2.18.4-2.71.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

CPE2.3 External links

https://alas.aws.amazon.com/ALAS-2020-1413.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Insufficiently protected credentials

EUVDB-ID: #VU27258

Risk: Medium

CVSSv4.0: 7.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/U:Green]

CVE-ID: CVE-2020-5260

CWE-ID: CWE-522 - Insufficiently Protected Credentials

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to gain access to sensitive information on the system.

The vulnerability exists due to the Git can be tricked into sending private credentials to a host controlled by an attacker. A remote attacker can send a specially crafted URL to "git clone" that will present stored credentials for any host to a host of their choosing.

Mitigation

Update the affected packages:

i686:
    git-subtree-2.18.4-2.71.amzn1.i686
    git-core-2.18.4-2.71.amzn1.i686
    git-svn-2.18.4-2.71.amzn1.i686
    git-debuginfo-2.18.4-2.71.amzn1.i686
    git-2.18.4-2.71.amzn1.i686
    git-daemon-2.18.4-2.71.amzn1.i686
    git-instaweb-2.18.4-2.71.amzn1.i686

noarch:
    emacs-git-el-2.18.4-2.71.amzn1.noarch
    emacs-git-2.18.4-2.71.amzn1.noarch
    git-bzr-2.18.4-2.71.amzn1.noarch
    git-all-2.18.4-2.71.amzn1.noarch
    gitweb-2.18.4-2.71.amzn1.noarch
    git-cvs-2.18.4-2.71.amzn1.noarch
    git-email-2.18.4-2.71.amzn1.noarch
    git-hg-2.18.4-2.71.amzn1.noarch
    perl-Git-SVN-2.18.4-2.71.amzn1.noarch
    git-core-doc-2.18.4-2.71.amzn1.noarch
    git-p4-2.18.4-2.71.amzn1.noarch
    perl-Git-2.18.4-2.71.amzn1.noarch

src:
    git-2.18.4-2.71.amzn1.src

x86_64:
    git-svn-2.18.4-2.71.amzn1.x86_64
    git-subtree-2.18.4-2.71.amzn1.x86_64
    git-debuginfo-2.18.4-2.71.amzn1.x86_64
    git-core-2.18.4-2.71.amzn1.x86_64
    git-2.18.4-2.71.amzn1.x86_64
    git-instaweb-2.18.4-2.71.amzn1.x86_64
    git-daemon-2.18.4-2.71.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

CPE2.3 External links

https://alas.aws.amazon.com/ALAS-2020-1413.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###