String Concatenation with Event Data
AWS Lambda event fields are directly concatenated into SQL query strings without parameterization.
SQL injection vulnerability where untrusted AWS Lambda event fields are concatenated into SQL strings sent to pg without parameters or proper escaping, potentially allowing attackers to alter or read database data, execute arbitrary SQL, escalate privileges, or exfiltrate sensitive information.
Configuration changes required - see explanation below.
Configuration changes required - see explanation below.
AWS Lambda event fields are directly concatenated into SQL query strings without parameterization.
Sourcery automatically identifies sql injection from aws lambda event data in node pg query and many other security issues in your codebase.