Security mailing lists by PureSourceCode

GHSA-9wjh-jr2j-6r4x

HIGH

Remote Code Execution in pi_video_recording

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/startcreates a file in the /tmp/ directory

Recommendation

No fix is currently available. Consider using an alternative module until a fix is made available.

Published
2 Sep 2020
Last modified
31 Aug 2020
Weakness
CWE-20
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm pi_video_recording all versions

References

History

  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 2 Sep 2020)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.