Is org.apache.hive:hive 2.1 vulnerable?

Maven · 2 releases from 2.1.0 to 2.1.1 · latest org.apache.hive:hive is 4.2.1 · checked 18 Nov 2026

Yes: 5 known advisories

Yes. org.apache.hive:hive 2.1.1, the last 2.1 release, is affected by 5 known security advisories (1 high, 2 medium, 2 low), including CVE-2021-34538, CVE-2020-1926, CVE-2017-12625. Upgrade to 3.1.3 or later to fix all of them.

Upgrade with:mvn versions:use-dep-version -Dincludes=org.apache.hive:hive -DdepVersion=3.1.3 -DforceVersion=true

Is your project on an affected org.apache.hive:hive?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting org.apache.hive:hive 2.1.1

  • HighCVE-2021-34538GHSA-v3p8-j597-3xg817 Jul 2022

    Apache Hive before 3.1.3 `CREATE` and `DROP` function operations do not check for necessary authorization.

    Affected
    <3.1.3
    Fixed in
    3.1.3
  • MediumCVE-2020-1926GHSA-54g4-5cf6-hjp39 Feb 2022

    Apache Hive Information Exposure and Observable Timing Discrepancy

    Affected
    <2.3.8
    Fixed in
    2.3.8
  • MediumCVE-2017-12625GHSA-2g9q-chq2-w8qw14 Mar 2019

    Moderate severity vulnerability that affects org.apache.hive:hive, org.apache.hive:hive-exec, and org.apache.hive:hive-service

    Affected
    >=2.1.0 <2.1.2 · >=2.2.0 <2.2.1 · >=2.3.0 <2.3.1
    Fixed in
    2.1.2, 2.2.1, 2.3.1
  • LowCVE-2018-1284GHSA-rxmr-c9jm-7mm821 Nov 2018

    Exposure of Sensitive Information to an Unauthorized Actor in Apache hive

    Affected
    >=0.6.0 <2.3.3
    Fixed in
    2.3.3
  • LowCVE-2018-1315GHSA-p639-xxv5-j38321 Nov 2018

    Incorrect Permission Assignment for Critical Resource in Apache hive

    Affected
    >=2.1.0 <2.3.3
    Fixed in
    2.3.3

Every org.apache.hive:hive 2.1.x release

Affected: 2.1.0 to 2.1.1. Latest org.apache.hive:hive: 4.2.1.

VersionKnown advisories
org.apache.hive:hive 2.1.1CVE-2021-34538, CVE-2020-1926, CVE-2017-12625, CVE-2018-1284, CVE-2018-1315
org.apache.hive:hive 2.1.0CVE-2021-34538, CVE-2020-1926, CVE-2017-12625, CVE-2018-1284, CVE-2018-1315

Which of your client projects are still on org.apache.hive:hive 2.1?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact org.apache.hive:hive version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other org.apache.hive:hive versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Maven registry. Refreshed daily.