apache-airflow-providers-keycloak@0.11.1rc1

Provider package apache-airflow-providers-keycloak for Apache Airflow

  • latest version

    0.11.2

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    1 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the apache-airflow-providers-keycloak package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Insufficient Session Expiration

    apache-airflow-providers-keycloak is a Provider package apache-airflow-providers-keycloak for Apache Airflow

    Affected versions of this package are vulnerable to Insufficient Session Expiration via KeycloakJWTMiddleware.dispatch in middleware.py, where the middleware unconditionally issues a freshly signed Airflow JWT on every response after refreshing the user. When a request is made to the logout endpoint, the endpoint revokes the JWT that arrived with the request, but the middleware then replaces it with a new, unrevoked token and sets it on the response. This allows a session to remain fully usable after a user has logged out.

    How to fix Insufficient Session Expiration?

    Upgrade apache-airflow-providers-keycloak to version 0.11.1 or higher.

    [,0.11.1)
    • M
    Incorrect Permission Assignment for Critical Resource

    apache-airflow-providers-keycloak is a Provider package apache-airflow-providers-keycloak for Apache Airflow

    Affected versions of this package are vulnerable to Incorrect Permission Assignment for Critical Resource via the is_authorized_view method in the Keycloak auth manager, which checked every AccessView against the single View resource. In multi-team mode, the create-team command grants ViewAccess (GET on View) to every team role, so the admin-only views AUDIT_LOGS_ALL, IMPORT_ERRORS_ALL, and REPARSE_ALL - which cover records not tied to a DAG or a team - are readable by any team member across all teams. An authenticated team member can access audit logs, import errors, and reparse data belonging to other teams without authorization.

    Note: This is only exploitable when [core] multi_team is enabled.

    How to fix Incorrect Permission Assignment for Critical Resource?

    Upgrade apache-airflow-providers-keycloak to version 0.11.1 or higher.

    [,0.11.1)