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

Node Security (nsp) reports three issues #10

Open
mflodin opened this issue Apr 12, 2017 · 4 comments
Open

Node Security (nsp) reports three issues #10

mflodin opened this issue Apr 12, 2017 · 4 comments
Labels

Comments

@mflodin
Copy link

mflodin commented Apr 12, 2017

Running nsp reports the following three issues. They originate from express so updating to ~4.14.1 or ~4.15.2 will fix the issues. Not sure if there are any other issues that arise from updating express, but the tests and e2e tests pass at least.

$> nsp check
(+) 3 vulnerabilities found
┌───────────────┬────────────────────────────────────────────────────────────────┐
│               │ Regular Expression Denial of Service                           │
├───────────────┼────────────────────────────────────────────────────────────────┤
│ Name          │ negotiator                                                     │
├───────────────┼────────────────────────────────────────────────────────────────┤
│ CVSS          │ 7.5 (High)                                                     │
├───────────────┼────────────────────────────────────────────────────────────────┤
│ Installed     │ 0.5.3                                                          │
├───────────────┼────────────────────────────────────────────────────────────────┤
│ Vulnerable    │ <= 0.6.0                                                       │
├───────────────┼────────────────────────────────────────────────────────────────┤
│ Patched       │ >= 0.6.1                                                       │
├───────────────┼────────────────────────────────────────────────────────────────┤
│ Path          │ [email protected] > [email protected] > [email protected] > negotiat… │
├───────────────┼────────────────────────────────────────────────────────────────┤
│ More Info     │ https://nodesecurity.io/advisories/106                         │
└───────────────┴────────────────────────────────────────────────────────────────┘
┌───────────────┬────────────────────────────────────────────────────────────────┐
│               │ Timing attack vulnerability                                    │
├───────────────┼────────────────────────────────────────────────────────────────┤
│ Name          │ cookie-signature                                               │
├───────────────┼────────────────────────────────────────────────────────────────┤
│ CVSS          │ 5.4 (Medium)                                                   │
├───────────────┼────────────────────────────────────────────────────────────────┤
│ Installed     │ 1.0.5                                                          │
├───────────────┼────────────────────────────────────────────────────────────────┤
│ Vulnerable    │ <=1.0.5                                                        │
├───────────────┼────────────────────────────────────────────────────────────────┤
│ Patched       │ >=1.0.6                                                        │
├───────────────┼────────────────────────────────────────────────────────────────┤
│ Path          │ [email protected] > [email protected] > [email protected]     │
├───────────────┼────────────────────────────────────────────────────────────────┤
│ More Info     │ https://nodesecurity.io/advisories/134                         │
└───────────────┴────────────────────────────────────────────────────────────────┘
┌───────────────┬────────────────────────────────────────────────────────────────┐
│               │ Regular Expression Denial of Service                           │
├───────────────┼────────────────────────────────────────────────────────────────┤
│ Name          │ ms                                                             │
├───────────────┼────────────────────────────────────────────────────────────────┤
│ CVSS          │ 5.3 (Medium)                                                   │
├───────────────┼────────────────────────────────────────────────────────────────┤
│ Installed     │ 0.7.0                                                          │
├───────────────┼────────────────────────────────────────────────────────────────┤
│ Vulnerable    │ <=0.7.0                                                        │
├───────────────┼────────────────────────────────────────────────────────────────┤
│ Patched       │ >0.7.0                                                         │
├───────────────┼────────────────────────────────────────────────────────────────┤
│ Path          │ [email protected] > [email protected] > [email protected] > [email protected]     │
├───────────────┼────────────────────────────────────────────────────────────────┤
│ More Info     │ https://nodesecurity.io/advisories/46                          │
└───────────────┴────────────────────────────────────────────────────────────────┘
@jlidder
Copy link
Owner

jlidder commented Apr 12, 2017

@mflodin thanks for looking into this. Check the commit i referenced above. I have upped the version of express js to the most recent version. Tests look like they are passing on travis. NSP looks clean:

$ nsp check
(+) No known vulnerabilities found

Maybe we can add this check for travis?

@jlidder jlidder added the bug label Apr 12, 2017
@mflodin
Copy link
Author

mflodin commented Apr 17, 2017

@jlidder Thanks for fixing it so quickly!

@OrangeDog
Copy link

This issue has come up again. The problem is your declared dependencies are too restrictive.

https://npmjs.com/advisories/534
https://npmjs.com/advisories/535

@jlidder
Copy link
Owner

jlidder commented Jan 29, 2020

Sorry for the late reply @OrangeDog. Thanks for bringing this up. I'll be verifying this and updating on this shortly.

@jlidder jlidder reopened this Jan 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants