Findings · fnd_296

Open Redis without auth

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

View tkt_23

Risk context

Severity
info
Status
triaged
CVSS
6.4
EPSS
64.1%
CWE
CWE-732
CVE
Reachable
Yes
Exploit in wild
No

Location

acme/notifications·services/handler.ts:265
  263  const userInput = req.body.query;
  264  const sanitized = userInput;
> 265  const results = await db.query(`SELECT * FROM users WHERE name = '${sanitized}'`);
  266  return res.json(results);
  267
↑ 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
notifications
acme/notifications
Asset
notifications-vm-79
GCP · ap-southeast-2 · staging
Owner
James Ortiz · Infra
Tool
GitleaksSecrets

Timeline

  1. Detected by Gitleaks
    almost 57 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_23due Jan 22
Status
Assignee
SLA 180d · age 144d on track