Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2018-1315

LOW 3.7EPSS 78%

Incorrect Permission Assignment for Critical Resource in Apache hive

Also known as GHSA-p639-xxv5-j383

Mitigation

  • Upgrade org.apache.hive:hive to 2.3.3 or later.
  • Upgrade org.apache.hive:hive-exec to 2.3.3 or later.
  • Upgrade org.apache.hive:hive-service to 2.3.3 or later.

Who should check

  • Projects that depend on Maven package org.apache.hive:hive (>= 2.1.0, < 2.3.3)
  • Projects that depend on Maven package org.apache.hive:hive-exec (>= 2.1.0, < 2.3.3)
  • Projects that depend on Maven package org.apache.hive:hive-service (>= 2.1.0, < 2.3.3)
  • Anyone running Apache Software Foundation Apache Hive 2.1.0 to 2.3.2

Vulnerability facts

Affected
org.apache.hive:hive >= 2.1.0, < 2.3.3; org.apache.hive:hive-exec >= 2.1.0, < 2.3.3; org.apache.hive:hive-service >= 2.1.0, < 2.3.3
Fixed in
2.3.3
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
3.7 (v3.0, NVD)CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: Low
  • Availability impact: None
EPSS
1.75% chance of exploitation in 30 days (percentile 78, 2026-11-26)
CWE
CWE-732
Published
Modified

Description

In Apache Hive 2.1.0 to 2.3.2, when 'COPY FROM FTP' statement is run using HPL/SQL extension to Hive, a compromised/malicious FTP server can cause the file to be written to an arbitrary location on the cluster where the command is run from. This is because FTP client code in HPL/SQL does not verify the destination location of the downloaded file. This does not affect hive cli user and hiveserver2 user as hplsql is a separate command line script and needs to be invoked differently.

Affected and fixed versions

Package / productAffectedFixedSource
Maven org.apache.hive:hive>= 2.1.0, < 2.3.32.3.3osv
Maven org.apache.hive:hive-exec>= 2.1.0, < 2.3.32.3.3osv
Maven org.apache.hive:hive-service>= 2.1.0, < 2.3.32.3.3osv
Apache Software Foundation Apache Hive2.1.0 to 2.3.2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2018-1315. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2018-1315.md
Affected: org.apache.hive:hive >= 2.1.0, < 2.3.3; org.apache.hive:hive-exec >= 2.1.0, < 2.3.3; org.apache.hive:hive-service >= 2.1.0, < 2.3.3
Fixed in: 2.3.3

Steps:
1. Search this machine and project for org.apache.hive:hive (Maven), org.apache.hive:hive-exec (Maven), org.apache.hive:hive-service (Maven), Apache Software Foundation Apache Hive: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2018-1315 being exploited?

There is no confirmed exploitation: CVE-2018-1315 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.75% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2018-1315?

Low: CVSS 3.7 (v3.0, scored by NVD). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2018-1315?

org.apache.hive:hive >= 2.1.0, < 2.3.3; org.apache.hive:hive-exec >= 2.1.0, < 2.3.3; org.apache.hive:hive-service >= 2.1.0, < 2.3.3.

Is there a fix for CVE-2018-1315?

Yes. Fixed in 2.3.3. Upgrade org.apache.hive:hive to 2.3.3 or later. Upgrade org.apache.hive:hive-exec to 2.3.3 or later. Upgrade org.apache.hive:hive-service to 2.3.3 or later.

How do I check if I'm affected by CVE-2018-1315?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors