Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repair failing tests after upstream Git CVE-2022-39253 change #619

Merged
merged 2 commits into from
Nov 1, 2022

Conversation

carmenbianca
Copy link
Member

@carmenbianca carmenbianca commented Nov 1, 2022

Fixes #617

Setting check=True is a good sanity check. Previously some of these
commands were silently failing.

The thing that was really broken is related to the CVE-2022-39253 in
upstream Git. New versions of Git no longer allow git submodule add repository path where repository is a file. We add a flag to explicitly
allow this.

See this URL for a meta analysis of the problem:

https://vielmetti.typepad.com/logbook/2022/10/git-security-fixes-lead-to-fatal-transport-file-not-allowed-error-in-ci-systems-cve-2022-39253.html

Setting check=True is a good sanity check. Previously some of these
commands were silently failing.

The thing that was really broken is related to the CVE-2022-39253 in
upstream Git. New versions of Git no longer allow `git submodule add
repository path` where repository is a file. We add a flag to explicitly
allow this.

See this URL for a meta analysis of the problem:

https://vielmetti.typepad.com/logbook/2022/10/git-security-fixes-lead-to-fatal-transport-file-not-allowed-error-in-ci-systems-cve-2022-39253.html

Signed-off-by: Carmen Bianca Bakker <carmenbianca@fsfe.org>
Signed-off-by: Carmen Bianca Bakker <carmenbianca@fsfe.org>
@carmenbianca carmenbianca changed the title CVE-2022-39253 submodule fix Repair failing tests after upstream Git CVE-2022-39253 change Nov 1, 2022
@carmenbianca
Copy link
Member Author

I'm going to merge this to get all tests running again.

Open PRs may need to be rebased on top of main.

@carmenbianca carmenbianca merged commit 226628e into fsfe:main Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tests are broken on main branch
1 participant