{"id":"CVE-2024-0195","published":"2024-01-02T21:00:05Z","modified":"2025-06-17T20:29:06Z","title":"spider-flow FunctionController.java FunctionService.saveFunction code injection","vendor":null,"product":null,"tier":"tail","description":{"text":"A vulnerability, which was classified as critical, was found in spider-flow 0.4.3. Affected is the function FunctionService.saveFunction of the file src/main/java/org/spiderflow/controller/FunctionController.java. The manipulation leads to code injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. VDB-249510 is the identifier assigned to this vulnerability.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.19253,"percentile":0.97401,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://vuldb.com/?id.249510","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.249510","tags":["signature","permissions-required"]},{"url":"https://github.com/laoquanshi/puppy/blob/main/spider-flow%20code%20injection%20causes%20rce.md","tags":["broken-link","exploit"]}],"priority":{"score":28.9,"factors":[{"name":"EPSS percentile","points":19.48},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.41}]},"exploitSources":{"pocGithub":{"count":2,"skipped":1,"earliest":"2024-06-11","earliestUrl":"https://github.com/Cappricio-Securities/CVE-2024-0195","repos":[{"name":"gh-ost00/CVE-2024-0195-SpiderFlow","url":"https://github.com/gh-ost00/CVE-2024-0195-SpiderFlow","stars":5,"created":"2024-08-31"},{"name":"Cappricio-Securities/CVE-2024-0195","url":"https://github.com/Cappricio-Securities/CVE-2024-0195","stars":1,"created":"2024-06-11"}]},"nuclei":[{"id":"CVE-2024-0195","name":"SpiderFlow Crawler Platform - Remote Code Execution","severity":"critical","path":"http/cves/2024/CVE-2024-0195.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-0195.yaml"}],"first":{"date":"2024-06-11","source":"PoC-in-GitHub","url":"https://github.com/Cappricio-Securities/CVE-2024-0195"},"provenance":"source"},"affectedVersions":[{"vendor":"n/a","product":"spider-flow","versions":["0.4.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-01-08T20:22:57.428593Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"A code injection flaw exists in the saveFunction method of FunctionService, as used by the FunctionController.java controller in spider-flow version 0.4.3 (src/main/java/org/spiderflow/controller/FunctionController.java). An attacker with network access and low-privileged authentication can craft input that manipulates how code is generated, resulting in injected code being executed, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:03:44Z"},"euvd":{"id":"EUVD-2024-15994","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/laoquanshi/puppy/blob/main/spider-flow%20code%20injection%20causes%20rce.md"]}