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

[Snyk] Upgrade: cross-env, dotenv, express, express-mongo-sanitize, express-rate-limit, helmet, http-status, joi, moment, mongoose, nodemailer, passport, passport-jwt, pm2, swagger-ui-express, validator, winston, xss-clean #207

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MRdevX
Copy link
Owner

@MRdevX MRdevX commented Sep 7, 2024

snyk-top-banner

Snyk has created this PR to upgrade multiple dependencies.

👯 The following dependencies are linked and will therefore be updated together.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

Name Versions Released on

cross-env
from 7.0.2 to 7.0.3 | 1 version ahead of your current version | 4 years ago
on 2020-12-01
dotenv
from 8.2.0 to 8.6.0 | 5 versions ahead of your current version | 3 years ago
on 2021-05-05
express
from 4.17.1 to 4.19.2 | 9 versions ahead of your current version | 5 months ago
on 2024-03-25
express-mongo-sanitize
from 2.0.0 to 2.2.0 | 4 versions ahead of your current version | 3 years ago
on 2022-01-14
express-rate-limit
from 5.1.3 to 5.5.1 | 10 versions ahead of your current version | 3 years ago
on 2021-11-06
helmet
from 4.1.1 to 4.6.0 | 8 versions ahead of your current version | 3 years ago
on 2021-05-02
http-status
from 1.4.2 to 1.7.4 | 12 versions ahead of your current version | 7 months ago
on 2024-02-23
joi
from 17.3.0 to 17.13.3 | 33 versions ahead of your current version | 3 months ago
on 2024-06-19
moment
from 2.29.1 to 2.30.1 | 5 versions ahead of your current version | 8 months ago
on 2023-12-27
mongoose
from 5.10.11 to 5.13.22 | 68 versions ahead of your current version | 8 months ago
on 2024-01-02
nodemailer
from 6.4.14 to 6.9.14 | 36 versions ahead of your current version | 3 months ago
on 2024-06-19
passport
from 0.4.1 to 0.7.0 | 6 versions ahead of your current version | 9 months ago
on 2023-11-27
passport-jwt
from 4.0.0 to 4.0.1 | 1 version ahead of your current version | 2 years ago
on 2022-12-24
pm2
from 4.5.0 to 4.5.6 | 6 versions ahead of your current version | 3 years ago
on 2021-04-01
swagger-ui-express
from 4.1.4 to 4.6.3 | 10 versions ahead of your current version | a year ago
on 2023-05-05
validator
from 13.1.17 to 13.12.0 | 8 versions ahead of your current version | 4 months ago
on 2024-05-09
winston
from 3.3.3 to 3.14.2 | 20 versions ahead of your current version | 24 days ago
on 2024-08-14
xss-clean
from 0.1.1 to 0.1.4 | 3 versions ahead of your current version | a year ago
on 2023-06-02

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Command Injection
SNYK-JS-VIZION-565230
586 Proof of Concept
high severity Prototype Pollution
SNYK-JS-MQUERY-1050858
586 Proof of Concept
high severity Prototype Pollution
SNYK-JS-MQUERY-1089718
586 Proof of Concept
high severity Server-side Request Forgery (SSRF)
SNYK-JS-NETMASK-1089716
586 Proof of Concept
high severity Server-side Request Forgery (SSRF)
SNYK-JS-NETMASK-6056519
586 Proof of Concept
high severity Command Injection
SNYK-JS-NODEMAILER-1038834
586 Proof of Concept
high severity Code Injection
SNYK-JS-LODASH-1040724
586 Proof of Concept
high severity Directory Traversal
SNYK-JS-MOMENT-2440688
586 No Known Exploit
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-MOMENT-2944238
586 Proof of Concept
high severity Prototype Pollution
SNYK-JS-MONGOOSE-2961688
586 Proof of Concept
high severity Prototype Pollution
SNYK-JS-ASYNC-2441827
586 Proof of Concept
high severity Prototype Pollution
SNYK-JS-ASYNC-2441827
586 Proof of Concept
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-AXIOS-1579269
586 Proof of Concept
high severity Improper Input Validation
SNYK-JS-FOLLOWREDIRECTS-6141137
586 Proof of Concept
high severity Server-side Request Forgery (SSRF)
SNYK-JS-IP-6240864
586 Proof of Concept
high severity Command Injection
SNYK-JS-SYSTEMINFORMATION-1050436
586 Proof of Concept
high severity Command Injection
SNYK-JS-SYSTEMINFORMATION-1074913
586 Mature
high severity Prototype Pollution
SNYK-JS-MONGOOSE-5777721
586 Proof of Concept
high severity Uncontrolled resource consumption
SNYK-JS-BRACES-6838727
586 Proof of Concept
high severity Prototype Poisoning
SNYK-JS-QS-3153490
586 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-VALIDATOR-1090601
586 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-VALIDATOR-1090602
586 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-VALIDATOR-1090599
586 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-VALIDATOR-1090600
586 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-VALIDATOR-1090601
586 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-VALIDATOR-1090602
586 Proof of Concept
medium severity HTTP Header Injection
SNYK-JS-NODEMAILER-1296415
586 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-NODEMAILER-6219989
586 Proof of Concept
medium severity Session Fixation
SNYK-JS-PASSPORT-2840631
586 No Known Exploit
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-PATHPARSE-1077067
586 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-MINIMATCH-3050818
586 No Known Exploit
medium severity Prototype Pollution
SNYK-JS-MONGOOSE-1086688
586 Proof of Concept
medium severity Information Exposure
SNYK-JS-FOLLOWREDIRECTS-6444610
586 Proof of Concept
medium severity Denial of Service (DoS)
SNYK-JS-SYSTEMINFORMATION-1073627
586 No Known Exploit
medium severity Server-side Request Forgery (SSRF)
SNYK-JS-SYSTEMINFORMATION-1078290
586 Proof of Concept
medium severity Arbitrary Command Injection
SNYK-JS-SYSTEMINFORMATION-1243748
586 No Known Exploit
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-VALIDATOR-1090599
586 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-VALIDATOR-1090600
586 Proof of Concept
low severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-WORDWRAP-3149973
586 Proof of Concept
critical severity Prototype Pollution
SNYK-JS-SYSTEMINFORMATION-1043753
586 No Known Exploit
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-LODASH-1018905
586 Proof of Concept
medium severity Information Exposure
SNYK-JS-MONGODB-5871303
586 No Known Exploit
medium severity Server-Side Request Forgery (SSRF)
SNYK-JS-AXIOS-1038255
586 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-GLOBPARENT-1016905
586 Proof of Concept
medium severity Prototype Pollution
SNYK-JS-MPATH-1577289
586 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-COLORSTRING-1082939
586 Proof of Concept
medium severity Open Redirect
SNYK-JS-EXPRESS-6474509
586 No Known Exploit
medium severity Information Exposure
SNYK-JS-FOLLOWREDIRECTS-2332181
586 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-SIDEWAYFORMULA-3317169
586 No Known Exploit
medium severity Server-side Request Forgery (SSRF)
SNYK-JS-SWAGGERUIDIST-6056393
586 Proof of Concept
medium severity Server-side Request Forgery (SSRF)
SNYK-JS-SWAGGERUIEXPRESS-6815423
586 Proof of Concept
medium severity Server-side Request Forgery (SSRF)
SNYK-JS-SWAGGERUIEXPRESS-6815424
586 Mature
low severity Regular Expression Denial of Service (ReDoS)
npm:debug:20170905
586 Proof of Concept
low severity Regular Expression Denial of Service (ReDoS)
npm:debug:20170905
586 Proof of Concept
low severity Information Exposure
SNYK-JS-FOLLOWREDIRECTS-2396346
586 No Known Exploit
critical severity Prototype Pollution
SNYK-JS-SYSTEMINFORMATION-1047312
586 No Known Exploit
medium severity Server-side Request Forgery (SSRF)
SNYK-JS-SWAGGERUIDIST-2314884
586 Mature
low severity Improper Input Validation
SNYK-JS-SYSTEMINFORMATION-1244526
586 Proof of Concept
low severity Regular Expression Denial of Service (ReDoS)
npm:debug:20170905
586 Proof of Concept
Release notes
Package name: cross-env from cross-env GitHub release notes
Package name: dotenv from dotenv GitHub release notes
Package name: express from express GitHub release notes
Package name: express-mongo-sanitize
  • 2.2.0 - 2022-01-14

    Added

    • New config option:
      • allowDots boolean: if set, allows dots in the user-supplied data #41

    Fixed

    • Prevent null pointer exception when using dryRun option #88
  • 2.1.0 - 2021-05-11

    Added

    • New config options:
      • onSanitize callback: this will be called after the request's value was sanitized, with two named parameters: the key that was sanitized, and the raw req object.
      • dryRun boolean: if set, sanitization will not take place. Useful when combined with onSanitize to report on the keys which would have been sanitized.
    • TypeScript types
    • Official support for node v16.
  • 2.0.2 - 2021-01-07

    Fixed

    • Fixed a prototype pollution security vulnerability. #34

    Updated

    • Update dependencies.
  • 2.0.1 - 2020-12-02

    Updated

    • Update dependencies and test against node 14.

    Changed

    • Use ESLint instead of JSHint for code linting.
    • Use GitHub Actions for CI instead of Travis.
  • 2.0.0 - 2020-03-25

    Added / Breaking

    • Support sanitization of headers. #5

    Note that if you weren't previously expecting headers to be sanitized, this is considered a breaking change.

    Breaking

    • Drop support for node versions < 10.
from express-mongo-sanitize GitHub release notes
Package name: express-rate-limit from express-rate-limit GitHub release notes
Package name: helmet from helmet GitHub release notes
Package name: http-status from http-status GitHub release notes
Package name: joi
  • 17.13.3 - 2024-06-19

    17.13.3

  • 17.13.2 - 2024-06-19

    17.13.2

  • 17.13.1 - 2024-05-02

    17.13.1

  • 17.13.0 - 2024-04-23

    17.13.0

  • 17.12.3 - 2024-04-03

    17.12.3

  • 17.12.2 - 2024-02-21

    17.12.2

  • 17.12.1 - 2024-01-29

    17.12.1

  • 17.12.0 - 2024-01-17

    17.12.0

  • 17.11.1 - 2024-01-15

    17.11.1

  • 17.11.0 - 2023-10-04
  • 17.10.2 - 2023-09-17
  • 17.10.1 - 2023-08-31
  • 17.10.0 - 2023-08-27
  • 17.9.2 - 2023-04-24
  • 17.9.1 - 2023-03-21
  • 17.9.0 - 2023-03-20
  • 17.8.4 - 2023-03-14
  • 17.8.3 - 2023-02-21
  • 17.8.2 - 2023-02-21
  • 17.8.1 - 2023-02-19
  • 17.8.0 - 2023-02-19
  • 17.7.1 - 2023-02-10
  • 17.7.0 - 2022-11-01
  • 17.6.4 - 2022-10-22
  • 17.6.3 - 2022-10-11
  • 17.6.2 - 2022-09-29
  • 17.6.1 - 2022-09-22
  • 17.6.0 - 2022-01-26
  • 17.5.0 - 2021-12-02
  • 17.4.3 - 2021-12-01
  • 17.4.2 - 2021-08-01
  • 17.4.1 - 2021-07-11
  • 17.4.0 - 2021-02-08
  • 17.3.0 - 2020-10-24
from joi GitHub release notes
Package name: moment from moment GitHub release notes
Package name: mongoose
  • 5.13.22 - 2024-01-02
  • 5.13.21 - 2023-10-19
  • 5.13.20 - 2023-07-12
  • 5.13.19 - 2023-06-22
  • 5.13.18 - 2023-06-22
  • 5.13.17 - 2023-04-04
  • 5.13.16 - 2023-02-20
  • 5.13.15 - 2022-08-22
  • 5.13.14 - 2021-12-27
  • 5.13.13 - 2021-11-02
  • 5.13.12 - 2021-10-19
  • 5.13.11 - 2021-10-12
  • 5.13.10 - 2021-10-05
  • 5.13.9 - 2021-09-06
  • 5.13.8 - 2021-08-23
  • 5.13.7 - 2021-08-11
  • 5.13.6 - 2021-08-09
  • 5.13.5 - 2021-07-30
  • 5.13.4 - 2021-07-28
  • 5.13.3 - 2021-07-16
  • 5.13.2 - 2021-07-03
  • 5.13.1 - 2021-07-02
  • 5.13.0 - 2021-06-28
  • 5.12.15 - 2021-06-25
  • 5.12.14 - 2021-06-15
  • 5.12.13 - 2021-06-04
  • 5.12.12 - 2021-05-28
  • 5.12.11 - 2021-05-24
  • 5.12.10 - 2021-05-18
  • 5.12.9 - 2021-05-13
  • 5.12.8 - 2021-05-10
  • 5.12.7 - 2021-04-29
  • 5.12.6 - 2021-04-27
  • 5.12.5 - 2021-04-19
  • 5.12.4 - 2021-04-15
  • 5.12.3 - 2021-03-31
  • 5.12.2 - 2021-03-22
  • 5.12.1 - 2021-03-18
  • 5.12.0 - 2021-03-11
  • 5.11.20 - 2021-03-11
  • 5.11.19 - 2021-03-05
  • 5.11.18 - 2021-02-23
  • 5.11.17 - 2021-02-17
  • 5.11.16 - 2021-02-12
  • 5.11.15 - 2021-02-03
  • ...

Snyk has created this PR to upgrade:
  - cross-env from 7.0.2 to 7.0.3.
    See this package in npm: https://www.npmjs.com/package/cross-env
  - dotenv from 8.2.0 to 8.6.0.
    See this package in npm: https://www.npmjs.com/package/dotenv
  - express from 4.17.1 to 4.19.2.
    See this package in npm: https://www.npmjs.com/package/express
  - express-mongo-sanitize from 2.0.0 to 2.2.0.
    See this package in npm: https://www.npmjs.com/package/express-mongo-sanitize
  - express-rate-limit from 5.1.3 to 5.5.1.
    See this package in npm: https://www.npmjs.com/package/express-rate-limit
  - helmet from 4.1.1 to 4.6.0.
    See this package in npm: https://www.npmjs.com/package/helmet
  - http-status from 1.4.2 to 1.7.4.
    See this package in npm: https://www.npmjs.com/package/http-status
  - joi from 17.3.0 to 17.13.3.
    See this package in npm: https://www.npmjs.com/package/joi
  - moment from 2.29.1 to 2.30.1.
    See this package in npm: https://www.npmjs.com/package/moment
  - mongoose from 5.10.11 to 5.13.22.
    See this package in npm: https://www.npmjs.com/package/mongoose
  - nodemailer from 6.4.14 to 6.9.14.
    See this package in npm: https://www.npmjs.com/package/nodemailer
  - passport from 0.4.1 to 0.7.0.
    See this package in npm: https://www.npmjs.com/package/passport
  - passport-jwt from 4.0.0 to 4.0.1.
    See this package in npm: https://www.npmjs.com/package/passport-jwt
  - pm2 from 4.5.0 to 4.5.6.
    See this package in npm: https://www.npmjs.com/package/pm2
  - swagger-ui-express from 4.1.4 to 4.6.3.
    See this package in npm: https://www.npmjs.com/package/swagger-ui-express
  - validator from 13.1.17 to 13.12.0.
    See this package in npm: https://www.npmjs.com/package/validator
  - winston from 3.3.3 to 3.14.2.
    See this package in npm: https://www.npmjs.com/package/winston
  - xss-clean from 0.1.1 to 0.1.4.
    See this package in npm: https://www.npmjs.com/package/xss-clean

See this project in Snyk:
https://app.snyk.io/org/m8rashidi/project/d6ac0ae4-fc5a-47fb-b858-5f4a05d81990?utm_source=github&utm_medium=referral&page=upgrade-pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants