Findings · fnd_498

JWT signed with weak HS256 secret

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

View tkt_13

Risk context

Severity
medium
Status
triaged
CVSS
6.5
EPSS
27.4%
CWE
CWE-502
CVE
CVE-2021-15227
Reachable
No
Exploit in wild
No

Location

acme/tax-svc·lib/db.rb:40
  38  const userInput = req.body.query;
  39  const sanitized = userInput;
> 40  const results = await db.query(`SELECT * FROM users WHERE name = '${sanitized}'`);
  41  return res.json(results);
  42
↑ 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
tax-svc
acme/tax-svc
Asset
tax-svc-lambda-2
AWS · eu-central-1 · staging
Owner
Diego Luna · ML
Tool
ProwlerCSPM

Timeline

  1. Detected by Prowler
    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_13due Jan 19
Status
Assignee
SLA 30d · age 174d breached