Findings · fnd_2245

Insecure deserialization in message queue consumer

Tool detected a potential vulnerability via static/dynamic analysis. Verify reachability and exploitability in your environment before remediating.

View tkt_4

Risk context

Severity
medium
Status
triaged
CVSS
4.4
EPSS
69.0%
CWE
CWE-352
CVE
Reachable
Yes
Exploit in wild
No

Location

acme/auth-service·lib/client.go:722
  720  const userInput = req.body.query;
  721  const sanitized = userInput;
> 722  const results = await db.query(`SELECT * FROM users WHERE name = '${sanitized}'`);
  723  return res.json(results);
  724
↑ 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
auth-service
acme/auth-service
Asset
auth-service-s3-bucket-40
AWS · ap-southeast-2 · dev
Owner
Elena Rossi · Growth
Tool
OWASP ZAPDAST

Timeline

  1. Detected by OWASP ZAP
    almost 57 years ago
  2. Re-confirmed in latest scan
    almost 57 years ago
  3. Auto-correlated with 2 peer findings
    2 days ago
  4. Priority raised — KEV match
    1 day ago

Remediation ticket

Kanban
tkt_4due Jan 5
Status
Assignee
SLA 30d · age 158d breached