Title: Tests fail due to security vulnerability fix in git 2.38.1 · Issue #1544 · gitpython-developers/GitPython · GitHub
Open Graph Title: Tests fail due to security vulnerability fix in git 2.38.1 · Issue #1544 · gitpython-developers/GitPython
X Title: Tests fail due to security vulnerability fix in git 2.38.1 · Issue #1544 · gitpython-developers/GitPython
Description: Hello, Due to a change made in Git to address a security vulnerability, some tests are failing. See here for a description of the change: https://github.blog/2022-10-18-git-security-vulnerabilities-announced/#cve-2022-39253 These are the...
Open Graph Description: Hello, Due to a change made in Git to address a security vulnerability, some tests are failing. See here for a description of the change: https://github.blog/2022-10-18-git-security-vulnerabilities...
X Description: Hello, Due to a change made in Git to address a security vulnerability, some tests are failing. See here for a description of the change: https://github.blog/2022-10-18-git-security-vulnerabilities...
Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/1544
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Tests fail due to security vulnerability fix in git 2.38.1","articleBody":"Hello,\r\nDue to a change made in Git to address a security vulnerability, some tests are failing.\r\n\r\nSee here for a description of the change:\r\n\r\nhttps://github.blog/2022-10-18-git-security-vulnerabilities-announced/#cve-2022-39253\r\n\r\nThese are the failing tests:\r\n\r\n- test_list_only_valid_submodules\r\n- test_git_submodules_and_add_sm_with_new_commit\r\n\r\nThe fail signature is the same in both cases:\r\n\r\n cmdline: git submodule add /[redacted]/GitPython/git/ext/gitdb/gitdb/ext/smmap module\r\n stderr: 'Cloning into '/tmp/test_list_only_valid_submoduleshv3nprno/parent/module'...\r\n fatal: transport 'file' not allowed\r\n fatal: clone of '/[redacted]/GitPython/git/ext/gitdb/gitdb/ext/smmap' into submodule path '/tmp/test_list_only_valid_submoduleshv3nprno/parent/module' failed'\r\n\r\nHere is a blog post discussing this issue affecting others:\r\n\r\nhttps://vielmetti.typepad.com/logbook/2022/10/git-security-fixes-lead-to-fatal-transport-file-not-allowed-error-in-ci-systems-cve-2022-39253.html\r\n\r\nI have fixed this locally by changing the submodule add command in each test from:\r\n\r\n repo.git.submodule(\"add\", self._small_repo_url(), \"module\")\r\n\r\nto \r\n\r\n repo.git.submodule(\"add\", Git.polish_url(\"https://github.com/gitpython-developers/smmap.git\"), \"module\")\r\n\r\nIf this is an acceptable fix I can provide it in a pull request.","author":{"url":"https://github.com/Lightborne","@type":"Person","name":"Lightborne"},"datePublished":"2023-01-21T18:31:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/1544/GitPython/issues/1544"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9e7bc253-9739-0a3d-d032-6a255f0694b1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A990:1AEA34:53ED9C:71693D:69688FBA |
| html-safe-nonce | 18ddb8b7f631ca4be881ccabcdddcddfaeca110872451e7cccb185d852b352d1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTkwOjFBRUEzNDo1M0VEOUM6NzE2OTNEOjY5Njg4RkJBIiwidmlzaXRvcl9pZCI6IjExNzU1NTE3NDA1OTc1Mzg3NDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 142153b3e12375121b344d4fe8e5b91df4d3503aafb82d65e14440346137fc16 |
| hovercard-subject-tag | issue:1551877765 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/gitpython-developers/GitPython/1544/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c85961389e54f0d27d1f9920f6307825465fb70788aef6e290c85f45b4069f7f/gitpython-developers/GitPython/issues/1544 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c85961389e54f0d27d1f9920f6307825465fb70788aef6e290c85f45b4069f7f/gitpython-developers/GitPython/issues/1544 |
| og:image:alt | Hello, Due to a change made in Git to address a security vulnerability, some tests are failing. See here for a description of the change: https://github.blog/2022-10-18-git-security-vulnerabilities... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Lightborne |
| hostname | github.com |
| expected-hostname | github.com |
| None | 50f46dc2d6192249fd8ebf20e76c800f4f2596d4a5f3ab63dd63a754df154f54 |
| turbo-cache-control | no-preview |
| go-import | github.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126087 |
| octolytics-dimension-repository_nwo | gitpython-developers/GitPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126087 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/GitPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fef287f17234b4529a4b112a3d47fe8551e32ddd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width