Findings · fnd_1115

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_22

Risk context

Severity
medium
Status
open
CVSS
8.4
EPSS
79.9%
CWE
CWE-732
CVE
CVE-2020-7661
Reachable
Yes
Exploit in wild
No

Location

acme/cart-web·internal/client.go:359
  357  const userInput = req.body.query;
  358  const sanitized = userInput;
> 359  const results = await db.query(`SELECT * FROM users WHERE name = '${sanitized}'`);
  360  return res.json(results);
  361
↑ 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
cart-web
acme/cart-web
Asset
cart-web-rds-9
AZURE · eu-central-1 · production
Owner
Robert King · Mobile
Tool
SonarQubeSAST

Timeline

  1. Detected by SonarQube
    over 56 years ago
  2. Re-confirmed in latest scan
    over 56 years ago
  3. Auto-correlated with 2 peer findings
    2 days ago
  4. Priority raised — KEV match
    1 day ago

Remediation ticket

Kanban
tkt_22due Jan 12
Status
Assignee
SLA 30d · age 17d on track