Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Regular Expression Denial of Service (ReDoS) #546

Open
larrycameron80 opened this issue Sep 17, 2019 · 0 comments
Open

Regular Expression Denial of Service (ReDoS) #546

larrycameron80 opened this issue Sep 17, 2019 · 0 comments

Comments

@larrycameron80
Copy link

Regular Expression Denial of Service (ReDoS)
Vulnerable module: braces
Introduced through: [email protected]
Detailed paths
Introduced through: blockchain-wallet-client@blockchain/My-Wallet-V3#c0bf5615c862fb8d7ec5e3f5031c2998b8ddc690 › [email protected][email protected][email protected][email protected][email protected][email protected]
Overview
braces is a Bash-like brace expansion, implemented in JavaScript.

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) attacks. It used a regular expression (^{(,+(?:({,+})),|,(?:({,+})),+)}) in order to detects empty braces. This can cause an impact of about 10 seconds matching time for data 50K characters long.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@larrycameron80 and others