Skip to content

ci: the audit checks the packages installations get, not the CI tools - #180

Merged
catborise merged 1 commit into
masterfrom
ci-audit-shipped
Oct 24, 2026
Merged

catborise merged 1 commit into
masterfrom
ci-audit-shipped

Conversation

@catborise

Copy link
Copy Markdown
Owner

Since #178 and #179 were merged, master's Python 3.10 leg has been red in the "Audit Installed Packages" step.

Why it failed

pip-audit audited the whole CI environment, and found 6 CVEs published on 2026-10-23 in filelock 4.1.0:

  • filelock is not a dependency of WebVirtCloud. It comes from pip-audit itself (pip-audit → CacheControl[filecache] → filelock), so no installation gets it.
  • The fix is in filelock 4.2.1, which requires Python ≥ 3.11. On 3.10, 4.1.0 is the newest version that installs, so this leg cannot clear the finding.

The fix

The step now runs pip-audit -r conf/requirements.txt -r conf/requirements-ldap.txt. That audits what installations get, resolved for the leg's Python, which is what the audit is for. Locally it takes about 13 s and finds no known vulnerabilities in conf/requirements.txt.

Python 3.10 reached its end of life this month. Whether to drop it is a separate decision, because Ubuntu 22.04 still ships it.

🤖 Generated with Claude Code

pip-audit audited the whole CI environment, so on Python 3.10 it failed
on filelock 4.1.0, a dependency of pip-audit itself: six CVEs published
on 2026-10-23 are fixed only in filelock 4.2.1, which needs Python 3.11.
No installation gets filelock. The step now audits conf/requirements.txt
and conf/requirements-ldap.txt, resolved for the leg's Python, which is
what the audit is for.
@catborise
catborise merged commit 9f6ce7d into master Oct 24, 2026
18 checks passed
@catborise
catborise deleted the ci-audit-shipped branch October 24, 2026 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant