org.mvnpm:effect@3.21.2

  • latest version

    4.1.2

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    19 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.mvnpm:effect 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
    Regular Expression Denial of Service (ReDoS)

    org.mvnpm:effect is a node package that allows you to add effects on images.

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via Schema.TemplateLiteral in packages/effect/src/ParseResult.ts, which compiles each Schema.String span to the ambiguous lazy wildcard [\s\S]*?. When a template literal schema contains two or more Schema.String spans, the resulting regular expression has multiple ambiguous wildcards that cause cubic backtracking when evaluated against a non-matching input string. An attacker can supply a long non-matching string to block the JavaScript event loop, affecting Schema.decodeUnknown, Schema.decodeUnknownSync, Schema.is, and consumers such as HttpApi request payloads and @effect/rpc payloads.

    How to fix Regular Expression Denial of Service (ReDoS)?

    Upgrade org.mvnpm:effect to version 3.22.1 or higher.

    [,3.22.1)