@nestjs/core@8.4.7

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

  • latest version

    11.1.19

  • latest non vulnerable version

  • first published

    8 years ago

  • latest version published

    6 hours ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @nestjs/core 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
    • M
    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

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

    Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') via the SseStream._transform function. An attacker can inject arbitrary Server-Sent Events, spoof event types, and corrupt reconnection state by supplying specially crafted newline characters in upstream data that is mapped to the type or id fields.

    Note:

    This is only exploitable if user-influenced data is mapped to these fields by developer code.

    How to fix Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')?

    Upgrade @nestjs/core to version 11.1.18 or higher.

    <11.1.18
    • H
    Always-Incorrect Control Flow Implementation

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

    Affected versions of this package are vulnerable to Always-Incorrect Control Flow Implementation when handling a @nestjs/platform-fastify HEAD request. An attacker can bypass middleware logic by sending malicious requests, which are redirected to GET handlers by fastify by default.

    How to fix Always-Incorrect Control Flow Implementation?

    Upgrade @nestjs/core to version 11.1.17 or higher.

    <11.1.17
    • L
    Information Exposure

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

    Affected versions of this package are vulnerable to Information Exposure via the StreamableFile pipe. Exploiting this vulnerability is possible when the client cancels a request while it is streaming a StreamableFile, the stream wrapped by the StreamableFile will be kept open.

    How to fix Information Exposure?

    Upgrade @nestjs/core to version 9.0.5 or higher.

    <9.0.5