org.apache.hive:hive-exec@4.0.0-alpha-2

  • latest version

    4.2.1

  • latest non vulnerable version

  • first published

    14 years ago

  • latest version published

    15 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.apache.hive:hive-exec 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
    Server-side Request Forgery (SSRF)

    org.apache.hive:hive-exec is a package for reading, writing, and managing large datasets residing in distributed storage using SQL.

    Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via Avro SerDe schema resolution in AvroSerdeUtils.determineSchemaOrThrowException and the Avro table authorization paths in AuthorizationUtils, CommandAuthorizerV2, CreateTableEvent, and AlterTableEvent. An authenticated attacker with CREATE TABLE privilege can cause the Hive server to fetch an attacker-controlled avro.schema.url by creating or altering an Avro table and then getting it queried. This can expose cloud metadata endpoints, internal network services, or local server files to the Hive process identity, and the affected query or table operation can be used to trigger the outbound fetch.

    How to fix Server-side Request Forgery (SSRF)?

    Upgrade org.apache.hive:hive-exec to version 4.2.1 or higher.

    [,4.2.1)
    • M
    Incorrect Permission Assignment for Critical Resource

    org.apache.hive:hive-exec is a package for reading, writing, and managing large datasets residing in distributed storage using SQL.

    Affected versions of this package are vulnerable to Incorrect Permission Assignment for Critical Resource due to the default creation of a credentials file with permissions set to 644 in a temporary directory. An attacker that has access to the temporary directory in the file system can read sensitive information by accessing this directory.

    How to fix Incorrect Permission Assignment for Critical Resource?

    Upgrade org.apache.hive:hive-exec to version 4.0.1 or higher.

    [,4.0.1)