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, cookie-parser, ejs, express, express-mongo-sanitize, express-rate-limit, mongoose, multer, validator, xss-clean #49

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

Conversation

sahilpawar58
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
cookie-parser
from 1.4.5 to 1.4.6 | 1 version ahead of your current version | 3 years ago
on 2021-11-16
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.1 to 4.19.2 | 9 versions ahead of your current version | 5 months ago
on 2024-03-25
express-mongo-sanitize
from 2.1.0 to 2.2.0 | 1 version ahead of your current version | 3 years ago
on 2022-01-14
express-rate-limit
from 5.4.1 to 5.5.1 | 2 versions ahead of your current version | 3 years ago
on 2021-11-06
mongoose
from 5.13.10 to 5.13.22 | 12 versions ahead of your current version | 8 months ago
on 2024-01-02
multer
from 1.4.3 to 1.4.4 | 2 versions ahead of your current version | 3 years ago
on 2021-12-07
validator
from 13.6.0 to 13.12.0 | 4 versions ahead of your current version | 4 months ago
on 2024-05-09
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 Regular Expression Denial of Service (ReDoS)
SNYK-JS-ANSIREGEX-1583908
482 Proof of Concept
high severity Remote Code Execution (RCE)
SNYK-JS-EJS-2803307
482 Proof of Concept
high severity Prototype Pollution
SNYK-JS-MONGOOSE-2961688
482 Proof of Concept
high severity Prototype Pollution
SNYK-JS-MONGOOSE-5777721
482 Proof of Concept
high severity Prototype Poisoning
SNYK-JS-QS-3153490
482 Proof of Concept
medium severity Information Exposure
SNYK-JS-NODEFETCH-2342118
482 No Known Exploit
medium severity Uncontrolled Resource Consumption ('Resource Exhaustion')
SNYK-JS-TAR-6476909
482 Proof of Concept
medium severity Improper Control of Dynamically-Managed Code Resources
SNYK-JS-EJS-6689533
482 No Known Exploit
medium severity Open Redirect
SNYK-JS-EXPRESS-6474509
482 No Known Exploit
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-MINIMATCH-3050818
482 No Known Exploit
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-VALIDATOR-1090600
482 Proof of Concept
Release notes
Package name: bcrypt from bcrypt GitHub release notes
Package name: cookie-parser from cookie-parser GitHub release notes
Package name: ejs from ejs 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.
from express-mongo-sanitize GitHub release notes
Package name: express-rate-limit from express-rate-limit 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
from mongoose GitHub release notes
Package name: multer from multer GitHub release notes
Package name: validator

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
  - cookie-parser from 1.4.5 to 1.4.6.
    See this package in npm: https://www.npmjs.com/package/cookie-parser
  - ejs from 3.1.6 to 3.1.10.
    See this package in npm: https://www.npmjs.com/package/ejs
  - 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.1.0 to 2.2.0.
    See this package in npm: https://www.npmjs.com/package/express-mongo-sanitize
  - express-rate-limit from 5.4.1 to 5.5.1.
    See this package in npm: https://www.npmjs.com/package/express-rate-limit
  - mongoose from 5.13.10 to 5.13.22.
    See this package in npm: https://www.npmjs.com/package/mongoose
  - multer from 1.4.3 to 1.4.4.
    See this package in npm: https://www.npmjs.com/package/multer
  - validator from 13.6.0 to 13.12.0.
    See this package in npm: https://www.npmjs.com/package/validator
  - 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/skrillexill/project/a9e381af-62fd-48a8-a409-382e1f54ca27?utm_source=github&utm_medium=referral&page=upgrade-pr
@sahilpawar58 sahilpawar58 self-assigned this Sep 9, 2024
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