Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ The following table lists all known vulnerabilities that could not be fixed:
| ---------- | ------------------- | ------------------ | ------------- | -------------- | ------------------------------------ |
| urllib3 | GHSA-48p4-8xcf-vxj5 | 2.2.3 | 2.5.0 | 3.8 | Fixed package requires Python >= 3.9 |
| urllib3 | GHSA-pq67-6m6q-mj2v | 2.2.3 | 2.5.0 | 3.8 | Fixed package requires Python >= 3.9 |
| pip | GHSA-4xh5-x5gv-qwph | 25.0.1 | 25.3 | 3.8 | Fixed package requires Python >= 3.9 |

### Vulnerable Python Versions

Expand Down
10 changes: 10 additions & 0 deletions quality/private/python/python_pip_audit_rule.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ def _pip_audit_rule_impl(ctx):
requirement_file = ctx.file.requirement

args_list = ["--disable-pip"]
if ctx.attr.ignore_vulnerability:
for vulnerability in ctx.attr.ignore_vulnerability:
args_list.extend(["--ignore-vuln", vulnerability])
if ctx.attr.no_deps:
args_list.append("--no-deps")
if ctx.attr.index_url:
Expand Down Expand Up @@ -55,6 +58,13 @@ def _pip_audit_rule_impl(ctx):
pip_audit_rule = rule(
implementation = _pip_audit_rule_impl,
attrs = {
"ignore_vulnerability": attr.string_list(
default = [],
doc = (
"Optional. If set, pip-audit will ignore a specific set of vulnerabilities by their IDs." +
"If not provided, all vulnerabilities will be checked."
),
),
"index_url": attr.string(
default = "",
doc = (
Expand Down
6 changes: 3 additions & 3 deletions third_party/pip/requirements_lock_3_10.txt
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ webencodings==0.5.1 \
# via html5lib

# The following packages are considered to be unsafe in a requirements file:
pip==25.2 \
--hash=sha256:578283f006390f85bb6282dffb876454593d637f5d1be494b5202ce4877e71f2 \
--hash=sha256:6d67a2b4e7f14d8b31b8b52648866fa717f45a1eb70e83002f4331d07e953717
pip==25.3 \
--hash=sha256:8d0538dbbd7babbd207f261ed969c65de439f6bc9e5dbd3b3b9a77f25d95f343 \
--hash=sha256:9655943313a94722b7774661c21049070f6bbb0a1516bf02f7c8d5d9201514cd
# via pip-api
6 changes: 3 additions & 3 deletions third_party/pip/requirements_lock_3_11.txt
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ webencodings==0.5.1 \
# via html5lib

# The following packages are considered to be unsafe in a requirements file:
pip==25.2 \
--hash=sha256:578283f006390f85bb6282dffb876454593d637f5d1be494b5202ce4877e71f2 \
--hash=sha256:6d67a2b4e7f14d8b31b8b52648866fa717f45a1eb70e83002f4331d07e953717
pip==25.3 \
--hash=sha256:8d0538dbbd7babbd207f261ed969c65de439f6bc9e5dbd3b3b9a77f25d95f343 \
--hash=sha256:9655943313a94722b7774661c21049070f6bbb0a1516bf02f7c8d5d9201514cd
# via pip-api
6 changes: 3 additions & 3 deletions third_party/pip/requirements_lock_3_12.txt
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ webencodings==0.5.1 \
# via html5lib

# The following packages are considered to be unsafe in a requirements file:
pip==25.2 \
--hash=sha256:578283f006390f85bb6282dffb876454593d637f5d1be494b5202ce4877e71f2 \
--hash=sha256:6d67a2b4e7f14d8b31b8b52648866fa717f45a1eb70e83002f4331d07e953717
pip==25.3 \
--hash=sha256:8d0538dbbd7babbd207f261ed969c65de439f6bc9e5dbd3b3b9a77f25d95f343 \
--hash=sha256:9655943313a94722b7774661c21049070f6bbb0a1516bf02f7c8d5d9201514cd
# via pip-api
6 changes: 3 additions & 3 deletions third_party/pip/requirements_lock_3_9.txt
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ webencodings==0.5.1 \
# via html5lib

# The following packages are considered to be unsafe in a requirements file:
pip==25.2 \
--hash=sha256:578283f006390f85bb6282dffb876454593d637f5d1be494b5202ce4877e71f2 \
--hash=sha256:6d67a2b4e7f14d8b31b8b52648866fa717f45a1eb70e83002f4331d07e953717
pip==25.3 \
--hash=sha256:8d0538dbbd7babbd207f261ed969c65de439f6bc9e5dbd3b3b9a77f25d95f343 \
--hash=sha256:9655943313a94722b7774661c21049070f6bbb0a1516bf02f7c8d5d9201514cd
# via pip-api
Loading