Skip to content

CVE-2023-43646 @ Npm-get-func-name-2.0.0 #71

Description

@electricmonk

Checkmarx (SCA): Vulnerable Package
Vulnerability: Read More about CVE-2023-43646
Checkmarx Project: electricmonk/ts-react-tdd
Repository URL: https://github.com/electricmonk/ts-react-tdd
Branch: main
Scan ID: e0708f2c-1083-45f2-a7cb-929f9b6a0c6c


get-func-name is a module to retrieve a function's name securely and consistently both in NodeJS and the browser. Versions prior to 2.0.1 are subject to a Regular Expression Denial of Service (redos) vulnerability which may lead to a denial of service when parsing malicious input. This vulnerability can be exploited when there is an imbalance in parentheses, which results in excessive backtracking and subsequently increases the CPU load and processing time significantly. This vulnerability can be triggered using the following input: "\t'.repeat(54773) + '\t/function/i".


Additional Info
Attack vector: NETWORK
Attack complexity: LOW
Confidentiality impact: NONE
Availability impact: HIGH
Remediation Upgrade Recommendation: 2.0.1

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions