apache-airflow-providers-google@22.5.0rc1

Provider package apache-airflow-providers-google for Apache Airflow

  • latest version

    22.6.0

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    2 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the apache-airflow-providers-google package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Improper Neutralization of Special Elements in Data Query Logic

    apache-airflow-providers-google is a Provider for Apache Airflow. Implements apache-airflow-providers-google package

    Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Data Query Logic via GoogleDriveHook in drive.py, where folder names, file names, and folder IDs are interpolated directly into Google Drive q= query string literals without escaping. The Drive query language uses single quotes to delimit string literals and requires backslash-escaping of ' and \, but neither _ensure_folders_exists nor get_file_id applied any escaping before constructing expressions such as name='<folder>' and '<parent>' in parents. An attacker, or ordinary input containing a single quote, can cause the composed query expression to be malformed, resulting in the search not matching the intended target and potentially returning unintended results or bypassing expected access controls. Because object names routinely arrive from bucket listings rather than being written by hand, a quote in a name is ordinary input rather than a special case.

    How to fix Improper Neutralization of Special Elements in Data Query Logic?

    Upgrade apache-airflow-providers-google to version 22.6.0rc1 or higher.

    [,22.6.0rc1)