Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change adds a check during reference resolving to see if the requested reference is inside the current repository folder. If it's ouside, it raises an exception. This fixes CVE-2023-41040, which allows an attacker to access files outside the repository's directory.
- Loading branch information