@fastify/accepts-serializer@6.0.0-pre.fv5.1

Serializer according to the accept header

  • latest version

    6.0.4

  • latest non vulnerable version

  • first published

    4 years ago

  • latest version published

    16 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @fastify/accepts-serializer 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
    Allocation of Resources Without Limits or Throttling

    @fastify/accepts-serializer is a Serializer according to the accept header

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the unbounded caching of serializer-selection results keyed by the Accept header. An attacker can exhaust system memory and cause a crash by sending numerous unique Accept header values, leading to uncontrolled cache growth.

    How to fix Allocation of Resources Without Limits or Throttling?

    Upgrade @fastify/accepts-serializer to version 6.0.4 or higher.

    <6.0.4