Advisory

GHSA-xcp4-62vj-cq3r

Also known as: CVE-2024-34706

Summary

@valtimo/components exposes access token to form.io

Details

Impact
When opening a form in Valtimo, the access token (JWT) of the user is exposed to api.form.io via the the x-jwt-token header. An attacker can retrieve personal information from this token, or use it to execute requests to the Valtimo REST API on behalf of the logged-in user.

This issue is caused by a misconfiguration of the Form.io component.

Attack requirements ###
The following conditions have to be met in order to perform this attack:

  • An attacker needs to have access to the network traffic on the api.form.io domain.
  • The content of the x-jwt-token header is logged or otherwise available to the attacker.
  • An attacker needs to have network access to the Valtimo API.
  • An attacker needs to act within the time-to-live of the access token. The default TTL in Keycloak is 5 minutes.

Patches
Versions 10.8.4, 11.1.6 and 11.2.2 have been patched

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2024-05-13 16:04 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

@valtimo/components

npm · All systems

Affected

  • introduced 0, fixed 10.8.4 (semver)

Fixed versions

10.8.4

Fix

@valtimo/components

npm · All systems

Affected

  • introduced 11.0.0, fixed 11.1.6 (semver)

Fixed versions

11.1.6

Fix

@valtimo/components

npm · All systems

Affected

  • introduced 11.2.0, fixed 11.2.2 (semver)

Fixed versions

11.2.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences