@cedar-policy/authorization-for-expressjs@0.2.0

Middlewares to authorize expressJS applications with Cedar

  • latest version

    0.3.0

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    2 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @cedar-policy/authorization-for-expressjs 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
    • H
    Incorrect Authorization

    @cedar-policy/authorization-for-expressjs is a Middlewares to authorize expressJS applications with Cedar

    Affected versions of this package are vulnerable to Incorrect Authorization through improper matching of incoming requests using req.originalUrl. An attacker can gain unauthorized access to restricted endpoints by manipulating the query string to bypass intended authorization checks.

    How to fix Incorrect Authorization?

    Upgrade @cedar-policy/authorization-for-expressjs to version 0.3.0 or higher.

    <0.3.0