Description
Karapace is an open-source implementation of Kafka REST and Schema Registry. Versions 5.0.0 and 5.0.1 contain an authentication bypass vulnerability when configured to use OAuth 2.0 Bearer Token authentication. If a request is sent without an Authorization header, the token validation logic is skipped entirely, allowing an unauthenticated user to read and write to Schema Registry endpoints that should otherwise be protected. This effectively renders the OAuth authentication mechanism ineffective. This issue is fixed in version 5.0.2.
Problem types
CWE-306: Missing Authentication for Critical Function
CWE-288: Authentication Bypass Using an Alternate Path or Channel
Product status
References
github.com/...rapace/security/advisories/GHSA-vq25-vcrw-gj53
github.com/...mmits/c4038e9ce9fa504b433d59ac2944e337292922c7
github.com/Aiven-Open/karapace/releases/tag/5.0.2