NATS nats-server before 2.9.23 and 2.10.x before 2.10.2 has an authentication bypass. An implicit $G user in an authorization block can sometimes be used for unauthenticated access, even when the intention of the configuration was for each user to have an account. The earliest affected version is 2.2.0.
The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. This allows attackers to bypass intended access restrictions.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Nats-server | Linuxfoundation | 2.2.0 (including) | 2.9.23 (excluding) |
Nats-server | Linuxfoundation | 2.10.0 (including) | 2.10.2 (excluding) |
Nats-server | Ubuntu | bionic | * |
Nats-server | Ubuntu | lunar | * |
Nats-server | Ubuntu | mantic | * |
Nats-server | Ubuntu | trusty | * |
Nats-server | Ubuntu | upstream | * |
Nats-server | Ubuntu | xenial | * |
Assuming a user with a given identity, authorization is the process of determining whether that user can access a given resource, based on the user’s privileges and any permissions or other access-control specifications that apply to the resource. When access control checks are incorrectly applied, users are able to access data or perform actions that they should not be allowed to perform. This can lead to a wide range of problems, including information exposures, denial of service, and arbitrary code execution.