Skip to content

fix: clear critical/high image CVEs for the 2.0 RC (LiteLLM v1.105.7, LWS v0.9.0, kube-rbac-proxy v0.23.1, drop vLLM 0.24.0) - #101

Merged
AhmedSeemalK merged 8 commits into
release-1.2from
fix/release-1.2-cves
Dec 1, 2026
Merged

AhmedSeemalK merged 8 commits into
release-1.2from
fix/release-1.2-cves

Conversation

@Mushtaq-BGA

@Mushtaq-BGA Mushtaq-BGA commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Upgrades the inference components whose images carry fixable critical or high CVEs, for the 2.0 RC (Toolkit Manager release-2.0 installs this branch once its inference pin moves). The rule is the smallest bump that clears them; no major-version bumps. Companion: intel/toolkit-manager#194. Intel Inference Microservices 0.2.0 stays in #99.

Versions and findings

Critical / high, Trivy 0.74.0, scanned 2026-11-30.

Component Version Before After Why this version
LiteLLM v1.105.1 → v1.105.7 5 / 40 0 / 22 last 1.105 patch, no schema change; the 22 high need 1.106+ (risk note)
LeaderWorkerSet v0.8.0 → v0.9.0 2 / 39 0 / 37 clears both criticals; later minors only trim highs (0.11.1: 28)
kube-rbac-proxy (KServe) v0.18.0 → v0.23.1 2 / 54 0 / 1 0.21.2 clears the criticals but keeps 46 high
vLLM 0.19.1 (kept, opt-in) — 104 / 1457 unchanged kept for compatibility; OpenAI auth bypass GHSA-94f4-hr76-p5j6, RCE GHSA-h3rc-6mm3-gc2m (risk note)
vLLM 0.24.0 (removed) — 88 / 1392 removed RCE GHSA-h3rc-6mm3-gc2m

Repo scan of this branch (Trivy fs, Bandit, Semgrep, gitleaks, Checkov, hadolint): 0 critical/high, 0 secrets.

Notes per change

  • LiteLLM v1.105.7: image tag only, same 1.105 line. The DB schema is unchanged from v1.105.1 (no migrations), so a running release upgrades and rolls back cleanly. 1.106.12 would clear the highs but adds DB migrations; kept for the next release.
  • LWS v0.9.0: the role installed LWS only when absent, so an existing v0.8.0 stayed. It now also upgrades a release on another chart version.
  • kube-rbac-proxy v0.23.1: kserve_rbac_proxy_image → kserve.controller.rbacProxyImage (chart default v0.18.0). A running release on the same chart also gets it: the core block runs when the release's value differs.
  • vLLM 0.24.0 removed from the vllm runtime; 0.19.1 kept for compatibility (opt-in with --server-version 0.19.1). 0.28.0 stays the default, 0.33.0 opt-in. No catalog model pinned 0.24.0. The docs examples use 0.28.0/0.33.0 with --server vllm, because the default runtime has no versions.

Tests

Not tested

  • LiteLLM v1.105.7 live (the install test ran v1.106.12; v1.105.7 is a patch on the shipped v1.105.1 with the same schema).
  • Upgrading LWS 0.8 → 0.9 in place (the test was a fresh install).

Remaining (risk note, next release)

  • LiteLLM v1.105.7: 22 high in Python and OS packages (ddtrace, pypdf, dnspython, filelock, oauthlib, pyasn1, nodejs-26, libexpat1, py3-pip-wheel); no 1.105 image clears them, v1.106.12 does.
  • vLLM 0.19.1 (opt-in, kept for compatibility): 104 critical / 1457 high, including the OpenAI auth bypass GHSA-94f4-hr76-p5j6 and the RCE GHSA-h3rc-6mm3-gc2m; fixed only in 0.31+.
  • vLLM 0.28.0 (default): PyJWT/certifi/pillow and vLLM advisories fixed in 0.31+; 0.33.0 is available opt-in (and runs Intel Inference Microservices 0.2.0). Making it the default needs the large-model KV pre-check validated.
  • llm-d uds tokenizer vllm-v0.19.1 (7 critical; v1.0.0 also 7); KServe 0.21.0 controllers (keda library, 1 critical each); Langfuse/ClickHouse/Valkey (high only, no newer image clears them).
  • Most remaining vLLM / Intel Inference Microservices criticals are linux-libc-dev (kernel headers, not loaded at runtime).

LWS 0.8.0 (2 critical) is now also upgraded when an older release is installed;
the KServe controller's kube-rbac-proxy sidecar moves from v0.18.0 (2 critical).

Signed-off-by: Ahmed, Mushtaq <mushtaq.ahmed@intel.com>
….4: none)

Signed-off-by: Ahmed, Mushtaq <mushtaq.ahmed@intel.com>
Both images carry vLLM advisories with critical/high severity (0.19.1: OpenAI
auth bypass GHSA-94f4-hr76-p5j6; both: GHSA-h3rc-6mm3-gc2m RCE via
mm_processor_kwargs, fixed in 0.31+). 0.28.0 stays the default, 0.33.0 opt-in.

Signed-off-by: Ahmed, Mushtaq <mushtaq.ahmed@intel.com>
Copilot AI balanced review requested due to automatic review settings November 30, 2026 11:22

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

3 open issues
What changed in this PR

Updates pinned inference component images/versions for the 2.0 RC to eliminate fixable critical/high CVEs, including LiteLLM and KServe dependencies, and removes vulnerable vLLM versions from the runtime catalog.

Changes:

  • Bump LiteLLM image tag to v1.110.4.
  • Update KServe defaults to use kube-rbac-proxy:v0.23.1 and upgrade/install LWS to v0.11.1 when the installed chart version differs.
  • Remove vLLM 0.19.1 and 0.24.0 from runtime definitions; update tests and docs to reference 0.28.0/0.33.0.
File Description
roles/​litellm/​defaults/​main.yaml Bumps LiteLLM tag to address CVEs.
roles/​kserve/​tasks/​install.yaml Passes rbac-proxy image override to the KServe chart; upgrades LWS when chart version differs.
roles/​kserve/​defaults/​main.yaml Updates LWS default version and introduces kube-rbac-proxy image pin.
model_manager/​tests/​test_sizing.py Adjusts sizing tests for the remaining vLLM versions; removes 0.19.1-specific test.
model_manager/​models.yaml Removes vLLM 0.19.1/0.24.0 from runtime catalog.
docs/​getting-started/​deploy-models.md Updates CLI examples to use supported vLLM versions.
docs/​configuration/​runtimes.md Removes deprecated vLLM versions from the runtime config example.
docs/​configuration/​configuration.md Updates LiteLLM configuration example version.
docs/​configuration/​catalog.md Updates catalog examples to supported vLLM versions/default.
config.yaml Updates LiteLLM configuration example version.

Review effort: Lite

Comment thread docs/configuration/runtimes.md Resolved
Comment thread docs/getting-started/deploy-models.md Resolved
Comment thread roles/kserve/tasks/install.yaml Resolved
…v0.9.0

LiteLLM v1.106.12 is as clean as v1.110.4 (0 critical, 0 high) one minor up from 1.105;
LWS v0.9.0 clears both criticals, later minors only trim highs (37 -> 28).

Signed-off-by: Ahmed, Mushtaq <mushtaq.ahmed@intel.com>
@sys-aibot

sys-aibot commented Nov 30, 2026 •

Copy link
Copy Markdown

Claude finished @Mushtaq-BGA's task in 50s —— View job


Verdict: LGTM

Blocking

None.

Suggestions

  1. roles/kserve/tasks/install.yaml:481-484: the role already compares chart versions as exact strings, e.g. _llmisvc_release.status.chart | default('') != 'kserve-llmisvc-resources-v' ~ _kserve_version at lines 347 and 557. Doing the same here removes both regex_replace calls and the comment, which only repeats the condition:

    when: >-
      _lws_check.status is not defined or _lws_check.status is none
      or _lws_check.status.chart | default('') != 'lws-' ~ kserve_lws_version

    With kserve_lws_version: "v0.11.1", this gives lws-v0.11.1, the chart name format you saw on the live release (lws-v0.8.0).
    Fix this →

  2. model_manager/core/cli.py:72: the --help example ./model-manager deploy llama3-8b-awq --server-version 0.19.1 --wait now stops with "Runtime 'vllm' has no version '0.19.1'" when run against the catalog in models.yaml. You've said this is left for a follow-up because of the parity goldens (help.txt, help-command.txt, no-args.txt). Please track that follow-up, because this is the first example users copy.

  3. roles/kserve/defaults/main.yaml:13: "(2 critical findings)" will go stale with the next scan. The reason for the override is the chart default, so # Overrides the chart default v0.18.0 (CVEs) would be enough.

Unverified risk, already listed in the PR under "Not tested": if the LWS chart ships its CRDs in crds/, helm upgrade won't update them during the 0.8 → 0.11 step. Only a live upgrade will show whether this matters.

Copilot AI balanced review requested due to automatic review settings November 30, 2026 13:26

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread roles/kserve/tasks/install.yaml Resolved
Comment thread roles/kserve/defaults/main.yaml Resolved
Comment thread roles/litellm/defaults/main.yaml Resolved
@Mushtaq-BGA Mushtaq-BGA changed the title fix: critical/high image CVEs for the 2.0 RC (LiteLLM v1.110.4, LWS 0.11.1, kube-rbac-proxy, drop vLLM 0.19.1/0.24.0) fix: clear critical/high image CVEs for the 2.0 RC (LiteLLM v1.106.12, LWS v0.9.0, kube-rbac-proxy v0.23.1, drop vLLM 0.19.1/0.24.0) Nov 30, 2026
v1.105.7 is the last 1.105 patch: 0 critical, 22 high (v1.105.1: 5 critical,
40 high). No schema change from v1.105.1, so a running release rolls back cleanly.
Copilot AI balanced review requested due to automatic review settings December 1, 2026 02:40
@Mushtaq-BGA Mushtaq-BGA changed the title fix: clear critical/high image CVEs for the 2.0 RC (LiteLLM v1.106.12, LWS v0.9.0, kube-rbac-proxy v0.23.1, drop vLLM 0.19.1/0.24.0) fix: clear critical/high image CVEs for the 2.0 RC (LiteLLM v1.105.7, LWS v0.9.0, kube-rbac-proxy v0.23.1, drop vLLM 0.19.1/0.24.0) Dec 1, 2026
Kept for compatibility on the 1.2 line; 0.24.0 stays removed. Its vLLM
advisories (GHSA-94f4-hr76-p5j6, GHSA-h3rc-6mm3-gc2m) are fixed in 0.31+.

Signed-off-by: Ahmed, Mushtaq <mushtaq.ahmed@intel.com>
@Mushtaq-BGA Mushtaq-BGA changed the title fix: clear critical/high image CVEs for the 2.0 RC (LiteLLM v1.105.7, LWS v0.9.0, kube-rbac-proxy v0.23.1, drop vLLM 0.19.1/0.24.0) fix: clear critical/high image CVEs for the 2.0 RC (LiteLLM v1.105.7, LWS v0.9.0, kube-rbac-proxy v0.23.1, drop vLLM 0.24.0) Dec 1, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread model_manager/models.yaml Resolved
Comment thread roles/litellm/defaults/main.yaml Resolved
Comment thread docs/configuration/configuration.md Resolved
Copilot AI balanced review requested due to automatic review settings December 1, 2026 02:57

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

13 open issues

Review effort: Lite

Comment thread docs/configuration/runtimes.md Resolved
Comment thread docs/getting-started/deploy-models.md Resolved
Comment thread roles/kserve/defaults/main.yaml Resolved
Comment thread roles/kserve/tasks/install.yaml Resolved

@AhmedSeemalK AhmedSeemalK left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

…cs name the vLLM default

- A running KServe 0.21 release on the same chart now gets the new rbacProxyImage:
  the core block also runs when the release's value differs.
- LWS upgrade condition reads its two versions from vars.
- runtimes.md lists 0.28.0 (default) first, labels 0.33.0 and 0.19.1 opt-in.
- deploy-models.md version examples add --server vllm: the default runtime has no versions.

Signed-off-by: Ahmed, Mushtaq <mushtaq.ahmed@intel.com>
Copilot AI balanced review requested due to automatic review settings December 1, 2026 04:29

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AhmedSeemalK
AhmedSeemalK requested a review from mik-now December 1, 2026 07:54

@amberjain1 amberjain1 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@AhmedSeemalK
AhmedSeemalK merged commit fa41e3c into release-1.2 Dec 1, 2026
12 checks passed
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.

5 participants