p PatchFirst

PatchFirst · Aktuelle Sicherheitslücken

Sicherheitslücken in @saltcorn/data

In den letzten 30 Tagen veröffentlichte Sicherheitslücken für @saltcorn/data: 0. Davon im KEV-Katalog: 0.

Sicherheitslücken filtern
Filter zurücksetzen

Sicherheitslücken: 2

  1. GHSA-9237-rg5p-rhfw

    Hoch · CVSS 8.7Korrektur verfügbar

    @saltcorn/data: Tenant user role is used for tenant creation role check

    ## Summary When a tenant admin is logged out of the root domain (e.g., saltcorn.com) but logged in to their own tenant space as admin, they can simply append `/tenant/create` to their tenant URL. The system reads the role from the tenant context (admin), and a new tenant is created on the **root domain** (in `PUBLIC SCHEMA > _sc_tenants`), rather than in the tenant's own `_sc_tenants` table. If the same logic applies to other routes, a tenant admin effectively gains admin rights on the root domain. ## PoC A tenant-created subtenant appears under the Saltcorn public schema instead of the tenant's own schema. - Even when `role_id=1` is req

    • Auf 1.4.4 aktualisieren
    • Auf 1.5.2 aktualisieren
    • Auf 1.6.0-beta.2 aktualisieren
    Veröffentlicht Aktualisiert
  2. GHSA-59xv-588h-2vmm

    Niedrig · CVSS 0Korrektur verfügbar

    @saltcorn/data vulnerable to SQL Injection via jsexprToSQL Literal Handler

    ## Summary The `jsexprToSQL()` function in Saltcorn converts JavaScript expressions to SQL for use in database constraints. The `Literal` handler wraps string values in single quotes without escaping embedded single quotes, allowing SQL injection when creating Formula-type table constraints. ## Vulnerable Component **File:** `packages/saltcorn-data/models/expression.ts`, lines 117-118 ```typescript Literal({ value }: { value: ExtendedNode }) { if (typeof value == "string") return `'${value}'`; // NO ESCAPING! return `${value}`; }, ``` **Call chain:** Formula constraint creation → `table_constraints.ts:127` → `jsexprToSQL()` → `Lite

    • Auf 1.4.5 aktualisieren
    • Auf 1.5.5 aktualisieren
    • Auf 1.6.0-beta.4 aktualisieren
    Veröffentlicht Aktualisiert

Prüfen Sie Ihren Server

Gleichen Sie Ihren installierten Stack und seine Versionen mit den aktuellen Sicherheitsmeldungen ab.

Prüfen Sie Ihren Server →