Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inefficient Regular Expression Complexity in chalk/ansi-regex #333

Closed
1 of 4 tasks
TheKingTermux opened this issue May 2, 2023 · 0 comments · Fixed by #316
Closed
1 of 4 tasks

Inefficient Regular Expression Complexity in chalk/ansi-regex #333

TheKingTermux opened this issue May 2, 2023 · 0 comments · Fixed by #316
Assignees
Labels
Auto Create Issues Label for Auto Created Issues High This label for Security Severity only Security Label for Security Issues
Milestone

Comments

@TheKingTermux
Copy link
Owner

TheKingTermux commented May 2, 2023

Description

ansi-regex is vulnerable to Inefficient Regular Expression Complexity which could lead to a denial of service.

Severity Check

  • Low
  • Moderate
  • High
  • Critical

Severity Number

7.5 / 10

CVSS base metrics

  • Attack vector
    Network

  • Attack complexity
    Low

  • Privileges required
    None

  • User interaction
    None

  • Scope
    Unchanged

  • Confidentiality
    None

  • Integrity
    None

  • Availability
    High

  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

  • Weaknesses
    CWE-697 CWE-1333

  • CVE ID
    CVE-2021-3807

  • GHSA ID
    GHSA-93q8-gq69-wqmw

  • Source code
    chalk/ansi-regex

Information

  • Package
    ansi-regex (npm)

  • Affected versions

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

  • Patched versions
    6.0.1
    5.0.1
    4.1.1
    3.0.1

References

@TheKingTermux TheKingTermux added do-not-autoclose Make bot can't close an Issues or PRs Security Label for Security Issues Auto Create Issues Label for Auto Created Issues labels May 2, 2023
@TheKingTermux TheKingTermux added this to the Alice 1.0.6 milestone May 2, 2023
@TheKingTermux TheKingTermux self-assigned this May 2, 2023
@TheKingTermux TheKingTermux added High This label for Security Severity only and removed do-not-autoclose Make bot can't close an Issues or PRs labels May 9, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Auto Create Issues Label for Auto Created Issues High This label for Security Severity only Security Label for Security Issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant