Fixed issues for Ranger are addressed in Cloudera Runtime
7.3.4.
- CDPD-106623: Ranger HDFS plugin incorrectly allows move-to-trash operations when the directory-rename optimization is enabled
- 7.3.4
- Previously, when
ranger.hdfs.authz.enable.optimization was set to true, the
Ranger HDFS plugin could return an incorrect authorization result for directory
rename operations, including moving a directory to trash. This could allow the
operation to succeed even when the user's Ranger policies did not grant the
required access to the source location. This issue is now fixed. The Ranger
HDFS plugin now authorizes directory renames against the source parent
directory, the same way it already handles directory deletions. Directory
rename and move-to-trash operations now evaluate configured Ranger HDFS
policies against the source parent directory, whether the optimization is
enabled or disabled.
- CDPD-104819: Incorrect access denial for _any access type
when DENY and ALLOW policies overlap
- 7.3.4
- Previously, when a high-priority policy denied certain
access types (for example, create, drop, alter) and a normal-priority policy
allowed a set that included one of those denied types, Ranger stopped checking
the rest of the allowed access types too early. This occurred during any access
checks, such as a USE <database> command from Hive or
Impala. Users could encounter a
Permission denied error even
though a policy granted them other valid privileges, such as select or update.
Additionally, at equal priority, an ALLOW policy item could override an existing
DENY.This issue is now resolved. Ranger continues checking the remaining
access types until an ALLOW is explicitly recorded. At equal priority, DENY
now takes precedence, and only a policy with a strictly higher priority can
override a DENY.