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: bcrypt, body-parser, dotenv, ejs, express, express-rate-limit, express-session, mongoose, passport, passport-local-mongoose #353

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

Conversation

natalieermeryd
Copy link
Owner

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

bcrypt
from 5.0.1 to 5.1.1 | 2 versions ahead of your current version | a year ago
on 2023-08-16
body-parser
from 1.19.1 to 1.20.2 | 4 versions ahead of your current version | 2 years ago
on 2023-02-22
dotenv
from 16.0.0 to 16.4.5 | 20 versions ahead of your current version | 7 months ago
on 2024-02-20
ejs
from 3.1.6 to 3.1.10 | 4 versions ahead of your current version | 5 months ago
on 2024-04-12
express
from 4.17.2 to 4.19.2 | 8 versions ahead of your current version | 6 months ago
on 2024-03-25
express-rate-limit
from 6.2.0 to 6.11.2 | 16 versions ahead of your current version | a year ago
on 2023-09-12
express-session
from 1.17.2 to 1.18.0 | 2 versions ahead of your current version | 8 months ago
on 2024-01-28
mongoose
from 6.1.9 to 6.13.0 | 84 versions ahead of your current version | 3 months ago
on 2024-06-06
passport
from 0.5.2 to 0.7.0 | 3 versions ahead of your current version | 10 months ago
on 2023-11-27
passport-local-mongoose
from 6.1.0 to 6.3.0 | 4 versions ahead of your current version | 3 years ago
on 2022-03-12

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Remote Code Execution (RCE)
SNYK-JS-EJS-2803307
265 Proof of Concept
high severity Prototype Poisoning
SNYK-JS-QS-3153490
265 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-MINIMATCH-3050818
265 No Known Exploit
medium severity Information Exposure
SNYK-JS-MONGODB-5871303
265 No Known Exploit
medium severity Uncontrolled Resource Consumption ('Resource Exhaustion')
SNYK-JS-TAR-6476909
265 Proof of Concept
medium severity Improper Control of Dynamically-Managed Code Resources
SNYK-JS-EJS-6689533
265 No Known Exploit
medium severity Open Redirect
SNYK-JS-EXPRESS-6474509
265 No Known Exploit
medium severity Session Fixation
SNYK-JS-PASSPORT-2840631
265 No Known Exploit
Release notes
Package name: bcrypt from bcrypt GitHub release notes
Package name: body-parser from body-parser GitHub release notes
Package name: dotenv from dotenv GitHub release notes
Package name: ejs from ejs GitHub release notes
Package name: express from express GitHub release notes
Package name: express-rate-limit
  • 6.11.2 - 2023-09-12

    Fixed

    • Restored IncrementResponse TypeScript type (See #397)
  • 6.11.1 - 2023-09-10

    Fixed

    • Check for prefixed keys when validating that the stores have single counted keys (See #395).
  • 6.11.0 - 2023-09-06

    Added

    • Support for retrieving the current hit count and reset time for a given key from a store (See #390).
  • 6.10.0 - 2023-08-30

    Added

    • Support for combined RateLimit header from the RateLimit header fields for HTTP standardization draft adopted by the IETF. Enable by setting standardHeaders: 'draft-7'
    • New standardHeaders: 'draft-6' option, treated equivalent to standardHeaders: true from previous releases. (true and false are still supported.)
    • New RateLimit-Policy header added when standardHeaders is set to 'draft-6', 'draft-7', or true
    • Warning when using deprecated draft_polli_ratelimit_headers option
    • Warning when using deprecated onLimitReached option
    • Warning when totalHits value returned from Store is invalid
  • 6.9.0 - 2023-08-06

    Added

    • New validaion check for double-counted requests
    • Added help link to each ValidationError, directing users to the appropriate wiki page for more info

    Changed

    • Miscaleanous documenation improvements

    You can view the full changelog here.

  • 6.8.1 - 2023-07-27

    Changed

    • Revert 6.7.1 change that bumped typescript from 5.x to 4.x and dts-bundle-generator from 8.x to 7.x (See #360)

    You can view the full changelog here.

  • 6.8.0 - 2023-07-21

    Added

    You can view the changelog here.

  • 6.7.2 - 2023-07-27

    (Backport of v6.8.1)

    You can view the full changelog here.

  • 6.7.1 - 2023-07-06

    Fixed

    • Fixed compatibility with TypeScript's TypeScript new node16 module
      resolution strategy (See
      #355)

    Changed

    • Bumped development dependencies.
    • Added node 20 to list of versions the CI jobs run on.

    No functional changes.

    You can view the changelog here.

  • 6.7.0 - 2022-11-15

    No functional changes.

    Changed

    • Updated links to point to the new express-rate-limit organization on GitHub.
    • Added advertisement to readme.md for project sponsor Zuplo.
    • Updated to typescript version 5 and bumped other dependencies.
    • Dropped node 12, and added node 19 to the list of versions the CI jobs run on.

    You can view the changelog here.

  • 6.6.0 - 2022-09-04
  • 6.5.2 - 2022-08-24
  • 6.5.1 - 2022-07-23
  • 6.4.0 - 2022-04-24
  • 6.3.0 - 2022-02-19
  • 6.2.1 - 2022-02-10
  • 6.2.0 - 2022-01-22
from express-rate-limit GitHub release notes
Package name: express-session
  • 1.18.0 - 2024-01-28
    • Add debug log for pathname mismatch
    • Add partitioned to cookie options
    • Add priority to cookie options
    • Fix handling errors from setting cookie
    • Support any type in secret that crypto.createHmac supports
    • deps: [email protected]
      • Fix expires option to reject invalid dates
      • perf: improve default decode speed
      • perf: remove slow string split in parse
    • deps: [email protected]
  • 1.17.3 - 2022-05-11
  • 1.17.2 - 2021-05-19
from express-session GitHub release notes
Package name: mongoose
  • 6.13.0 - 2024-06-06
  • 6.12.9 - 2024-05-24
  • 6.12.8 - 2024-04-10
  • 6.12.7 - 2024-03-01
  • 6.12.6 - 2024-01-22
  • 6.12.5 - 2024-01-03
  • 6.12.4 - 2023-12-27
  • 6.12.3 - 2023-11-07
  • 6.12.2 - 2023-10-25
  • 6.12.1 - 2023-10-12
  • 6.12.0 - 2023-08-24
  • 6.11.6 - 2023-08-21
  • 6.11.5 - 2023-08-01
  • 6.11.4 - 2023-07-17
  • 6.11.3 - 2023-07-11
  • 6.11.2 - 2023-06-08
  • 6.11.1 - 2023-05-08
  • 6.11.0 - 2023-05-01
  • 6.10.5 - 2023-04-06
  • 6.10.4 - 2023-03-21
  • 6.10.3 - 2023-03-13
  • 6.10.2 - 2023-03-07
  • 6.10.1 - 2023-03-03
  • 6.10.0 - 2023-02-22
  • 6.9.3 - 2023-02-22
  • 6.9.2 - 2023-02-16
  • 6.9.1 - 2023-02-06
  • 6.9.0 - 2023-01-25
  • 6.8.4 - 2023-01-17
  • 6.8.3 - 2023-01-06
  • 6.8.2 - 2022-12-28
  • 6.8.1 - 2022-12-19
  • 6.8.0 - 2022-12-05
  • 6.7.5 - 2022-11-30
  • 6.7.4 - 2022-11-28
  • 6.7.3 - 2022-11-22
  • 6.7.2 - 2022-11-07
  • 6.7.1 - 2022-11-02
  • 6.7.0 - 2022-10-24
  • 6.6.7 - 2022-10-21
  • 6.6.6 - 2022-10-20
  • 6.6.5

Snyk has created this PR to upgrade:
  - bcrypt from 5.0.1 to 5.1.1.
    See this package in npm: https://www.npmjs.com/package/bcrypt
  - body-parser from 1.19.1 to 1.20.2.
    See this package in npm: https://www.npmjs.com/package/body-parser
  - dotenv from 16.0.0 to 16.4.5.
    See this package in npm: https://www.npmjs.com/package/dotenv
  - ejs from 3.1.6 to 3.1.10.
    See this package in npm: https://www.npmjs.com/package/ejs
  - express from 4.17.2 to 4.19.2.
    See this package in npm: https://www.npmjs.com/package/express
  - express-rate-limit from 6.2.0 to 6.11.2.
    See this package in npm: https://www.npmjs.com/package/express-rate-limit
  - express-session from 1.17.2 to 1.18.0.
    See this package in npm: https://www.npmjs.com/package/express-session
  - mongoose from 6.1.9 to 6.13.0.
    See this package in npm: https://www.npmjs.com/package/mongoose
  - passport from 0.5.2 to 0.7.0.
    See this package in npm: https://www.npmjs.com/package/passport
  - passport-local-mongoose from 6.1.0 to 6.3.0.
    See this package in npm: https://www.npmjs.com/package/passport-local-mongoose

See this project in Snyk:
https://app.snyk.io/org/nataliaermeryd/project/b5ac9290-b985-4c57-978b-29e2ec8d38a1?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