Rapport de sécurité #9
Labels
No labels
dependencies
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Drive/Backend#9
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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) : 6 (3 high, 3 medium)
extract-zip2.0.1 (npm,tests/ocm_interop/package-lock.json) : GHSA-7pqw-9j4j-h8q3 extract-zip allows arbitrary file writes through symlink archive entriesextract-zip2.0.1 (npm,tests/ocm_interop/package-lock.json) : GHSA-jmr9-qjv8-65gv extract-zip unvalidated symlink path traversaluuid8.3.2 (npm,tests/ocm_interop/package-lock.json) : GHSA-w5hq-g745-h8pq uuid: Missing buffer bounds check in v3/v5/v6 when buf is provided — corrigé en 11.1.1, 12.0.1, 13.0.1qs6.14.2 (npm,tests/ocm_interop/package-lock.json) : GHSA-4mjr-xmp4-gh2g qs: Denial of Service via Attacker Controlled isBuffer — corrigé en 6.15.2, 6.16.0qs6.14.2 (npm,tests/ocm_interop/package-lock.json) : GHSA-q8mj-m7cp-5q26 qs has a remotely triggerable DoS: qs.stringify crashes with TypeError on null/undefined entries in comma-format arrays when encodeValuesOnly is set — corrigé en 6.15.2, 6.16.0qs6.14.2 (npm,tests/ocm_interop/package-lock.json) : GHSA-x5fp-wj9c-mxmx qs array-limit bypass via bracket-key comma parsing — corrigé en 6.15.2, 6.16.0Secrets dans l'historique Git (Betterleaks) : 67 (67 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) : 14 (5 high, 3 medium, 6 unknown)
benchmarks/watch.zig:11detected-generic-secret : Generic Secret detecteddeploy/samba/Dockerfile:93missing-user-entrypoint : By not specifying a USER, a program in the container may run as 'root'. This is a security hazard. If an attacker can control a process running as root, they may have control over the container. Ensurspecs/libregraph/beta-c5c0c0a.yaml:5812use-of-basic-authentication : Basic authentication is considered weak and should be avoided. Use a different authentication scheme, such of OAuth2, OpenID Connect, or mTLS.src/services/watch.zig:2286detected-generic-secret : Generic Secret detectedsrc/storage/sftp.zig:758detected-telegram-bot-api-key : Telegram Bot API Key detectedbenchmarks/java/Http1Client.java:179unencrypted-socket : Detected use of a Java socket that is not encrypted. As a result, the traffic could be read by an attacker intercepting the network traffic. Use an SSLSocket created by 'SSLSocketFactory' or 'SSLServebenchmarks/java/Http1Client.java:286weak-random : Detected use of the functionsMath.random()orjava.util.Random(). These are both not cryptographically strong random number generators (RNGs). If you are using these RNGs to create passwords or stools/doc.py:78dynamic-urllib-use-detected : Detected a dynamic value being used with urllib. urllib supports 'file://' schemes, so a dynamic value controlled by a malicious actor may allow them to read arbitrary files. Audit uses of urllib calldeploy/samba/vfs_drive.cops/backup/backup.shops/backup/restore.shops/postgres/00-runtime-role.shops/run-drive.shops/run-migrations.shConfiguration et IaC (Trivy, HIGH et CRITICAL) : 1 (1 high)
deploy/samba/DockerfileDS-0002 : Image user should not be 'root'ShellCheck : 51 (51 medium)
benchmarks/http_transfer.sh:140ShellCheck SC2183 : This format string has 4 variables, but is passed 3 arguments.benchmarks/java_upload_load.sh:160ShellCheck SC2155 : Declare and assign separately to avoid masking return values.benchmarks/java_upload_load.sh:161ShellCheck SC2155 : Declare and assign separately to avoid masking return values.benchmarks/java_upload_load.sh:162ShellCheck SC2155 : Declare and assign separately to avoid masking return values.benchmarks/java_upload_load.sh:163ShellCheck SC2155 : Declare and assign separately to avoid masking return values.benchmarks/java_upload_load.sh:164ShellCheck SC2155 : Declare and assign separately to avoid masking return values.benchmarks/java_upload_load.sh:165ShellCheck SC2155 : Declare and assign separately to avoid masking return values.benchmarks/java_upload_load.sh:166ShellCheck SC2155 : Declare and assign separately to avoid masking return values.benchmarks/java_upload_load.sh:167ShellCheck SC2155 : Declare and assign separately to avoid masking return values.benchmarks/java_upload_load.sh:168ShellCheck SC2155 : Declare and assign separately to avoid masking return values.benchmarks/java_upload_load.sh:169ShellCheck SC2155 : Declare and assign separately to avoid masking return values.benchmarks/java_upload_load.sh:246ShellCheck SC2155 : Declare and assign separately to avoid masking return values.benchmarks/java_upload_load.sh:248ShellCheck SC2034 : attempt appears unused. Verify use (or export if used externally).benchmarks/java_upload_load.sh:271ShellCheck SC2155 : Declare and assign separately to avoid masking return values.benchmarks/java_upload_load.sh:272ShellCheck SC2155 : Declare and assign separately to avoid masking return values.benchmarks/java_upload_load.sh:273ShellCheck SC2155 : Declare and assign separately to avoid masking return values.benchmarks/java_upload_load.sh:274ShellCheck SC2155 : Declare and assign separately to avoid masking return values.benchmarks/java_upload_load.sh:83ShellCheck SC2155 : Declare and assign separately to avoid masking return values.deploy/samba/entrypoint.sh:14ShellCheck SC2221 : This pattern always overrides a later one on line 15.deploy/samba/entrypoint.sh:15ShellCheck SC2222 : This pattern never matches because of a previous pattern on line 14.tests/collabora_e2e.sh:304ShellCheck SC2034 : attempt appears unused. Verify use (or export if used externally).tests/content_addressing_e2e.sh:94ShellCheck SC2034 : attempt appears unused. Verify use (or export if used externally).tests/cse_http_e2e.sh:430ShellCheck SC2100 : Use $((..)) for arithmetics, e.g. i=$((i - 2))tests/cse_http_e2e.sh:86ShellCheck SC2034 : attempt appears unused. Verify use (or export if used externally).tests/federation_e2e.sh:312ShellCheck SC2100 : Use $((..)) for arithmetics, e.g. i=$((i - 2))tests/federation_e2e.sh:478ShellCheck SC2034 : attempt appears unused. Verify use (or export if used externally).tests/federation_e2e.sh:489ShellCheck SC2100 : Use $((..)) for arithmetics, e.g. i=$((i - 2))tests/federation_e2e.sh:496ShellCheck SC2100 : Use $((..)) for arithmetics, e.g. i=$((i - 2))tests/federation_e2e.sh:551ShellCheck SC2100 : Use $((..)) for arithmetics, e.g. i=$((i - 2))tests/http_limits_e2e.sh:65ShellCheck SC2034 : attempt appears unused. Verify use (or export if used externally).tests/litmus_e2e.sh:140ShellCheck SC2034 : organization_uuid appears unused. Verify use (or export if used externally).tests/litmus_e2e.sh:149ShellCheck SC2034 : auth appears unused. Verify use (or export if used externally).tests/litmus_e2e.sh:81ShellCheck SC2034 : attempt appears unused. Verify use (or export if used externally).tests/network_drive_e2e.sh:170ShellCheck SC2209 : Use var=$(command) to assign output (or quote to assign string).tests/network_drive_e2e.sh:197ShellCheck SC2100 : Use $((..)) for arithmetics, e.g. i=$((i - 2))tests/network_drive_e2e.sh:73ShellCheck SC2034 : attempt appears unused. Verify use (or export if used externally).tests/nextcloud_ocm_e2e.sh:141ShellCheck SC2034 : email appears unused. Verify use (or export if used externally).tests/ocm_interop/nextcloud.sh:22ShellCheck SC2034 : attempt appears unused. Verify use (or export if used externally).tests/ocm_interop/peers.sh:58ShellCheck SC2034 : attempt appears unused. Verify use (or export if used externally).tests/organization_admin_e2e.sh:155ShellCheck SC2100 : Use $((..)) for arithmetics, e.g. i=$((i - 2))Migrations SQL (squawk) : 107 (53 high, 54 medium)
tests/sql/audit_invariants.sql:1squawk syntax-error : Missing semicolon between statementstests/sql/audit_invariants.sql:1squawk syntax-error : expected EQtests/sql/audit_invariants.sql:1squawk syntax-error : expected command, found ERRORtests/sql/discovery_sync_invariants.sql:1squawk syntax-error : Missing semicolon between statementstests/sql/discovery_sync_invariants.sql:1squawk syntax-error : expected EQtests/sql/discovery_sync_invariants.sql:1squawk syntax-error : expected command, found ERRORtests/sql/file_invariants.sql:1squawk syntax-error : Missing semicolon between statementstests/sql/file_invariants.sql:1squawk syntax-error : expected EQtests/sql/file_invariants.sql:1squawk syntax-error : expected command, found ERRORtests/sql/node_authority_invariants.sql:1squawk syntax-error : Missing semicolon between statementstests/sql/node_authority_invariants.sql:1squawk syntax-error : expected EQtests/sql/node_authority_invariants.sql:1squawk syntax-error : expected command, found ERRORtests/sql/ocm_remote_reshare_invariants.sql:1squawk syntax-error : Missing semicolon between statementstests/sql/ocm_remote_reshare_invariants.sql:1squawk syntax-error : expected EQtests/sql/ocm_remote_reshare_invariants.sql:1squawk syntax-error : expected command, found ERRORtests/sql/ocm_reshare_invariants.sql:1squawk syntax-error : Missing semicolon between statementstests/sql/ocm_reshare_invariants.sql:1squawk syntax-error : expected EQtests/sql/ocm_reshare_invariants.sql:1squawk syntax-error : expected command, found ERRORtests/sql/organization_domain_invariants.sql:1squawk syntax-error : Missing semicolon between statementstests/sql/organization_domain_invariants.sql:1squawk syntax-error : expected EQtests/sql/organization_domain_invariants.sql:1squawk syntax-error : expected command, found ERRORtests/sql/ownership_transfer_invariants.sql:1squawk syntax-error : Missing semicolon between statementstests/sql/ownership_transfer_invariants.sql:1squawk syntax-error : expected EQtests/sql/ownership_transfer_invariants.sql:1squawk syntax-error : expected command, found ERRORtests/sql/permission_invariants.sql:1squawk syntax-error : Missing semicolon between statementstests/sql/permission_invariants.sql:1squawk syntax-error : expected EQtests/sql/permission_invariants.sql:1squawk syntax-error : expected command, found ERRORtests/sql/public_share_invariants.sql:1squawk syntax-error : Missing semicolon between statementstests/sql/public_share_invariants.sql:1squawk syntax-error : expected EQtests/sql/public_share_invariants.sql:1squawk syntax-error : expected command, found ERRORtests/sql/quota_lifecycle.sql:1squawk syntax-error : Missing semicolon between statementstests/sql/quota_lifecycle.sql:1squawk syntax-error : expected EQtests/sql/quota_lifecycle.sql:1squawk syntax-error : expected command, found ERRORtests/sql/rls_isolation.sql:1squawk syntax-error : Missing semicolon between statementstests/sql/rls_isolation.sql:1squawk syntax-error : expected EQtests/sql/rls_isolation.sql:1squawk syntax-error : expected command, found ERRORtests/sql/rls_isolation.sql:3squawk syntax-error : expected command, found DOTtests/sql/rls_isolation.sql:3squawk syntax-error : expected command, found ERRORtests/sql/rls_isolation.sql:3squawk syntax-error : expected command, found IDENTtests/sql/rls_isolation.sql:3squawk syntax-error : expected command, found IDENTZig (zlint) : 235 (235 medium)
benchmarks/cachegrind.zig:60zlint unsafe-undefined :undefinedis missing a safety commentbenchmarks/cdc.zig:28zlint avoid-as : Prefer using type annotations over @as().benchmarks/ns_latency.zig:139zlint unsafe-undefined :undefinedis missing a safety commentbenchmarks/ns_latency.zig:55zlint unsafe-undefined :undefinedis missing a safety commentbenchmarks/ns_latency.zig:56zlint unsafe-undefined :undefinedis missing a safety commentsrc/api/client_encryption.zig:450zlint suppressed-errors : Caught error is mishandled withunreachablesrc/api/client_encryption.zig:495zlint suppressed-errors : Caught error is mishandled withunreachablesrc/api/client_encryption.zig:588zlint suppressed-errors : Caught error is mishandled withunreachablesrc/api/client_encryption.zig:8zlint unused-decls : variable 'middleware' is declared but never used.src/api/common.zig:72zlint suppressed-errors : Caught error is mishandled withunreachablesrc/api/common.zig:81zlint suppressed-errors : Caught error is mishandled withunreachablesrc/api/download.zig:22zlint unsafe-undefined : Do not useundefinedas a default valuesrc/api/download.zig:24zlint unsafe-undefined : Do not useundefinedas a default valuesrc/api/download.zig:25zlint unsafe-undefined : Do not useundefinedas a default valuesrc/api/download.zig:26zlint unsafe-undefined : Do not useundefinedas a default valuesrc/api/download.zig:27zlint unsafe-undefined : Do not useundefinedas a default valuesrc/api/drive.zig:300zlint unsafe-undefined :undefinedis missing a safety commentsrc/api/drive/approvals.zig:273zlint suppressed-errors : Caught error is mishandled withunreachablesrc/api/drive/shared.zig:6zlint unused-decls : variable 'tenancy' is declared but never used.src/api/drive/uploads.zig:21zlint unused-decls : variable 'mapShareError' is declared but never used.src/api/group_hierarchy.zig:7zlint unused-decls : variable 'middleware' is declared but never used.src/api/libregraph/education.zig:17zlint unused-decls : variable 'max_collection_size' is declared but never used.src/api/libregraph/users.zig:33zlint unused-decls : variable 'writeTimestamp' is declared but never used.src/api/oauth2.zig:498zlint unsafe-undefined :undefinedis missing a safety commentsrc/api/oauth2.zig:8zlint unused-decls : variable 'jwt' is declared but never used.src/api/oauth2.zig:9zlint unused-decls : variable 'middleware' is declared but never used.src/api/ocm.zig:99zlint suppressed-errors : Caught error is mishandled withunreachablesrc/api/ocm_incoming.zig:6zlint unused-decls : variable 'middleware' is declared but never used.src/api/organization_admin.zig:8zlint unused-decls : variable 'middleware' is declared but never used.src/api/organization_units.zig:7zlint unused-decls : variable 'middleware' is declared but never used.src/api/remote_files.zig:8zlint unused-decls : variable 'middleware' is declared but never used.src/api/webdav.zig:10zlint unused-decls : variable 'storage' is declared but never used.src/api/webdav.zig:1551zlint unsafe-undefined : Do not useundefinedas a default valuesrc/api/webdav.zig:1978zlint suppressed-errors : Caught error is mishandled withunreachablesrc/api/wopi.zig:7zlint unused-decls : variable 'middleware' is declared but never used.src/auth/keys.zig:11zlint unused-decls : variable 'log' is declared but never used.src/auth/keys.zig:37zlint unsafe-undefined : Do not useundefinedas a default valuesrc/auth/lockout.zig:1zlint unused-decls : variable 'std' is declared but never used.src/auth/mfa.zig:117zlint unsafe-undefined :undefinedis missing a safety commentsrc/auth/mfa.zig:162zlint unsafe-undefined :undefinedis missing a safety commentSection mise à jour : 2026-10-20 01:44 UTC
Couverture SonarQube : 1 (1 unknown)
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 :
osv-scanner.toml,[[IgnoredVulns]]avecid,reasonetignoreUntil;.betterleaksignore(empreintes) ou.betterleaks.toml; un secret réellement publié doit être révoqué, l'historique Git le conserve ;nosemgrep: <règle>ou.semgrepignore(syntaxe de Semgrep, reprise par Opengrep) ;.trivyignore;// 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.