chore(deps): use CVE-2023-40267 alias for the audit check#419
Merged
Conversation
Looks like `pip-audit` is not recognizing `PYSEC-2023-137` as an alias for `GHSA-pr76-5cm5-w9cj`. Switching to `CVE-2023-40267` ID instead to avoid duplicate errors bu `pip-audit`. GitHub Advisory: https://osv.dev/vulnerability/GHSA-pr76-5cm5-w9cj PYSEC Advisory: https://github.com/pypa/advisory-database/blob/a3bd5be966a999b065ac798d13795760c2e13d43/vulns/gitpython/PYSEC-2023-137.yaml Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
tromai
approved these changes
Aug 17, 2023
art1f1c3R
pushed a commit
that referenced
this pull request
Nov 29, 2024
Looks like `pip-audit` is not recognizing `PYSEC-2023-137` as an alias for `GHSA-pr76-5cm5-w9cj`. Switching to `CVE-2023-40267` ID instead to avoid duplicate errors by `pip-audit`. Missing alias for `GHSA-pr76-5cm5-w9cj` in `PYSEC-2023-137`: pypa/advisory-database#142 GitHub Advisory: https://osv.dev/vulnerability/GHSA-pr76-5cm5-w9cj PYSEC Advisory: https://github.com/pypa/advisory-database/blob/a3bd5be966a999b065ac798d13795760c2e13d43/vulns/gitpython/PYSEC-2023-137.yaml Note: even though Macaron uses PyDriller and GitPython, it is not vulnerable to this CVE because - it does not use unsafe options: https://github.com/oracle/macaron/blob/d6f1cc60a5eb1c26165f530afc73ea735e800e38/src/macaron/slsa_analyzer/git_url.py#L342-L349 - and sanitizes the repository paths before cloning: https://github.com/oracle/macaron/blob/add-CVE-2023-40267-alias/src/macaron/slsa_analyzer/git_url.py#L551-L677 Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Looks like
pip-auditis not recognizingPYSEC-2023-137as an alias forGHSA-pr76-5cm5-w9cj. Switching toCVE-2023-40267ID instead which is recognized bypip-audit.Missing alias for
GHSA-pr76-5cm5-w9cjinPYSEC-2023-137: pypa/advisory-database#142GitHub Advisory: GHSA-pr76-5cm5-w9cj
PYSEC Advisory: https://github.com/pypa/advisory-database/blob/a3bd5be966a999b065ac798d13795760c2e13d43/vulns/gitpython/PYSEC-2023-137.yaml
Note: even though Macaron uses PyDriller and GitPython, it is not vulnerable to this CVE because it does not set the
allow_unsafe_optionsargument toTrueand sanitizes the repository paths before cloning.