Skip to content

SECURITY: Copy from parquet does not use parameterized inserts #83

Description

@rgooding

The inserts in copy_from_parquet.go and copy_from_parquet_partitioned.go dump raw values into the CQL string when performing their inserts instead of using parameterized values. In contrast the inserts in copy.go correctly use placeholders to parameterize the values.

Not using parameterized queries risks bad formatting of binary values and more importantly allows for CQL injections via a malicious parquet file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions