Fedora Account System
Red Hat Associate
Red Hat Customer
When a table is loaded or committed, Polaris read the table metadata file from the table's own storage and used the location and the write.data.path / write.metadata.path values it contained, without comparing them to the locations recorded for the table in Polaris. A commit then persisted these values as the table's stored locations, and storage credentials vended for the table were scoped to them. A principal with write access to the storage of one table could therefore modify that table's metadata file so that it named the location of another table, and then obtain vended storage credentials covering the other table's data. These credentials allow reading, writing and deleting that data, and are issued even when per-table credential scoping (for example STS) is in use and with default settings. Exploitation requires an authenticated principal that can write to a table's storage (for example with the credentials vended for its own table) and commit to that table. The data that can be reached is bounded by the storage role the catalog is configured with. This issue affects Apache Polaris: from 0.9.0 before 1.9.0. Users are recommended to upgrade to version 1.9.0, which fixes the issue. In 1.9.0, loading a table whose metadata location or write paths differ from those recorded in Polaris is refused. Tables last committed by Polaris before 1.3.0 do not have these values recorded and are not protected until their next commit, which then validates and records all their locations.