io.quarkus:quarkus-security-deployment@1.0.0.CR2 vulnerabilities

  • latest version

    3.17.4

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    12 days ago

  • licenses detected

  • package manager

  • Direct Vulnerabilities

    Known vulnerabilities in the io.quarkus:quarkus-security-deployment package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Improper Authentication

    io.quarkus:quarkus-security-deployment is a Quarkus Security Deployment

    Affected versions of this package are vulnerable to Improper Authentication via the deserialization process of JSON payloads. An attacker can potentially compromise data integrity and confidentiality, and achieve high-severity impacts on availability by sending specially crafted JSON data that gets processed before security constraints are evaluated and applied.

    Note: This does not happen with configuration based security. Then security constraints are being evaluated/applied before a JSON body is being processed.

    How to fix Improper Authentication?

    Upgrade io.quarkus:quarkus-security-deployment to version 3.2.10.Final or higher.

    [0,3.2.10.Final)
    • M
    Improper Authorization

    io.quarkus:quarkus-security-deployment is a Quarkus Security Deployment

    Affected versions of this package are vulnerable to Improper Authorization due to improper enforcement of authorization checks in JAX-RS endpoints that are either declared in abstract Java classes or customized by Quarkus extensions using the annotation processor. An attacker can bypass access restrictions by exploiting the lack of authorization on these endpoints.

    Note:

    A combination of 2 factors triggers it:

    1. Users enable the security authorization of JAX-RS endpoints with either 'quarkus.security.jaxrs.deny-unannotated-endpoints' or quarkus.security.jaxrs.default-roles-allowed properties.

    2. Users declare JAX-RS methods which must be secured with these properties in the Java abstract class which the JAX-RS endpoint class will extend

    How to fix Improper Authorization?

    Upgrade io.quarkus:quarkus-security-deployment to version 3.2.10.Final, 3.6.8, 3.7.1 or higher.

    [0,3.2.10.Final)[3.3.0.CR1,3.6.8)[3.7.0.CR1,3.7.1)