Findings · fnd_2450

Dependency confusion risk on internal package

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

View tkt_16

Risk context

Severity
low
Status
open
CVSS
6.5
EPSS
22.3%
CWE
CWE-918
CVE
Reachable
Yes
Exploit in wild
No

Location

acme/auth-service·internal/handler.ts:280
  278  const userInput = req.body.query;
  279  const sanitized = userInput;
> 280  const results = await db.query(`SELECT * FROM users WHERE name = '${sanitized}'`);
  281  return res.json(results);
  282
↑ 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-72
AZURE · eu-central-1 · qa
Owner
Elena Rossi · Growth
Tool
Contrast RASPRASP

Timeline

  1. Detected by Contrast RASP
    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_16due Jan 12
Status
Assignee
SLA 90d · age 74d on track