OpenF2 / F2

Redefining web integration for the financial services community
Apache License 2.0
129 stars 62 forks source link

Semver devDependency ReDoS alert #240

Closed markhealey closed 8 years ago

markhealey commented 9 years ago

There's a ReDoS security alert related to older versions of semver. The package.json devDep version should be updated to 4.3.2 or later.

Details: https://nodesecurity.io/advisories/semver_redos

semver is vulnerable to regular expression denial of service (ReDoS) when extremely long version strings are parsed.

"The Regular expression Denial of Service (ReDoS) is a Denial of Service attack, that exploits the fact that most Regular Expression implementations may reach extreme situations that cause them to work very slowly (exponentially related to input size). An attacker can then cause a program using a Regular Expression to enter these extreme situations and then hang for a very long time." [1]

markhealey commented 9 years ago

I'm traveling this week and cannot confirm whether upgrading this devDependency has an impact on related grunt tasks. Could someone checkout semver-240 and run the grunt tasks?

qrider commented 8 years ago

Grunt tasks appear to be working as expected.