PT-2023-10181 · Git-Annex · Git-Annex
Published
2023-07-25
·
Updated
2025-11-14
·
CVE-2014-6274
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
git-annex versions (affected versions not specified)
Description
The issue concerns the storage of embedded credentials on encrypted remotes in git-annex. When
embedcreds=yes is set and the remote uses encryption=pubkey or encryption=hybrid, the embedded AWS credentials are stored in the Git repository in plaintext, rather than being encrypted. This allows anyone with a copy of the Git repository to extract the AWS credentials.Recommendations
To resolve the issue, consider the following approaches:
- Change your AWS credentials and then re-embed the new credentials into the repository, encrypted this time, by setting the
AWS SECRET ACCESS KEYandAWS ACCESS KEY IDenvironment variables, and runninggit annex enableremote $remotename embedcreds=yes. - Fix the problem, rewrite the embedded credentials with encryption, and then remove the history of the git-annex branch of the repository by using
git annex forget. - If you are certain that you are the only one with access to the repository, you could decide to leave it as-is, acknowledging that it is no more insecure than using
encryption=shared. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Missing Encryption of Sensitive Data
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Git-Annex