-----BEGIN PGP SIGNED MESSAGE-----
AUSCERT External Security Bulletin Redistribution
CVE-2017-12625: Apache Hive information disclosure
vulnerability for column masking
2 November 2017
AusCERT Security Bulletin Summary
Product: Apache Hive
Publisher: The Apache Software Foundation
Operating System: UNIX variants (UNIX, Linux, OSX)
Impact/Access: Access Confidential Data -- Existing Account
CVE Names: CVE-2017-12625
- --------------------------BEGIN INCLUDED TEXT--------------------
CVE-2017-12625: Apache Hive information disclosure vulnerability for column
Vendor: The Apache Software Foundation
Versions Affected: Hive 2.1.0 to 2.3.0
Hive exposes an interface through which masking policies can be defined on
tables or views, e.g., using Apache Ranger. When a view is created over a
given table, the policy enforcement does not happen correctly on the table for
2.3.0 users should upgrade to 2.3.1
2.2.0 users should upgrade to 2.3.1, obtain the latest source from git for
or apply this patch which will be included from 2.2.1
2.1.x users should upgrade to 2.3.1, obtain the latest source from git for
or apply this patch which will be included from 2.1.2
To mitigate this vulnerability until Hive is upgraded to a new version, there
are two possible options. These steps need to be done manually in Ranger /
1) Restrict users from creating views on tables with column masking rules
this in Ranger Hive Policy:
- Users should not have SELECT permission for those Table columns with
masking rules defined.
- Give SELECT permission only for those columns without masking rules
2) Review the Hive Column Masking Policies maintained in Ranger for the
tables. Then check in Hive if views that read those tables have been defined.
If present, either change the view definition so those columns are not
selected or directly drop those views.
Credit: This issue was reported by Suja Santhosh of Hortonworks.
If you have any question, please reach out to us in the Hive dev list.
The Apache Hive Team
- --------------------------END INCLUDED TEXT--------------------
You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to firstname.lastname@example.org
and we will forward your request to the appropriate person.
NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members. As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.
NOTE: This is only the original release of the security bulletin. It may
not be updated when updates to the original are made. If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.
Contact information for the authors of the original document is included
in the Security Bulletin above. If you have any questions or need further
information, please contact them directly.
Previous advisories and external security bulletins can be retrieved from:
Australian Computer Emergency Response Team
The University of Queensland
Internet Email: email@example.com
Facsimile: (07) 3365 7031
Telephone: (07) 3365 4417 (International: +61 7 3365 4417)
AusCERT personnel answer during Queensland business hours
which are GMT+10:00 (AEST).
On call after hours for member emergencies only.
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----