Fedora Account System
Red Hat Associate
Red Hat Customer
A vulnerability was found in io.quarkus:quarkus-rest-data-panache where getter-level @SecureField annotations are ignored during the generation of filter and sort logic for REST Data Panache resources. When @SecureField(rolesAllowed = ...) is placed on a property getter, the generated list endpoint does not check for the required roles when processing filter (?field=value) or sort (?sort=field) parameters. While the sensitive values are correctly masked in the resulting JSON response, an attacker with access to the endpoint can perform the following actions: Determine if any records match a specific sensitive value by using filter parameters. Determine the relative ordering of records based on the sensitive field using sort parameters. Systematically infer sensitive values through repeated targeted filtering. This issue only affects @SecureField when placed on the getter; placing the annotation directly on the field is not affected.