org.apache.hive:hive-common@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-common 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-common is a 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-common to version 4.2.1 or higher.

    [,4.2.1)