VDB
Sign up
HIGH7.7

GHSA-x27p-5f68-m644

Trino: Iceberg REST catalog static and vended credentials are accessible via query JSON

Quick fix

GHSA-x27p-5f68-m644 — io.trino:trino-iceberg: upgrade to the fixed version with the command below.

# pom.xml: bump <version>480</version> for io.trino:trino-iceberg

Details

### Summary

Iceberg connector REST catalog static credentials (access key) or vended credentials (temporary access key) are accessible to users that have write privilege on SQL level.

### Details

Iceberg REST catalog typically needs access to object storage. This access can be configured in multiple different ways. When storage access is achieved by static credentials (e.g. AWS S3 access key) or vended credentials (temporary access key).

Query JSON is a query visualization and performance troubleshooting facility. It includes serialized query plan and handles for table writes or execution of table procedures. A user that submitted a query has access to query JSON for their query. Query JSON is available from Trino UI or via `/ui/api/query/«query_id»` and `/v1/query/«query_id»` endpoints.

The storage credentials are stored in those handles when performing write operations, or table maintenance operations. They are serialized in query JSON. A user with write access to data in Iceberg connector configured to use REST Catalog with static or vended credentials can retrieve those credentials.

### Impact

Anyone using Iceberg REST catalog with static or vended credentials is impacted. The credentials should be considered compromised. Vended credentials are temporary in nature so they do not need to be rotated. However, underlying data could have been exposed.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/io.trino:trino-iceberg
Introduced in: 439Fixed in: 480
Fix# pom.xml: bump <version>480</version> for io.trino:trino-iceberg

References