Rapport de sécurité #10

Open
opened 2026-10-20 03:44:05 +02:00 by security · 0 comments
Collaborator

Rapport mis à jour par les scans de sécurité de l'instance (namespace security). Il se ferme quand toutes les sections ne détectent plus rien.

Section mise à jour : 2026-10-20 01:44 UTC

Dépendances vulnérables (OSV-Scanner) : 4 (1 medium, 3 low)

  • medium rustls 0.23.45 (crates.io, controllers/onboarding/Cargo.lock) : RUSTSEC-2026-0346 Debug impls for client session values expose TLS secrets — corrigé en 0.23.46
  • low rustls 0.23.45 (crates.io, controllers/onboarding/Cargo.lock) : RUSTSEC-2026-0347 Buffered application data sent to outer server after ECH rejection — corrigé en 0.23.46
  • low rustls 0.23.45 (crates.io, controllers/onboarding/Cargo.lock) : RUSTSEC-2026-0348 Brotli certificate decompression can allocate up to 1 GiB before authentication — corrigé en 0.23.46
  • low rustls 0.23.45 (crates.io, controllers/onboarding/Cargo.lock) : RUSTSEC-2026-0349 Unauthenticated ServerHello can downgrade later connections to classical key exchange — corrigé en 0.23.46

Secrets dans l'historique Git (Betterleaks) : 15 (15 high)

Dépôt public : les détails ne sont pas publiés ici. Consulter les journaux du scan (VictoriaLogs, namespace=security) pour corriger les problèmes.

Code (Opengrep) : 1 (1 unknown)

  • unknown Analyse partielle (Other syntax error) : opengrep failed: rltbg__kubecloud (exit 2)

Configuration et IaC (Trivy, HIGH et CRITICAL) : 2 (1 critical, 1 high)

  • critical platform/accounts/kcp-provider.yaml:963 KSV-0050 : Do not allow privilege escalation via RBAC resources
  • high console/Dockerfile DS-0002 : Image user should not be 'root'

ShellCheck : 61 (1 high, 60 medium)

  • high scripts/test-browser.sh:110 ShellCheck SC1087 : Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).
  • medium scripts/build.sh:18 ShellCheck SC2154 : state is referenced but not assigned.
  • medium scripts/build.sh:28 ShellCheck SC2154 : root is referenced but not assigned.
  • medium scripts/lab.sh:20 ShellCheck SC2154 : root is referenced but not assigned.
  • medium scripts/lab.sh:45 ShellCheck SC2154 : name is referenced but not assigned.
  • medium scripts/lab.sh:60 ShellCheck SC2154 : state is referenced but not assigned.
  • medium scripts/lab.sh:625 ShellCheck SC2155 : Declare and assign separately to avoid masking return values.
  • medium scripts/lab.sh:626 ShellCheck SC2155 : Declare and assign separately to avoid masking return values.
  • medium scripts/lab.sh:628 ShellCheck SC2155 : Declare and assign separately to avoid masking return values.
  • medium scripts/lab.sh:734 ShellCheck SC2155 : Declare and assign separately to avoid masking return values.
  • medium scripts/lab.sh:769 ShellCheck SC2155 : Declare and assign separately to avoid masking return values.
  • medium scripts/test-accounts.sh:119 ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal).
  • medium scripts/test-api.sh:12 ShellCheck SC2034 : pid appears unused. Verify use (or export if used externally).
  • medium scripts/test-api.sh:67 ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal).
  • medium scripts/test-app.sh:39 ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal).
  • medium scripts/test-app.sh:80 ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal).
  • medium scripts/test-broker.sh:13 ShellCheck SC2034 : pid appears unused. Verify use (or export if used externally).
  • medium scripts/test-broker.sh:66 ShellCheck SC2069 : To redirect stdout+stderr, 2>&1 must be last (or use '{ cmd > file; } 2>&1' to clarify).
  • medium scripts/test-compositions.sh:13 ShellCheck SC2034 : pid appears unused. Verify use (or export if used externally).
  • medium scripts/test-egress.sh:114 ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal).
  • medium scripts/test-egress.sh:129 ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal).
  • medium scripts/test-kcp.sh:135 ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal).
  • medium scripts/test-kcp.sh:141 ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal).
  • medium scripts/test-lib.sh:41 ShellCheck SC2154 : pid is referenced but not assigned.
  • medium scripts/test-lib.sh:45 ShellCheck SC2154 : issuer is referenced but not assigned.
  • medium scripts/test-marketplace.sh:118 ShellCheck SC2069 : To redirect stdout+stderr, 2>&1 must be last (or use '{ cmd > file; } 2>&1' to clarify).
  • medium scripts/test-marketplace.sh:87 ShellCheck SC2069 : To redirect stdout+stderr, 2>&1 must be last (or use '{ cmd > file; } 2>&1' to clarify).
  • medium scripts/test-members.sh:12 ShellCheck SC2034 : pid appears unused. Verify use (or export if used externally).
  • medium scripts/test-members.sh:134 ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal).
  • medium scripts/test-members.sh:134 ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal).
  • medium scripts/test-members.sh:164 ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal).
  • medium scripts/test-members.sh:173 ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal).
  • medium scripts/test-members.sh:92 ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal).
  • medium scripts/test-members.sh:92 ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal).
  • medium scripts/test-networks.sh:100 ShellCheck SC2034 : hard appears unused. Verify use (or export if used externally).
  • medium scripts/test-networks.sh:100 ShellCheck SC2034 : used appears unused. Verify use (or export if used externally).
  • medium scripts/test-networks.sh:141 ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal).
  • medium scripts/test-networks.sh:141 ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal).
  • medium scripts/test-networks.sh:69 ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal).
  • medium scripts/test-onboarding.sh:58 ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal).
  • … et 21 autres

Migrations SQL (squawk) : 1 (1 medium)

  • medium audit/2026-09-05/backup-marker.sql:3 squawk prefer-robust-stmts : Missing IF NOT EXISTS, the migration can't be rerun if it fails part way through.

Section mise à jour : 2026-10-20 01:44 UTC

Couverture SonarQube : 1 (1 unknown)

  • unknown SonarQube indisponible (migration de base ou erreur serveur) : section Sonar partielle.

Tous les résultats SonarQube. Analyses natives uniquement : les imports externes sont détaillés sous leur outil d’origine.

Ignorer un faux positif

Chaque outil lit sa configuration dans le dépôt :

  • dépendances (OSV-Scanner) : osv-scanner.toml, [[IgnoredVulns]] avec id, reason et ignoreUntil ;
  • secrets (Betterleaks) : .betterleaksignore (empreintes) ou .betterleaks.toml ; un secret réellement publié doit être révoqué, l'historique Git le conserve ;
  • code (Opengrep) : commentaire nosemgrep: <règle> ou .semgrepignore (syntaxe de Semgrep, reprise par Opengrep) ;
  • configuration (Trivy) : .trivyignore ;
  • C/C++ (cppcheck, flawfinder) : commentaire // cppcheck-suppress <id> ou // Flawfinder: ignore.

Les imports externes de SonarQube ne sont pas comptés une seconde fois dans sa section. Une même CVE dans deux images décrit deux déploiements concernés ; le total de CVE distinctes est indiqué séparément.

Rapport mis à jour par les scans de sécurité de l'instance (namespace `security`). Il se ferme quand toutes les sections ne détectent plus rien. <!-- security-scan:code:open --> _Section mise à jour : 2026-10-20 01:44 UTC_ ### Dépendances vulnérables (OSV-Scanner) : 4 (1 medium, 3 low) - **medium** `rustls` 0.23.45 (crates.io, `controllers/onboarding/Cargo.lock`) : RUSTSEC-2026-0346 `Debug` impls for client session values expose TLS secrets — corrigé en 0.23.46 - **low** `rustls` 0.23.45 (crates.io, `controllers/onboarding/Cargo.lock`) : RUSTSEC-2026-0347 Buffered application data sent to outer server after ECH rejection — corrigé en 0.23.46 - **low** `rustls` 0.23.45 (crates.io, `controllers/onboarding/Cargo.lock`) : RUSTSEC-2026-0348 Brotli certificate decompression can allocate up to 1 GiB before authentication — corrigé en 0.23.46 - **low** `rustls` 0.23.45 (crates.io, `controllers/onboarding/Cargo.lock`) : RUSTSEC-2026-0349 Unauthenticated ServerHello can downgrade later connections to classical key exchange — corrigé en 0.23.46 ### Secrets dans l'historique Git (Betterleaks) : 15 (15 high) Dépôt public : les détails ne sont pas publiés ici. Consulter les journaux du scan (VictoriaLogs, `namespace=security`) pour corriger les problèmes. ### Code (Opengrep) : 1 (1 unknown) - **unknown** Analyse partielle (Other syntax error) : `opengrep failed: rltbg__kubecloud (exit 2)` ### Configuration et IaC (Trivy, HIGH et CRITICAL) : 2 (1 critical, 1 high) - **critical** `platform/accounts/kcp-provider.yaml:963` KSV-0050 : Do not allow privilege escalation via RBAC resources - **high** `console/Dockerfile` DS-0002 : Image user should not be 'root' ### ShellCheck : 61 (1 high, 60 medium) - **high** `scripts/test-browser.sh:110` ShellCheck SC1087 : Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet). - **medium** `scripts/build.sh:18` ShellCheck SC2154 : state is referenced but not assigned. - **medium** `scripts/build.sh:28` ShellCheck SC2154 : root is referenced but not assigned. - **medium** `scripts/lab.sh:20` ShellCheck SC2154 : root is referenced but not assigned. - **medium** `scripts/lab.sh:45` ShellCheck SC2154 : name is referenced but not assigned. - **medium** `scripts/lab.sh:60` ShellCheck SC2154 : state is referenced but not assigned. - **medium** `scripts/lab.sh:625` ShellCheck SC2155 : Declare and assign separately to avoid masking return values. - **medium** `scripts/lab.sh:626` ShellCheck SC2155 : Declare and assign separately to avoid masking return values. - **medium** `scripts/lab.sh:628` ShellCheck SC2155 : Declare and assign separately to avoid masking return values. - **medium** `scripts/lab.sh:734` ShellCheck SC2155 : Declare and assign separately to avoid masking return values. - **medium** `scripts/lab.sh:769` ShellCheck SC2155 : Declare and assign separately to avoid masking return values. - **medium** `scripts/test-accounts.sh:119` ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal). - **medium** `scripts/test-api.sh:12` ShellCheck SC2034 : pid appears unused. Verify use (or export if used externally). - **medium** `scripts/test-api.sh:67` ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal). - **medium** `scripts/test-app.sh:39` ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal). - **medium** `scripts/test-app.sh:80` ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal). - **medium** `scripts/test-broker.sh:13` ShellCheck SC2034 : pid appears unused. Verify use (or export if used externally). - **medium** `scripts/test-broker.sh:66` ShellCheck SC2069 : To redirect stdout+stderr, 2>&1 must be last (or use '{ cmd > file; } 2>&1' to clarify). - **medium** `scripts/test-compositions.sh:13` ShellCheck SC2034 : pid appears unused. Verify use (or export if used externally). - **medium** `scripts/test-egress.sh:114` ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal). - **medium** `scripts/test-egress.sh:129` ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal). - **medium** `scripts/test-kcp.sh:135` ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal). - **medium** `scripts/test-kcp.sh:141` ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal). - **medium** `scripts/test-lib.sh:41` ShellCheck SC2154 : pid is referenced but not assigned. - **medium** `scripts/test-lib.sh:45` ShellCheck SC2154 : issuer is referenced but not assigned. - **medium** `scripts/test-marketplace.sh:118` ShellCheck SC2069 : To redirect stdout+stderr, 2>&1 must be last (or use '{ cmd > file; } 2>&1' to clarify). - **medium** `scripts/test-marketplace.sh:87` ShellCheck SC2069 : To redirect stdout+stderr, 2>&1 must be last (or use '{ cmd > file; } 2>&1' to clarify). - **medium** `scripts/test-members.sh:12` ShellCheck SC2034 : pid appears unused. Verify use (or export if used externally). - **medium** `scripts/test-members.sh:134` ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal). - **medium** `scripts/test-members.sh:134` ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal). - **medium** `scripts/test-members.sh:164` ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal). - **medium** `scripts/test-members.sh:173` ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal). - **medium** `scripts/test-members.sh:92` ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal). - **medium** `scripts/test-members.sh:92` ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal). - **medium** `scripts/test-networks.sh:100` ShellCheck SC2034 : hard appears unused. Verify use (or export if used externally). - **medium** `scripts/test-networks.sh:100` ShellCheck SC2034 : used appears unused. Verify use (or export if used externally). - **medium** `scripts/test-networks.sh:141` ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal). - **medium** `scripts/test-networks.sh:141` ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal). - **medium** `scripts/test-networks.sh:69` ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal). - **medium** `scripts/test-onboarding.sh:58` ShellCheck SC1112 : This is a unicode quote. Delete and retype it (or ignore/doublequote for literal). - … et 21 autres ### Migrations SQL (squawk) : 1 (1 medium) - **medium** `audit/2026-09-05/backup-marker.sql:3` squawk prefer-robust-stmts : Missing `IF NOT EXISTS`, the migration can't be rerun if it fails part way through. <!-- /security-scan:code --> <!-- security-scan:sonar:open --> _Section mise à jour : 2026-10-20 01:44 UTC_ ### Couverture SonarQube : 1 (1 unknown) - **unknown** SonarQube indisponible (migration de base ou erreur serveur) : section Sonar partielle. [Tous les résultats SonarQube](https://sonar.rltbg.com/project/issues?id=rltbg__kubecloud). Analyses natives uniquement : les imports externes sont détaillés sous leur outil d’origine. <!-- /security-scan:sonar --> <details><summary>Ignorer un faux positif</summary> Chaque outil lit sa configuration dans le dépôt : - dépendances (OSV-Scanner) : `osv-scanner.toml`, `[[IgnoredVulns]]` avec `id`, `reason` et `ignoreUntil` ; - secrets (Betterleaks) : `.betterleaksignore` (empreintes) ou `.betterleaks.toml` ; un secret réellement publié doit être révoqué, l'historique Git le conserve ; - code (Opengrep) : commentaire `nosemgrep: <règle>` ou `.semgrepignore` (syntaxe de Semgrep, reprise par Opengrep) ; - configuration (Trivy) : `.trivyignore` ; - C/C++ (cppcheck, flawfinder) : commentaire `// cppcheck-suppress <id>` ou `// Flawfinder: ignore`. Les imports externes de SonarQube ne sont pas comptés une seconde fois dans sa section. Une même CVE dans deux images décrit deux déploiements concernés ; le total de CVE distinctes est indiqué séparément. </details>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
rltbg/kubecloud#10
No description provided.