{"answers":{"affected":"6 open source packages ship an affected version, including @valtimo/components.","exploited":"There is no known exploitation of CVE-2024-34706 in the wild and no public exploit code.","fix":"Upgrade @valtimo/components to a fixed version for your release line: 10.8.4, 11.1.6 or 11.2.2.","what":"CVE-2024-34706 is a critical vulnerability in valtimo-platform valtimo-frontend-libraries, published on 13 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-34706 and fix it if it is affected.\n\nWhat it is: CVE-2024-34706 is a critical vulnerability in valtimo-platform valtimo-frontend-libraries, published on 13 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-34706 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @valtimo/components (npm): affected all versions; fixed in 10.8.4\n- @valtimo/components (npm): affected all versions; fixed in 10.8.4\n- @valtimo/components (npm): affected from 11.0.0; fixed in 11.1.6\n- @valtimo/components (npm): affected from 11.0.0; fixed in 11.1.6\n- @valtimo/components (npm): affected from 11.2.0; fixed in 11.2.2\n- @valtimo/components (npm): affected from 11.2.0; fixed in 11.2.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-34706/ (Markdown: https://insights.sbomify.com/CVE-2024-34706/index.md)","id":"CVE-2024-34706","markdown":"https://insights.sbomify.com/CVE-2024-34706/index.md","name":"CVE-2024-34706","record":{"aliases":["GHSA-xcp4-62vj-cq3r"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["data_read","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Valtimo frontend library","requires_auth":"none","summary":"Attackers with network access can steal JWT tokens exposed to Form.io, allowing them to read personal data or impersonate users.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"description":"Valtimo is an open source business process and case management platform. 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.\n\nThe 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; and an attacker needs to act within the time-to-live of the access token. The default TTL in Keycloak is 5 minutes.\n\nVersions 10.8.4, 11.1.6 and 11.2.2 have been patched.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"@valtimo/components exposes access token to form.io","id":"CVE-2024-34706","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"information_disclosure","year":"2024"},"n_packages":6,"n_references":4,"next":{"headline":"Nautobot's BANNER_* configuration can be used to inject arbitrary HTML content into Nautobot pages","id":"CVE-2024-34707"},"packages":[{"ecosystem":"npm","fixed":["10.8.4"],"introduced":["0"],"last_affected":[],"package":"@valtimo/components","purl":null,"source":"GHSA-xcp4-62vj-cq3r"},{"ecosystem":"npm","fixed":["10.8.4"],"introduced":["0"],"last_affected":[],"package":"@valtimo/components","purl":"pkg:npm/%40valtimo/components","source":"GHSA-xcp4-62vj-cq3r"},{"ecosystem":"npm","fixed":["11.1.6"],"introduced":["11.0.0"],"last_affected":[],"package":"@valtimo/components","purl":null,"source":"GHSA-xcp4-62vj-cq3r"},{"ecosystem":"npm","fixed":["11.1.6"],"introduced":["11.0.0"],"last_affected":[],"package":"@valtimo/components","purl":"pkg:npm/%40valtimo/components","source":"GHSA-xcp4-62vj-cq3r"},{"ecosystem":"npm","fixed":["11.2.2"],"introduced":["11.2.0"],"last_affected":[],"package":"@valtimo/components","purl":null,"source":"GHSA-xcp4-62vj-cq3r"},{"ecosystem":"npm","fixed":["11.2.2"],"introduced":["11.2.0"],"last_affected":[],"package":"@valtimo/components","purl":"pkg:npm/%40valtimo/components","source":"GHSA-xcp4-62vj-cq3r"}],"prev":{"headline":"era-compiler-solidity contains a `xor(zext(cmp), -1)` misoptimization","id":"CVE-2024-34704"},"products":["valtimo-frontend-libraries"],"published":"2024-05-13","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["valtimo-platform"]},"summary":"Attackers with network access can steal JWT tokens exposed to Form.io, allowing them to read personal data or impersonate users.","url":"https://insights.sbomify.com/CVE-2024-34706/"}