Skip to content

v7.3.1

Latest

Choose a tag to compare

@Josephalexantony-aot Josephalexantony-aot released this 20 Nov 11:45
a22a2fe

This is a security release for formsflow.ai 7.3. It fixes vulnerabilities in the application code, Python, Java and JavaScript dependencies, and Docker images. It also removes default secrets from the sample configuration and pins the bundled Redis to a BSD-licensed version. There are no new features. Read the upgrade notes before upgrading, because some settings are now required.

🔒 Security Fixes

forms-flow-api / forms-flow-api-utils

  • Replaced python-jose/ecdsa with PyJWT, fixing the ecdsa timing attack (CVE-2024-23342)
  • Upgraded flask-jwt-oidc to 0.8.0 and other vulnerable Python dependencies (cryptography, PyJWT, Werkzeug, urllib3, requests, pyasn1)
  • PDF generation now sends the user's token only to formsflow hosts. Before, headless Chrome sent it to every host the page loaded content from
  • Removed selenium-wire; request headers are set through the Chrome DevTools Protocol

forms-flow-documents

  • PDF templates, including custom templates sent by callers, are rendered in a sandboxed Jinja environment to prevent template injection
  • Upgraded Flask to 3.1.3 (CVE-2026-27205) and flask-jwt-oidc to 0.9.0
  • Replaced python-jose/ecdsa with PyJWT and upgraded vulnerable Python dependencies

forms-flow-data-layer

  • Replaced python-jose/ecdsa with PyJWT for Keycloak token checks
  • Upgraded strawberry-graphql to 0.327.2, dnspython to 2.9.2 and other vulnerable Python dependencies

forms-flow-bpm

  • Upgraded Spring, Tomcat, Jackson, Netty, BouncyCastle, logback, httpclient5/httpcore5, json-smart (CVE-2024-57699), ant and the PostgreSQL driver
  • Replaced the shaded camunda-spin-dataformat-all with the JSON and XML Spin dataformats, so Jackson and json-smart use patched versions

forms-flow-web / forms-flow-web-root-config

  • Upgraded vulnerable frontend dependencies, including serialize-javascript 7.1.3, dompurify 3.4.17, body-parser, follow-redirects and qs

forms-flow-idm

  • Upgraded Keycloak to 26.7.5 in the IdP selector extension

forms-flow-analytics, forms-flow-bpm and forms-flow-web-root-config

  • Removed the default REDASH_COOKIE_SECRET, REDASH_SECRET_KEY and WEBSOCKET_ENCRYPT_KEY values from the sample configuration. Docker Compose now refuses to start until you set your own

🐳 Docker Images

  • Python images (api, documents, data-layer) use Debian 13 (python:3.13.16-slim-trixie) and no longer include pip
  • Web images use nginx:1.30-alpine, and all images install OS security updates at build time
  • forms-flow-documents uses Debian's Chromium and ChromeDriver instead of Chrome 116, which could no longer be downloaded, so the image could not be built
  • Images are signed with cosign and built for amd64 and arm64
  • Across the six published images, Trivy findings went from 4,484 to 1,997. Critical findings went from 92 to 6, and none of the remaining 6 has a fix available yet

🐞 Bug Fixes

  • Form.io token caching no longer fails when the token cannot be decoded
  • The sentiment-analysis job image builds again (psycopg2-binary is used instead of compiling psycopg2)

✏️ Modified

forms-flow-redis / deployment

  • The bundled Redis is pinned to redis:7.2.17-alpine (BSD-3-Clause). The unpinned redis:alpine now installs Redis 8.x, which is licensed under AGPL, RSAL or SSPL

forms-flow-web-root-config

  • The web image, Docker Compose files and sample.env load the v7.3.1 micro-frontends

⬆️ Upgrade Notes

Required settings

  • Set WEBSOCKET_ENCRYPT_KEY in .env, using the same value for forms-flow-bpm and forms-flow-web (REACT_APP_WEBSOCKET_ENCRYPT_KEY). If you used the old default value, generate a new one (for example openssl rand -hex 32)
  • Set REDASH_COOKIE_SECRET and REDASH_SECRET_KEY before starting Redash. If you used the old sample values, change both

forms-flow-documents

  • PDFs are rendered with Chromium (156 at release time) instead of Google Chrome 116. Check custom PDF templates for layout differences
  • Custom PDF templates can no longer use Flask globals (config, request, session, g). Templates that do are rejected with 400 TEMPLATE_UNSAFE
  • Give the container a memory limit of at least 1 GiB. With 512 MiB the container runs out of memory during PDF export, which shows up as a 502 error. Tested settings: requests cpu: 300m, memory: 512Mi; limits cpu: 400m, memory: 1Gi

forms-flow-bpm

  • Spring Boot 3.4.13. The Docker image uses eclipse-temurin:21-jdk-jammy instead of openjdk:21-ea-jdk
  • Custom extensions that import Jackson from spinjar.com.fasterxml.jackson.* must import com.fasterxml.jackson.* instead

forms-flow-api-utils

  • flask-jwt-oidc 0.9.0 changed contains_role/validate_roles to (roles, claims=None). Custom code that calls these methods directly should pass keyword arguments

forms-flow-web / forms-flow-web-root-config

  • Builds require Node.js 24 (24.21.0); Node.js 18 is no longer supported

forms-flow-redis

  • The bundled Redis moves from 8.x to 7.2.17. It holds only cache data and has no volume, so no data migration is needed

🛠 Generic Changes

  • GitHub Actions log in to Docker Hub with short-lived OIDC tokens instead of a stored password, and published images are signed with cosign
  • Added SECURITY.md for private vulnerability reporting, GOVERNANCE.md, and an OSV dependency vulnerability scan workflow
  • Added .dockerignore files so images contain only runtime files
  • The forms-flow-data-analysis-api CI/CD workflows were removed, as on develop

⚠️ Known Issues

  • No formsflow/forms-flow-data-analysis-api image is published for 7.3.1. The source code fixes are included, so you can build the image from source
  • formsflow/forms-flow-forms is unchanged; use v7.3.0
  • A few OS packages (such as util-linux, krb5 and ncurses) have advisories with no fixed Debian release yet
  • The chromium package in forms-flow-documents has open advisories until Debian publishes its next Chromium security update. Rebuild the image to pick it up
  • forms-flow-bpm includes Spring Framework 6.2 / Spring Security 6.4 advisories (CVE-2026-47884, CVE-2026-47890, CVE-2026-47892, CVE-2026-22732) that are fixed only in Spring Boot 3.5.x or 4.x. This needs an application upgrade and is tracked separately
  • Two Spring Boot 3.4.13 actuator advisories (CVE-2026-22731, CVE-2026-22733) are fixed only in 3.5.x. Neither applies to the default configuration

📦 Docker Images

Image Tag
formsflow/forms-flow-webapi v7.3.1
formsflow/forms-flow-bpm v7.3.1
formsflow/forms-flow-documents-api v7.3.1
formsflow/forms-flow-data-layer v7.3.1
formsflow/forms-flow-web v7.3.1
formsflow/keycloak-customizations v7.3.1
formsflow/forms-flow-forms v7.3.0 (unchanged)

Full details: CHANGELOG.md