Every CVE Search/ Get API key

CVE-2018-10859

git-annex is vulnerable to an Information Exposure when decrypting files. A malicious server for...

5.9 MediumFix available

git-annex is vulnerable to an Information Exposure when decrypting files. A malicious server for a special remote could trick git-annex into decrypting a file that was encrypted to the user's gpg key. This attack could be used to expose encrypted data that was never stored in git-annex

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

1.36%Up 0.7 points since Apr 14, 2021
90%50%10%1%

What each source reports

CVE List Score used 5.9

git-annex is vulnerable to an Information Exposure when decrypting files. A malicious server for a special remote could trick git-annex into decrypting a file that was encrypted to the user's gpg key. This attack could be used to expose encrypted data that was never stored in git-annex

Record
CVE-2018-10859
CVSS 3.0
5.9 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-200
Updated
2026-11-02
EUVDEUVD-2018-2926 5.9

git-annex is vulnerable to an Information Exposure when decrypting files. A malicious server for a special remote could trick git-annex into decrypting a file that was encrypted to the user's gpg key. This attack could be used to expose encrypted data that was never stored in git-annex

Record
EUVD-2018-2926
CVSS 3.0
5.9 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-03
GitHub AdvisoriesGHSA-j24g-q5jp-xg4v 7.5

git-annex is vulnerable to an Information Exposure when decrypting files. A malicious server for...

git-annex is vulnerable to an Information Exposure when decrypting files. A malicious server for a special remote could trick git-annex into decrypting a file that was encrypted to the user's gpg key. This attack could be used to expose encrypted data that was never stored in git-annex

Record
GHSA-j24g-q5jp-xg4v
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-200
Updated
2026-11-02
NVD 5.9

git-annex is vulnerable to an Information Exposure when decrypting files. A malicious server for a special remote could trick git-annex into decrypting a file that was encrypted to the user's gpg key. This attack could be used to expose encrypted data that was never stored in git-annex

Record
CVE-2018-10859
CVSS 3.0
5.9 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-200
Updated
2026-11-02
OSV 7.5

git-annex is vulnerable to an Information Exposure when decrypting files. A malicious server for a special remote could trick git-annex into decrypting a file that was encrypted to the user's gpg key. This attack could be used to expose encrypted data that was never stored in git-annex

Record
CVE-2018-10859
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2018-10859 7.5

git-annex is vulnerable to an Information Exposure when decrypting files. A malicious server for a special remote could trick git-annex into decrypting a file that was encrypted to the user's gpg key. This attack could be used to expose encrypted data that was never stored in git-annex

Record
DEBIAN-CVE-2018-10859
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2018-10859 5.9

git-annex is vulnerable to an Information Exposure when decrypting files. A malicious server for a special remote could trick git-annex into decrypting a file that was encrypted to the user's gpg key. This attack could be used to expose encrypted data that was never stored in git-annex

Record
UBUNTU-CVE-2018-10859
CVSS 3.0
5.9 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVHSEC-2023-0011 No score

git-annex GPG decryption attack via compromised remote

git-annex GPG decryption attack via compromised remote

A malicious server for a special remote could trick git-annex into decrypting a file that was encrypted to the user's GPG key. This attack could be used to expose encrypted data that was never stored in git-annex. Daniel Dent discovered this attack in collaboration with Joey Hess.

To perform this attack the attacker needs control of a server hosting an encrypted special remote used by the victim's git-annex repository. The attacker uses git annex addurl --relaxed with an innocuous URL, and waits for the user's git-annex to download it, and upload an (encrypted) copy to the special remote they also control. At some later point, when the user downloads the content from the special remote, the attacker instead sends them the content of the GPG-encrypted file that they wish to have decrypted in its place (which may have been exfiltrated from the victim's system via the attack described in HSEC-2023-0010 / CVE-2018-10857, or acquired by other means). Finally, the attacker drops their own copy of the original innocuous URL, and waits for the victim git-annex to send them the accidentially decrypted file.

The issue was fixed by making git-annex refuse to download encrypted content from special remotes, unless it knows the hash of the expected content. When the attacker provides some other GPG-encrypted content, it will fail the hash check and be discarded.

Record
HSEC-2023-0011
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
git-annex
Debian:12
before 6.20180626-1
6.20180626-1
git-annex
Debian:13
before 6.20180626-1
6.20180626-1
git-annex
Debian:14
before 6.20180626-1
6.20180626-1
git-annex
Debian:8
From an advisory covering 3 CVEs
before 5.20141125+oops-1+deb8u2, plus listed versions
5.201411255.20141125+deb8u1
5.20141125+oops-1+deb8u2
git-annex
Hackage
0.20110417 up to 6.20180626, plus listed versions
3.201107023.20110702.23.201107053.201107073.20110819
Show 45 moreShow less
3.201109023.201109063.201109153.201109283.201110113.201111223.201112033.201112113.201112313.201201133.201201153.201201163.201201233.201202273.201202293.201202303.201203093.201203153.201204053.201204063.201204183.201204303.201205113.201205223.201206053.201206113.201206143.201206153.201206243.201206293.201207213.201208073.201208253.201209243.201210013.201210093.201210103.201210163.201210173.201211123.201211263.201211273.20121127.13.201212113.20130102
6.20180626
git-annex
Ubuntu:16.04:LTS
All versions, plus listed versions
5.20150731-1build15.20151208-15.20151208-1build1
None known
git-annex
Ubuntu:18.04:LTS
All versions, plus listed versions
6.20170818-16.20171124-16.20180112-16.20180112-26.20180227-1
None known

History

History
RecordedChangedSources
affected, facts
aliases, productsEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-10859 is a medium vulnerability (CVSS 5.9) in [unknown] Git-annex, published July 16, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.36%, the 71st percentile. Fixed in git-annex 6.20180626-1.

References

This page doesn't list everything

Left out here: 142 versions. The JSON record has them.

MoveEnter Open