ansi-regex vulnerabilities

Regular expression for matching ANSI escape codes

  • latest version

    6.2.2

  • latest non vulnerable version

  • first published

    11 years ago

  • latest version published

    1 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the ansi-regex 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
    • C
    Embedded Malicious Code

    =6.2.1
    • 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

    20 VERSIONS IN TOTAL See all versions
    versionpublisheddirect vulnerabilities
    6.2.28 Sep, 2025
    • 0
      C
    • 0
      H
    • 0
      M
    • 0
      L
    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