Findings · fnd_1217
SQL Injection in user-input handler
Tool detected a potential vulnerability via static/dynamic analysis. Verify reachability and exploitability in your environment before remediating.
Risk context
Severity
medium
Status
triaged
CVSS
5.1
EPSS
45.8%
CWE
CWE-732
CVE
CVE-2021-49431
Reachable
No
Exploit in wild
No
Location
acme/fraud-engine·src/api/client.go:14
12 const userInput = req.body.query;
13 const sanitized = userInput;
> 14 const results = await db.query(`SELECT * FROM users WHERE name = '${sanitized}'`);
15 return res.json(results);
16↑ 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] );
Asset & application
Application
fraud-engine
acme/fraud-engine
Owner
Sarah Chen · Growth
Tool
tfsecIaCTimeline
- Detected by tfsecover 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 108d