ansi-regex vulnerabilities

Regular expression for matching ANSI escape codes

  • latest version

    6.2.0

  • latest non vulnerable version

  • first published

    11 years ago

  • latest version published

    13 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the ansi-regex package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Regular Expression Denial of Service (ReDoS)

    >=3.0.0 <3.0.1>=4.0.0 <4.1.1>=5.0.0 <5.0.1>=6.0.0 <6.0.1

    Package versions

    19 VERSIONS IN TOTAL
    versionpublisheddirect vulnerabilities
    6.2.017 Aug, 2025
    • 0
      C
    • 0
      H
    • 0
      M
    • 0
      L
    6.1.09 Sep, 2024
    • 0
      C
    • 0
      H
    • 0
      M
    • 0
      L
    6.0.110 Sep, 2021
    • 0
      C
    • 0
      H
    • 0
      M
    • 0
      L
    6.0.016 Apr, 2021
    • 0
      C
    • 1
      H
    • 0
      M
    • 0
      L
    5.0.114 Sep, 2021
    • 0
      C
    • 0
      H
    • 0
      M
    • 0
      L
    5.0.04 Oct, 2019
    • 0
      C
    • 1
      H
    • 0
      M
    • 0
      L
    4.1.112 Mar, 2022
    • 0
      C
    • 0
      H
    • 0
      M
    • 0
      L
    4.1.08 Mar, 2019
    • 0
      C
    • 1
      H
    • 0
      M
    • 0
      L
    4.0.018 Sep, 2018
    • 0
      C
    • 1
      H
    • 0
      M
    • 0
      L
    3.0.127 Mar, 2022
    • 0
      C
    • 0
      H
    • 0
      M
    • 0
      L