awswrangler is vulnerable to Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
50
CVE Score
Medium
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
awswrangler.athena.to_iceberg() interpolates table and column names into Athena Iceberg CREATE TABLE, ALTER TABLE, and DML SQL without escaping embedded backticks or double quotes; column names may come from the DataFrame and Glue schema reconciliation. If an attacker can influence those identifiers and induce a call, they can break out of identifier syntax and inject SQL executed with the application's Athena permissions, affecting data and schema integrity and query availability. The fix escapes identifier delimiters before building these statements.
Upgrade the awswrangler package to version 3.17.1 or later.
You are affected if you are using a version that falls within the vulnerable range and are calling to_iceberg to create or alter Iceberg tables in Athena from a DataFrame whose column names originate from an external or catalog-controlled schema.
3.1.0 - 3.17.0
Fixed in 3.17.1awswrangler is vulnerable to Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in versions 3.1.0 - 3.17.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.