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

Fix CVE–2021–23425 #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

debricked[bot]
Copy link

@debricked debricked bot commented Feb 23, 2022

CVE–2021–23425

Vulnerable dependency:     trim-off-newlines (Yarn)    1.0.1

Vulnerability details

Description

NVD

All versions of package trim-off-newlines are vulnerable to Regular Expression Denial of Service (ReDoS) via string processing.

GitHub

Uncontrolled Resource Consumption in trim-off-newlines

All versions of package trim-off-newlines are vulnerable to Regular Expression Denial of Service (ReDoS) via string processing.

CVSS details - 5.3

 

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

    NVD - CVE-2021-23425
    Uncontrolled Resource Consumption in trim-off-newlines · CVE-2021-23425 · GitHub Advisory Database · GitHub
    THIRD PARTY
    trim-off-newlines/index.js at master · stevemao/trim-off-newlines · GitHub
    fix for CVE-2021-23425 by Trott · Pull Request #3 · stevemao/trim-off-newlines · GitHub

 

Related information

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

 

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