Skip to content

Commit 3bb9d2e

Browse files
fix: ignore GHSA-p423-j2cm-9vmq until cryptography 46.0.7 is released
Pin cryptography>=46.0.6 and suppress the audit warning for the buffer overflow CVE β€” fix version 46.0.7 is not yet available on PyPI.
1 parent 49643f4 commit 3bb9d2e

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

β€Ž.github/workflows/dependency-audit.ymlβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ jobs:
5353
# platform-conditional deps (greenlet) missing from the lockfile.
5454
# The hashes are verified at install time, not audit time.
5555
sed '/^[[:space:]]*--hash/d' requirements.lock > /tmp/requirements.lock.nohash
56-
pip-audit -r /tmp/requirements.lock.nohash --desc on
56+
# GHSA-p423-j2cm-9vmq: cryptography 46.0.7 not yet released β€” ignore until available
57+
pip-audit -r /tmp/requirements.lock.nohash --desc on --ignore-vuln GHSA-p423-j2cm-9vmq
5758
else
5859
echo "::warning::No requirements.lock found β€” auditing requirements.txt (unpinned)"
5960
pip-audit -r requirements.txt --desc on

β€Žpyproject.tomlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies = [
1212
"mlflow-tracing>=3.4",
1313
"opentelemetry-exporter-otlp-proto-grpc",
1414
"requests",
15-
"cryptography",
15+
"cryptography>=46.0.6",
1616
]
1717

1818
[tool.uv]

0 commit comments

Comments
Β (0)