@nestjs/platform-fastify@11.2.3

Nest - modern, fast, powerful node.js web framework (@platform-fastify)

  • latest version

    12.1.3

  • latest non vulnerable version

  • first published

    7 years ago

  • latest version published

    1 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @nestjs/platform-fastify 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
    • C
    Interpretation Conflict

    @nestjs/platform-fastify is a Nest - modern, fast, powerful node.js web framework (@platform-fastify)

    Affected versions of this package are vulnerable to Interpretation Conflict via absolute-form request targets in the Fastify adapter's middleware registration. When a request is made using an absolute-form request target (e.g., GET http://host/path), Fastify routes the request to the handler while path-scoped middleware - which matches against the raw request target - never runs. An attacker can send requests using absolute-form targets to bypass any middleware-enforced security controls such as authentication, authorization, or rate limiting.

    How to fix Interpretation Conflict?

    Upgrade @nestjs/platform-fastify to version 11.2.4, 12.0.2 or higher.

    <11.2.4>=12.0.0 <12.0.2