Findings · fnd_1450
Container running as root
Tool detected a potential vulnerability via static/dynamic analysis. Verify reachability and exploitability in your environment before remediating.
Risk context
Severity
medium
Status
accepted
CVSS
7.8
EPSS
46.4%
CWE
CWE-732
CVE
CVE-2022-29551
Reachable
Yes
Exploit in wild
KEV
Location
acme/ledger·internal/worker.py:528
526 const userInput = req.body.query;
527 const sanitized = userInput;
> 528 const results = await db.query(`SELECT * FROM users WHERE name = '${sanitized}'`);
529 return res.json(results);
530↑ Unsafe string interpolation into SQL query
Remediation
Update affected dependency, sanitize input, or apply the recommended hardening from your tool vendor's advisory.
Suggested fix
const results = await db.query( 'SELECT * FROM users WHERE name = $1', [sanitized] );
Correlated findings (2)
Same root cause detected by other tools
Asset & application
Application
ledger
acme/ledger
Owner
James Ortiz · Checkout
Tool
CheckovIaCTimeline
- Detected by Checkovover 56 years ago
- Re-confirmed in latest scanover 56 years ago
- Auto-correlated with 2 peer findings2 days ago
- Priority raised — KEV match1 day ago
Remediation ticket
No remediation ticket yet. Create one to assign an owner and track it on the Remediation kanban.
SLA 30d · age 82d