Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Incorrect Authorization vulnerabilities in an interactive lesson.
Start learningUpgrade @grpc/grpc-js-xds to version 1.14.2 or higher.
@grpc/grpc-js-xds is a Plugin for @grpc/grpc-js. Adds the xds:// URL scheme and associated features.
Affected versions of this package are vulnerable to Incorrect Authorization via three bugs in XdsServer RBAC override handling in packages/grpc-js-xds/src/server.ts and packages/grpc-js-xds/src/http-filter/rbac-filter.ts. First, parseOverrideFilterConfig() looks up the filter registry using the override message type (RBACPerRoute), but setup() registers the filter only under the top-level RBAC type, so the lookup always returns null. Second, overrideConfigMaps is keyed by HTTP filter name but is populated using filterConfig.typeUrl, causing route-level lookups by filter name to miss the stored map. Third, handleRouteConfigurationResource() reads route.typed_per_filter_config but never reads virtualHost.typed_per_filter_config. Together, these bugs cause XdsServer to ACK Route and VirtualHost resources while silently discarding all RBACPerRoute override configurations, so RPCs are evaluated under the broad top-level ALLOW policy and requests that should be denied by a stricter override are accepted.
Note: This is only exploitable when the GRPC_XDS_EXPERIMENTAL_RBAC environment variable is set to true and a trusted xDS control plane supplies a broad top-level ALLOW policy with a stricter RBACPerRoute override.