Skip to content

Commit 54e1646

Browse files
[pre-commit.ci] pre-commit autoupdate (#185)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.15.16 → v0.15.17](astral-sh/ruff-pre-commit@v0.15.16...v0.15.17) * ci(grype): allowlist transitive pyo3 advisories embedded in rpds-py The grype gate fails on two pyo3 0.28.3 vulnerabilities CGC cannot remediate from this repo — pyo3 is statically linked into the rpds-py wheel (transitive: jupyter/jsonschema -> referencing -> rpds-py), fixable only by an upstream conda-forge rebuild against pyo3 >= 0.29.0: - GHSA-36hh-v3qg-5jq4 (HIGH): OOB read in nth/nth_back for PyList/PyTuple - GHSA-chgr-c6px-7xpp (MEDIUM): missing Sync bound on PyCFunction::new_closure Each entry carries a revisit condition. The gate still fails on any other fixable medium+ finding. Assisted-With: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Chen Zhang <chenzhang8722@gmail.com>
1 parent f703473 commit 54e1646

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

.grype.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,17 @@ ignore:
6767
name: qt
6868
- package:
6969
name: gstreamer
70+
71+
# pyo3 0.28.3 is statically linked into the rpds-py wheel (transitive:
72+
# jupyter/jsonschema -> referencing -> rpds-py). grype catalogs it from the
73+
# compiled binary, but it is not fixable from this repo — it needs an upstream
74+
# conda-forge rebuild of rpds-py against pyo3 >= 0.29.0 (the first patched
75+
# version). Remove both once that lands (the lockfile-update workflow will pick
76+
# it up). The same advisories were fixed directly in the group's own Rust repos
77+
# (NEREIDS/bm3dornl).
78+
- vulnerability: GHSA-36hh-v3qg-5jq4 # HIGH: pyo3 OOB read in nth/nth_back for PyList/PyTuple
79+
package:
80+
name: pyo3
81+
- vulnerability: GHSA-chgr-c6px-7xpp # MEDIUM: pyo3 missing Sync bound on PyCFunction::new_closure
82+
package:
83+
name: pyo3

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repos:
1212
- id: trailing-whitespace
1313

1414
- repo: https://github.com/astral-sh/ruff-pre-commit
15-
rev: v0.15.16
15+
rev: v0.15.17
1616
hooks:
1717
- id: ruff
1818
args: [--fix, --exit-non-zero-on-fix]

0 commit comments

Comments
 (0)