Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

yiisoft/yii2-queue
master @ 16e5b95
2
Fixes
0
CVEs
MEDIUM
Peak severity
Highlights
Command Injection: 1 prior fix. Scrutinize any change in this area.
src/cli/Command.php: most-fixed (2 issues). Treat as high-risk during review.
0 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Command Injection: Using shell-string concatenation when spawning queue sub-processes allows local users or process managers to inject arbitrary shell commands. This is mitigated by passing arguments as an array to the underlying process runner.
Denial of Service: Spawning worker sub-processes without enforcing a maximum time-to-run (TTR) timeout allows rogue or hanging jobs to exhaust server resources indefinitely.