Skip to content

Fix CVE–2021–3807#33

Open
debricked-staging[bot] wants to merge 1 commit intodevelopfrom
debricked-fix-CVE_2021_3807-4b491af48762fd5a
Open

Fix CVE–2021–3807#33
debricked-staging[bot] wants to merge 1 commit intodevelopfrom
debricked-fix-CVE_2021_3807-4b491af48762fd5a

Conversation

@debricked-staging
Copy link
Copy Markdown

CVE–2021–3807

Vulnerability details

Description

Incorrect Comparison

The software compares two entities in a security-relevant context, but the comparison is incorrect, which may lead to resultant weaknesses.

NVD

ansi-regex is vulnerable to Inefficient Regular Expression Complexity

GitHub

Inefficient Regular Expression Complexity in chalk/ansi-regex

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

CVSS details - 7.5

 

CVSS3 metrics
Attack Vector Network
Attack Complexity Low
Privileges Required None
User interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High
References

    NVD - CVE-2021-3807
    Inefficient Regular Expression Complexity in chalk/ansi-regex · CVE-2021-3807 · GitHub Advisory Database · GitHub
    Fix potential ReDoS (#37) · chalk/ansi-regex@8d1d7cd · GitHub
    Inefficient Regular Expression Complexity vulnerability found in ansi-regex
    Regular Expression Denial of Service (ReDoS) in ansi-regex | CVE-2021-3807 | Snyk
    Backport of security patch, for benefit of yargs · Issue #38 · chalk/ansi-regex · GitHub
    Backport of security patch, for benefit of yargs · Issue #38 · chalk/ansi-regex · GitHub
    ansi-regex/index.js at c1b5e45f7c65a332ffb03ac8e5804ad37c579cdc · chalk/ansi-regex · GitHub
    GitHub - chalk/ansi-regex: Regular expression for matching ANSI escape codes
    Comparing chalk:HEAD...yetingli:main · chalk/ansi-regex · GitHub
    Release v6.0.1 · chalk/ansi-regex · GitHub
    Oracle Critical Patch Update Advisory - April 2022
    CVE-2021-3807 Node.js Vulnerability in NetApp Products | NetApp Product Security

 

Related information

📌 Remember! Check the changes to ensure they don't introduce any breaking changes.
📚 Read more about the CVE

 

@debricked-staging debricked-staging Bot force-pushed the debricked-fix-CVE_2021_3807-4b491af48762fd5a branch from 7903d74 to 06e42de Compare January 2, 2023 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants