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 it contains an up-level reference ('..'). If it does, it raises an exception. This fixes CVE-2023-41040, which allows an attacker to access files outside the repository's directory.
- Loading branch information