Skip to content

chore(deps): use CVE-2023-40267 alias for the audit check #419

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

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

behnazh-w
Copy link
Member

@behnazh-w behnazh-w commented Aug 17, 2023

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 which is recognized by pip-audit.

Missing alias for GHSA-pr76-5cm5-w9cj in PYSEC-2023-137: pypa/advisory-database#142
GitHub 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_options argument to True and sanitizes the repository paths before cloning.

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 <[email protected]>
@behnazh-w behnazh-w requested a review from tromai as a code owner August 17, 2023 10:20
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Aug 17, 2023
@behnazh-w behnazh-w merged commit 377e079 into staging Aug 17, 2023
@tromai tromai deleted the add-CVE-2023-40267-alias branch August 17, 2023 23:57
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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants