io.github.lognet:grpc-spring-boot-starter@4.8.0

  • latest version

    5.2.0

  • first published

    7 years ago

  • latest version published

    1 years ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the io.github.lognet:grpc-spring-boot-starter package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • L
    Incorrect Authorization

    Affected versions of this package are vulnerable to Incorrect Authorization in the processSecuredAnnotation() method of GrpcServiceAuthorizationConfigurer, which uses MultiValueMap.addAll() to combine class-level and method-level @Secured rules and evaluates the merged set with AffirmativeBased, so the rules are OR-merged instead of letting the stricter method-level rule override. A user holding only the broad class-level role can invoke a method restricted to a stricter role, for example reaching a method marked @Secured("ROLE_ADMIN") under a class marked @Secured("ROLE_USER") with only ROLE_USER, because either rule granting access is sufficient. This requires a service that stacks a broader class-level @Secured annotation with a stricter method-level one, and the caller must already hold the broader role.

    How to fix Incorrect Authorization?

    There is no fixed version for io.github.lognet:grpc-spring-boot-starter.

    [0,)