[bug] encryption of metadata in .git metadata file inside .git folder
- From
- Krishnamurthy Ganesh B <ganeshsurfs@gmail.com>
- Date
- Dec 23, 2024, 12:03 UTC
- Message-ID
- <CAMmT1pJ0ReaX+g2_gFQ2oLUrzhR5wCXGvCj_WwDMXcfG2DNG_g@mail.gmail.com>
- In-Reply-To
- <CAMmT1pJnZxxD3wFikiDRCqZZMxO8P6EgVHe9mJEsfA8PK4-OfA@mail.gmail.com>
hello,
greetings.
i am raising a git security red flag on the.git metadata files storing git logs, commits, and other metadata inside .git folder not encrypted using a two way salt or some other way like using a key for a two way encryption or some method of software encryption internally if / because the .git folder metadata is not encrypted.
this has been raised to github before but will be raised again via hackerone security bug and to gitlab and altassian and other git repository source users if they are using their own internal modified sources.
most of the errors like these will be directly closed.
https://kondukto.io/blog/git-scm-affected-by-cve-2024-32002
https://socradar.io/critical-security-updates-for-git-scm-cve-2024-32002-cve-2024-32004-lead-to-rce/
https://stackoverflow.com/questions/45578579/what-file-metadata-is-preserved-by-git
even packages like git-crypt do not encrypt metadata. https://github.com/AGWA/git-crypt
have a nice day.
regards, ganesh k