{"answers":{"affected":"6 open source packages ship an affected version, including @budibase/bbui, @budibase/builder and @budibase/worker. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-3225 in the wild and no public exploit code.","fix":"Upgrade @budibase/bbui to 1.3.20 or later.","what":"CVE-2022-3225 is a high-severity code injection vulnerability in budibase/budibase, published on 16 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-3225 and fix it if it is affected.\n\nWhat it is: CVE-2022-3225 is a high-severity code injection vulnerability in budibase/budibase, published on 16 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-3225 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @budibase/bbui (npm): affected all versions; fixed in 1.3.20\n- @budibase/bbui (npm): affected all versions; fixed in 1.3.20\n- @budibase/builder (npm): affected all versions; fixed in 1.3.20\n- @budibase/builder (npm): affected all versions; fixed in 1.3.20\n- @budibase/worker (npm): affected all versions; fixed in 1.3.20\n- @budibase/worker (npm): affected all versions; fixed in 1.3.20\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-2022-3225/ (Markdown: https://insights.sbomify.com/CVE-2022-3225/index.md)","id":"CVE-2022-3225","markdown":"https://insights.sbomify.com/CVE-2022-3225/index.md","name":"CVE-2022-3225","record":{"aliases":["GHSA-x92g-49gh-63qm"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Budibase low-code platform","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary code via improper control of dynamically managed resources in the Budibase low-code platform.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntrdev","cpe":[{"product":"budibase","vendor":"budibase"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-913","name":"Improper Control of Dynamically-Managed Code Resources"}],"description":"Improper Control of Dynamically-Managed Code Resources in GitHub repository budibase/budibase prior to 1.3.20.","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":"Improper Control of Dynamically-Managed Code Resources in budibase/budibase","id":"CVE-2022-3225","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"code_injection","year":"2022"},"n_packages":6,"n_references":2,"next":{"headline":"Command injection in Sophos Firewall","id":"CVE-2022-3226"},"packages":[{"ecosystem":"npm","fixed":["1.3.20"],"introduced":["0"],"last_affected":[],"package":"@budibase/bbui","purl":null,"source":"GHSA-x92g-49gh-63qm"},{"ecosystem":"npm","fixed":["1.3.20"],"introduced":["0"],"last_affected":[],"package":"@budibase/bbui","purl":"pkg:npm/%40budibase/bbui","source":"GHSA-x92g-49gh-63qm"},{"ecosystem":"npm","fixed":["1.3.20"],"introduced":["0"],"last_affected":[],"package":"@budibase/builder","purl":null,"source":"GHSA-x92g-49gh-63qm"},{"ecosystem":"npm","fixed":["1.3.20"],"introduced":["0"],"last_affected":[],"package":"@budibase/builder","purl":"pkg:npm/%40budibase/builder","source":"GHSA-x92g-49gh-63qm"},{"ecosystem":"npm","fixed":["1.3.20"],"introduced":["0"],"last_affected":[],"package":"@budibase/worker","purl":null,"source":"GHSA-x92g-49gh-63qm"},{"ecosystem":"npm","fixed":["1.3.20"],"introduced":["0"],"last_affected":[],"package":"@budibase/worker","purl":"pkg:npm/%40budibase/worker","source":"GHSA-x92g-49gh-63qm"}],"prev":{"headline":"Misinterpretation of Input in ionicabizau/parse-url","id":"CVE-2022-3224"},"products":["budibase/budibase"],"published":"2022-09-16","related":[{"cvss_score":10,"headline":"Budibase: Anonymous NoSQL operator injection via published-app query templates","id":"CVE-2026-54350","kev_date_added":null,"published":"2026-06-26"},{"cvss_score":9.9,"headline":"Budibase Vulnerable to Remote Code Execution via Unsafe eval() in View Filter Map Function (Budibase Cloud)","id":"CVE-2026-27702","kev_date_added":null,"published":"2026-02-25"},{"cvss_score":9.6,"headline":"Budibase: Arbitrary file read by workspace-builder via PWA-zip symlink upload","id":"CVE-2026-54352","kev_date_added":null,"published":"2026-06-26"},{"cvss_score":9.6,"headline":"Budibase: Server-Side Request Forgery via REST Connector with Empty Default Blacklist","id":"CVE-2026-31818","kev_date_added":null,"published":"2026-04-03"},{"cvss_score":9.6,"headline":"Budibase PWA ZIP Upload Path Traversal Allows Reading Arbitrary Server Files Including All Environment Secrets","id":"CVE-2026-30240","kev_date_added":null,"published":"2026-03-09"},{"cvss_score":9.1,"headline":"Budibase: Authentication Bypass via Unanchored Regex in Public Endpoint Matcher — Unauthenticated Access to Protected Endpoints","id":"CVE-2026-41428","kev_date_added":null,"published":"2026-04-24"},{"cvss_score":9.1,"headline":"Budibase: Unauthenticated Remote Code Execution via Webhook Trigger and Bash Automation Step","id":"CVE-2026-35216","kev_date_added":null,"published":"2026-04-03"}],"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["budibase"]},"summary":"Attackers can execute arbitrary code via improper control of dynamically managed resources in the Budibase low-code platform.","url":"https://insights.sbomify.com/CVE-2022-3225/"}