Skip to content
This repository has been archived by the owner on Feb 12, 2021. It is now read-only.

Vulnerability - Regular Expression Denial of Service #205

Open
dtiziani opened this issue May 25, 2018 · 1 comment
Open

Vulnerability - Regular Expression Denial of Service #205

dtiziani opened this issue May 25, 2018 · 1 comment

Comments

@dtiziani
Copy link

Affected versions of mime are vulnerable to regular expression denial of service when a mime lookup is performed on untrusted user input.

Reference: https://nodesecurity.io/advisories/535

┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate      │ Regular Expression Denial of Service                         │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ mime                                                         │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >= 1.4.1 < 2.0.0 || >= 2.0.3                                 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ s3                                                           │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ s3 > mime                                                    │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/535                       │
└───────────────┴──────────────────────────────────────────────────────────────┘```
@ronin3
Copy link

ronin3 commented Jan 2, 2019

The 'mime' version in package.json needs to be updated in s3 package , it seems currently the mime version is held at 1.2.x ( i.e. "mime": "~1.2.11"), we need >= 1.4.1 < 2.0.0 || >= 2.0.3 to get patch;
broofa/mime@855d0c4

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