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, crypto-js, dotenv, express, express-session, helmet, mongoose, ts-node, zod #110

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

Conversation

eriklopess
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.1.0 to 5.1.1 | 1 version ahead of your current version | a year ago
on 2023-08-16
body-parser
from 1.20.1 to 1.20.2 | 1 version ahead of your current version | 2 years ago
on 2023-02-22
crypto-js
from 4.1.1 to 4.2.0 | 1 version ahead of your current version | 10 months ago
on 2023-10-24
dotenv
from 16.0.3 to 16.4.5 | 17 versions ahead of your current version | 7 months ago
on 2024-02-20
express
from 4.18.2 to 4.19.2 | 4 versions ahead of your current version | 5 months ago
on 2024-03-25
express-session
from 1.17.3 to 1.18.0 | 1 version ahead of your current version | 7 months ago
on 2024-01-28
helmet
from 6.0.1 to 6.2.0 | 7 versions ahead of your current version | a year ago
on 2023-05-06
mongoose
from 6.12.5 to 6.13.0 | 5 versions ahead of your current version | 3 months ago
on 2024-06-06
ts-node
from 10.9.1 to 10.9.2 | 1 version ahead of your current version | 9 months ago
on 2023-12-08
zod
from 3.19.1 to 3.23.8 | 107 versions ahead of your current version | 4 months ago
on 2024-05-08

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-ZOD-5925617
432 Proof of Concept
high severity Use of Weak Hash
SNYK-JS-CRYPTOJS-6028119
432 No Known Exploit
medium severity Uncontrolled Resource Consumption ('Resource Exhaustion')
SNYK-JS-TAR-6476909
432 Proof of Concept
medium severity Open Redirect
SNYK-JS-EXPRESS-6474509
432 No Known Exploit
Release notes
Package name: bcrypt from bcrypt GitHub release notes
Package name: body-parser
  • 1.20.2 - 2023-02-22
    • Fix strict json error message on Node.js 19+
    • deps: content-type@~1.0.5
      • perf: skip value escaping when unnecessary
    • deps: raw-body@2.5.2
  • 1.20.1 - 2022-10-06
    • deps: qs@6.11.0
    • perf: remove unnecessary object clone
from body-parser GitHub release notes
Package name: crypto-js from crypto-js GitHub release notes
Package name: dotenv from dotenv GitHub release notes
Package name: express from express 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: cookie@0.6.0
      • Fix expires option to reject invalid dates
      • perf: improve default decode speed
      • perf: remove slow string split in parse
    • deps: cookie-signature@1.0.7
  • 1.17.3 - 2022-05-11
    • Fix resaving already-saved new session at end of request
    • deps: cookie@0.4.2
from express-session GitHub release notes
Package name: helmet from helmet 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
from mongoose GitHub release notes
Package name: ts-node from ts-node GitHub release notes
Package name: zod

Snyk has created this PR to upgrade:
  - bcrypt from 5.1.0 to 5.1.1.
    See this package in npm: https://www.npmjs.com/package/bcrypt
  - body-parser from 1.20.1 to 1.20.2.
    See this package in npm: https://www.npmjs.com/package/body-parser
  - crypto-js from 4.1.1 to 4.2.0.
    See this package in npm: https://www.npmjs.com/package/crypto-js
  - dotenv from 16.0.3 to 16.4.5.
    See this package in npm: https://www.npmjs.com/package/dotenv
  - express from 4.18.2 to 4.19.2.
    See this package in npm: https://www.npmjs.com/package/express
  - express-session from 1.17.3 to 1.18.0.
    See this package in npm: https://www.npmjs.com/package/express-session
  - helmet from 6.0.1 to 6.2.0.
    See this package in npm: https://www.npmjs.com/package/helmet
  - mongoose from 6.12.5 to 6.13.0.
    See this package in npm: https://www.npmjs.com/package/mongoose
  - ts-node from 10.9.1 to 10.9.2.
    See this package in npm: https://www.npmjs.com/package/ts-node
  - zod from 3.19.1 to 3.23.8.
    See this package in npm: https://www.npmjs.com/package/zod

See this project in Snyk:
https://app.snyk.io/org/eriklopess/project/4fd01b36-5ca9-4e17-b5cf-4585a1219056?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

netlify bot commented Sep 7, 2024

Deploy Preview for poetic-kelpie-5e4f8b ready!

Name Link
🔨 Latest commit 008438f
🔍 Latest deploy log https://app.netlify.com/sites/poetic-kelpie-5e4f8b/deploys/66dbfaac9253c5000853cf3f
😎 Deploy Preview https://deploy-preview-110--poetic-kelpie-5e4f8b.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

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.

JSDoc hints are lost after using .extend
2 participants