Repository navigation
Block insecure non-multi options in clone/clone_from - #1609
Merged
Byron merged 1 commit into
gitpython-developers:main from
Beuc:block-insecure-options-clone-non-multi
Jul 10, 2023
Merged
Conversation
Copy link
Copy Markdown
Contributor
I'm part of the Debian LTS (Long Term Support) Team and I'm working on integrating the fix for CVE-2022-24439 for GitPython in Debian.
After contacting @Byron privately we determined that #1521 would need a follow-up fix, which I hereby propose in this PR.
I also modified 2 tests to validate the change, but I'm not sure if we want to double-check (multi/non-multi) all the currenttt clone/clone_from tests, so I didn't, but I can do so if necessary.
Block insecure non-multi options in clone/clone_from
5c59e0d
Follow-up to #1521
Byron
added this to the
v3.1.32 - Bugfixes milestone
Jul 10, 2023
Copy link
Copy Markdown
Member
|
Thanks a million!
I think it's sufficient to 'sample' only a couple of test as we know the fix is present for all clones, and I don't think that will change.
I will see to create a new release shortly.
|
Byron
merged commit
ca965ec
into
gitpython-developers : main
Jul 10, 2023
Copy link
Copy Markdown
Member
Copy link
Copy Markdown
Contributor
Author
|
Great!
I reached out to Skyk to register another CVE for this additional fix.
|
renovate Bot
referenced
this pull request
in allenporter/flux-local
Jul 12, 2023
Update dependency GitPython to v3.1.32 (#274)
5fea2a9
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [GitPython](https://togithub.com/gitpython-developers/GitPython) |
`==3.1.31` -> `==3.1.32` |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>gitpython-developers/GitPython (GitPython)</summary>
###
[`v3.1.32`](https://togithub.com/gitpython-developers/GitPython/releases/tag/3.1.32):
- with another security update
[Compare
Source](https://togithub.com/gitpython-developers/GitPython/compare/3.1.31...3.1.32)
#### What's Changed
- Bump cygwin/cygwin-install-action from 3 to 4 by
[@​dependabot](https://togithub.com/dependabot) in
[https://github.com/gitpython-developers/GitPython/pull/1572](https://togithub.com/gitpython-developers/GitPython/pull/1572)
- Fix up the commit trailers functionality by
[@​itsluketwist](https://togithub.com/itsluketwist) in
[https://github.com/gitpython-developers/GitPython/pull/1576](https://togithub.com/gitpython-developers/GitPython/pull/1576)
- Name top-level exceptions as private variables by
[@​Hawk777](https://togithub.com/Hawk777) in
[https://github.com/gitpython-developers/GitPython/pull/1590](https://togithub.com/gitpython-developers/GitPython/pull/1590)
- fix pypi long description by
[@​eUgEntOptIc44](https://togithub.com/eUgEntOptIc44) in
[https://github.com/gitpython-developers/GitPython/pull/1603](https://togithub.com/gitpython-developers/GitPython/pull/1603)
- Don't rely on **del** by
[@​r-darwish](https://togithub.com/r-darwish) in
[https://github.com/gitpython-developers/GitPython/pull/1606](https://togithub.com/gitpython-developers/GitPython/pull/1606)
- Block insecure non-multi options in clone/clone_from by
[@​Beuc](https://togithub.com/Beuc) in
[https://github.com/gitpython-developers/GitPython/pull/1609](https://togithub.com/gitpython-developers/GitPython/pull/1609)
#### New Contributors
- [@​Hawk777](https://togithub.com/Hawk777) made their first
contribution in
[https://github.com/gitpython-developers/GitPython/pull/1590](https://togithub.com/gitpython-developers/GitPython/pull/1590)
- [@​eUgEntOptIc44](https://togithub.com/eUgEntOptIc44) made their
first contribution in
[https://github.com/gitpython-developers/GitPython/pull/1603](https://togithub.com/gitpython-developers/GitPython/pull/1603)
- [@​r-darwish](https://togithub.com/r-darwish) made their first
contribution in
[https://github.com/gitpython-developers/GitPython/pull/1606](https://togithub.com/gitpython-developers/GitPython/pull/1606)
- [@​Beuc](https://togithub.com/Beuc) made their first
contribution in
[https://github.com/gitpython-developers/GitPython/pull/1609](https://togithub.com/gitpython-developers/GitPython/pull/1609)
**Full Changelog**:
gitpython-developers/GitPython@3.1.31...3.1.32
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/allenporter/flux-local).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41LjMiLCJ1cGRhdGVkSW5WZXIiOiIzNi41LjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Copy link
Copy Markdown
Contributor
Author
|
Snyk didn't answer, so I eventually reached out to MITRE who assigned CVE-2023-40267 to this issue.
|
otc-zuul Bot
pushed a commit
to opentelekomcloud-infra/eyes_on_docs
that referenced
this pull request
Aug 14, 2023
Bump gitpython from 3.1.31 to 3.1.32 (#22)
8412d52
Bump gitpython from 3.1.31 to 3.1.32
Bumps gitpython from 3.1.31 to 3.1.32.
Release notes
Sourced from gitpython's releases.
v3.1.32 - with another security update
What's Changed
Bump cygwin/cygwin-install-action from 3 to 4 by @dependabot in gitpython-developers/GitPython#1572
Fix up the commit trailers functionality by @itsluketwist in gitpython-developers/GitPython#1576
Name top-level exceptions as private variables by @Hawk777 in gitpython-developers/GitPython#1590
fix pypi long description by @eUgEntOptIc44 in gitpython-developers/GitPython#1603
Don't rely on del by @r-darwish in gitpython-developers/GitPython#1606
Block insecure non-multi options in clone/clone_from by @Beuc in gitpython-developers/GitPython#1609
New Contributors
@Hawk777 made their first contribution in gitpython-developers/GitPython#1590
@eUgEntOptIc44 made their first contribution in gitpython-developers/GitPython#1603
@r-darwish made their first contribution in gitpython-developers/GitPython#1606
@Beuc made their first contribution in gitpython-developers/GitPython#1609
Full Changelog: gitpython-developers/GitPython@3.1.31...3.1.32
Commits
5d45ce2 prepare 3.1.32 release
ca965ec Merge pull request #1609 from Beuc/block-insecure-options-clone-non-multi
5c59e0d Block insecure non-multi options in clone/clone_from
c09a71e Merge pull request #1606 from r-darwish/no-del
a3859ee fixes
8186159 Don't rely on del
741edb5 Merge pull request #1603 from eUgEntOptIc44/eugenoptic44-fix-pypi-long-descri...
0c543cd Improve readability of README.md
9cd7ddb Improve the 'long_description' displayed on pypi
6fc11e6 update README to reflect the status quo on git command usage
Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot merge will merge this PR after your CI passes on it
@dependabot squash and merge will squash and merge this PR after your CI passes on it
@dependabot cancel merge will cancel a previously requested merge and block automerging
@dependabot reopen will reopen this PR if it is closed
@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.
Reviewed-by: Vladimir Vshivkov
dgraeber
mentioned this pull request
Aug 21, 2023
Bump gitpython from 3.1.31 to 3.1.32
awslabs/seed-farmer#410
Merged
TheRealHaoLiu
added a commit
to TheRealHaoLiu/awx
that referenced
this pull request
Aug 28, 2023
Fix CVE-2023-40267
853205a
CVE-2023-40267 GitPython: Insecure non-multi options in clone and clone_from is not blocked
https://bugzilla.redhat.com/show_bug.cgi?id=2231474
GitPython before 3.1.32 does not block insecure non-multi options in clone and clone_from. NOTE: this issue exists because of an incomplete fix for CVE-2022-24439.
References:
gitpython-developers/GitPython@ca965ec
gitpython-developers/GitPython#1609
TheRealHaoLiu
mentioned this pull request
Aug 28, 2023
Fix CVE-2023-40267
ansible/awx#14388
Merged
TheRealHaoLiu
added a commit
to ansible/awx
that referenced
this pull request
Aug 28, 2023
Fix CVE-2023-40267 (#14388)
ffa5986
CVE-2023-40267 GitPython: Insecure non-multi options in clone and clone_from is not blocked https://bugzilla.redhat.com/show_bug.cgi?id=2231474
GitPython before 3.1.32 does not block insecure non-multi options in clone and clone_from. NOTE: this issue exists because of an incomplete fix for CVE-2022-24439.
References:
gitpython-developers/GitPython@ca965ec gitpython-developers/GitPython#1609
djyasin
pushed a commit
to djyasin/awx
that referenced
this pull request
Sep 16, 2024
Fix CVE-2023-40267 (ansible#14388)
3e25b7d
CVE-2023-40267 GitPython: Insecure non-multi options in clone and clone_from is not blocked https://bugzilla.redhat.com/show_bug.cgi?id=2231474
GitPython before 3.1.32 does not block insecure non-multi options in clone and clone_from. NOTE: this issue exists because of an incomplete fix for CVE-2022-24439.
References:
gitpython-developers/GitPython@ca965ec gitpython-developers/GitPython#1609
djyasin
pushed a commit
to djyasin/awx
that referenced
this pull request
Nov 11, 2024
Fix CVE-2023-40267 (ansible#14388)
dceb0e7
CVE-2023-40267 GitPython: Insecure non-multi options in clone and clone_from is not blocked https://bugzilla.redhat.com/show_bug.cgi?id=2231474
GitPython before 3.1.32 does not block insecure non-multi options in clone and clone_from. NOTE: this issue exists because of an incomplete fix for CVE-2022-24439.
References:
gitpython-developers/GitPython@ca965ec gitpython-developers/GitPython#1609
renovate
Bot
mentioned this pull request
Jan 2, 2025
Update dependency GitPython to v3.1.44
prdai-archive/PyTorch-ZTM#298
Open
1 task
mend-for-github-com
Bot
mentioned this pull request
Jan 6, 2025
[NEUTRAL] Update dependency GitPython to v3
jgeraigery/flow-Home-Depot#22
Open
1 task
Sign up for free
to join this conversation on GitHub .
Already have an account?
Sign in to comment
Labels
None yet
2 participants