loggingredactor@0.0.4 vulnerabilities

Redact data in logs based on regex filters and keys

  • latest version

    0.0.6

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    10 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the loggingredactor 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
    Incorrect Type Conversion or Cast

    loggingredactor is a Redact data in logs based on regex filters and keys

    Affected versions of this package are vulnerable to Incorrect Type Conversion or Cast via the RedactingFilter.redact method which converts all datatypes to string. An attacker can cause type errors and disrupt expected log formatting by passing non-string types that are automatically converted to strings during log handling.

    How to fix Incorrect Type Conversion or Cast?

    Upgrade loggingredactor to version 0.0.6 or higher.

    [,0.0.6)