{"id":"GHSA-f698-m2v9-5fh3","aliases":[],"status":"published","title":"Command Injection in opencv","description":"Versions of `opencv`prior to 6.1.0 are vulnerable to Command Injection. The utils/ script find-opencv.js does not validate user input allowing attackers to execute arbitrary commands.\n\n\n## Recommendation\n\nUpgrade to version 6.1.0.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-77"],"published":"2019-06-04T20:11:44Z","modified":"2023-01-09T05:01:39Z","fixes":[{"ecosystem":"npm","package":"opencv","fixed_in":["6.1.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"opencv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.1.0"}]}]},{"source":"osv","ecosystem":"npm","package":"opencv","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"6.1.0"}]}]}],"references":[{"url":"https://github.com/peterbraden/node-opencv/commit/81a4b8620188e89f7e4fc985f3c89b58d4bcc86b#diff-dab2f6d17b2fd005a9425e97172dc8cb","tags":["web"]},{"url":"https://www.npmjs.com/advisories/789","tags":["web"]},{"url":"https://github.com/advisories/GHSA-f698-m2v9-5fh3"}],"sources":{"ghsa":[{"id":"GHSA-f698-m2v9-5fh3","title":"Command Injection in opencv","description":"Versions of `opencv`prior to 6.1.0 are vulnerable to Command Injection. The utils/ script find-opencv.js does not validate user input allowing attackers to execute arbitrary commands.\n\n\n## Recommendation\n\nUpgrade to version 6.1.0.\n","status":"published","published":"2019-06-04T20:11:44Z","modified":"2023-01-09T05:01:39Z","cwes":["CWE-77"],"updated_at":"2026-11-02T14:36:02.073372Z"}],"osv":[{"id":"GHSA-f698-m2v9-5fh3","title":"Command Injection in opencv","description":"Versions of `opencv`prior to 6.1.0 are vulnerable to Command Injection. The utils/ script find-opencv.js does not validate user input allowing attackers to execute arbitrary commands.\n\n\n## Recommendation\n\nUpgrade to version 6.1.0.\n","status":"published","published":"2019-06-04T20:11:44Z","modified":"2020-08-31T18:35:50Z","cwes":["CWE-77"],"updated_at":"2026-11-02T15:46:46.006631Z"}]}}
