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: , , , cookie-session, express, express-validator, mongoose, typescript #108

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

Conversation

AlexanderSCK
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

@types/express
from 4.17.13 to 4.17.21 | 8 versions ahead of your current version | 10 months ago
on 2023-11-07
@types/cookie-session
from 2.0.44 to 2.0.49 | 5 versions ahead of your current version | 5 months ago
on 2024-04-17
@types/jsonwebtoken
from 8.5.8 to 8.5.9 | 1 version ahead of your current version | 2 years ago
on 2022-08-24
cookie-session
from 2.0.0 to 2.1.0 | 1 version ahead of your current version | 8 months ago
on 2024-01-24
express
from 4.17.3 to 4.19.2 | 7 versions ahead of your current version | 6 months ago
on 2024-03-25
express-validator
from 6.14.0 to 6.15.0 | 4 versions ahead of your current version | 2 years ago
on 2023-02-16
mongoose
from 6.2.9 to 6.13.0 | 73 versions ahead of your current version | 3 months ago
on 2024-06-06
typescript
from 4.6.3 to 4.9.5 | 260 versions ahead of your current version | 2 years ago
on 2023-01-30

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Prototype Pollution
SNYK-JS-MONGOOSE-2961688
519 Proof of Concept
high severity Prototype Pollution
SNYK-JS-MONGOOSE-5777721
519 Proof of Concept
high severity Server-side Request Forgery (SSRF)
SNYK-JS-IP-6240864
519 Proof of Concept
medium severity Open Redirect
SNYK-JS-EXPRESS-6474509
519 No Known Exploit
medium severity Information Exposure
SNYK-JS-MONGODB-5871303
519 No Known Exploit
medium severity Server-Side Request Forgery (SSRF)
SNYK-JS-IP-7148531
519 Proof of Concept
Release notes
Package name: @types/express
  • 4.17.21 - 2023-11-07
  • 4.17.20 - 2023-10-18
  • 4.17.19 - 2023-10-10
  • 4.17.18 - 2023-09-23
  • 4.17.17 - 2023-02-03
  • 4.17.16 - 2023-01-23
  • 4.17.15 - 2022-12-13
  • 4.17.14 - 2022-09-13
  • 4.17.13 - 2021-07-06
from @types/express GitHub release notes
Package name: @types/cookie-session
  • 2.0.49 - 2024-04-17
  • 2.0.48 - 2023-11-20
  • 2.0.47 - 2023-11-07
  • 2.0.46 - 2023-10-18
  • 2.0.45 - 2023-09-04
  • 2.0.44 - 2021-12-23
from @types/cookie-session GitHub release notes
Package name: @types/jsonwebtoken
  • 8.5.9 - 2022-08-24
  • 8.5.8 - 2022-01-17
from @types/jsonwebtoken GitHub release notes
Package name: cookie-session
  • 2.1.0 - 2024-01-24
    • Fix loading sessions with special keys
    • deps: [email protected]
      • Add partitioned option for CHIPS support
      • Add priority option for Priority cookie support
      • Fix accidental cookie name/value truncation when given invalid chars
      • Fix maxAge option to reject invalid values
      • Remove quotes from returned quoted cookie value
      • Use req.socket over deprecated req.connection
      • pref: small lookup regexp optimization
  • 2.0.0 - 2021-12-16
    • Change default cookie name to session
    • Change .populated to .isPopulated
    • Create new session for all types of invalid sessions
    • Drop support for Node.js 0.8
    • Remove private req.session.save()
    • Remove the key option; use name instead
    • Remove undocumented req.session.length to free up key name
    • Remove undocumented req.sessionCookies and req.sessionKey
    • Save all enumerable properties on req.session
      • Including _-prefixed properties
    • Use Object.defineProperty instead of deprecated __define*__
    • Use safe-buffer for improved Buffer API
    • deps: [email protected]
      • Fix check for default secure option behavior
      • Fix maxAge option preventing cookie deletion
      • Support "none" in sameSite option
      • deps: depd@~2.0.0
      • deps: keygrip@~1.1.0
      • perf: remove argument reassignment
    • deps: [email protected]
      • Add DEBUG_HIDE_DATE
      • Add 256 color mode support
      • Enable / disable namespaces dynamically
      • Make millisecond timer namespace-specific
      • Remove DEBUG_FD support
      • Use Date#toISOString() when output is not a TTY
    • deps: on-headers@~1.0.2
      • Fix res.writeHead patch missing return value
    • deps: [email protected]
    • perf: reduce the scope of try-catch deopt
    • perf: remove internal reference to request from session object
from cookie-session GitHub release notes
Package name: express from express GitHub release notes
Package name: express-validator from express-validator 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 - 2022-10-05
  • 6.6.4 - 2022-10-03
  • 6.6.3 - 2022-09-30
  • 6.6.2 - 2022-09-26
  • 6.6.1 - 2022-09-14
  • 6.6.0 - 2022-09-08
  • 6.5.5 - 2022-09-07
  • 6.5.4 - 2022-08-30
  • 6.5.3 - 2022-08-25
  • 6.5.2 - 2022-08-10
  • 6.5.1 - 2022-08-03
  • 6.5.0 - 2022-07-26
  • 6.4.7 - 2022-07-25
  • 6.4.6 - 2022-07-20
  • 6.4.5 - 2022-07-18
  • 6.4.4 - 2022-07-08
  • 6.4.3 - 2022-07-05
  • 6.4.2 - 2022-07-01
  • 6.4.1 - 2022-06-27
  • 6.4.0 - 2022-06-17
  • 6.3.9 - 2022-06-17
  • 6.3.8 - 2022-06-13
  • 6.3.7 - 2022-06-13
  • 6.3.6 - 2022-06-07
  • 6.3.5 - 2022-05-30
  • 6.3.4 - 2022-05-19
  • 6.3.3 - 2022-05-09
  • 6.3.2 - 2022-05-02
  • 6.3.1 - 2022-04-21
  • 6.3.0 - 2022-04-14
  • 6.2.11 - 2022-04-13
  • 6.2.10 - 2022-04-04
  • 6.2.9 - 2022-03-28
from mongoose GitHub release notes
Package name: typescript
  • 4.9.5 - 2023-01-30
  • 4.9.4 - 2022-12-07
  • 4.9.3 - 2022-11-15
  • 4.9.2-rc - 2022-11-01
  • 4.9.1-beta - 2022-09-23
  • 4.9.0-dev.20221031 - 2022-10-31
  • 4.9.0-dev.20221030 - 2022-10-30
  • 4.9.0-dev.20221029 - 2022-10-29
  • 4.9.0-dev.20221028 - 2022-10-28
  • 4.9.0-dev.20221027 - 2022-10-27
  • 4.9.0-dev.20221026 - 2022-10-26
  • 4.9.0-dev.20221025 - 2022-10-25
  • 4.9.0-dev.20221024 - 2022-10-24
  • 4.9.0-dev.20221023 - 2022-10-23
  • 4.9.0-dev.20221022 - 2022-10-22
  • 4.9.0-dev.20221021 - 2022-10-21
  • 4.9.0-dev.20221020 - 2022-10-20
  • 4.9.0-dev.20221019 - 2022-10-19
  • 4.9.0-dev.20221018 - 2022-10-18
  • 4.9.0-dev.20221017 - 2022-10-17
  • 4.9.0-dev.20221016 - 2022-10-16
  • 4.9.0-dev.20221015 - 2022-10-15
  • 4.9.0-dev.20221014 - 2022-10-14
  • 4.9.0-dev.20221013 - 2022-10-13
  • 4.9.0-dev.20221012 - 2022-10-12
  • 4.9.0-dev.20221011 - 2022-10-11
  • 4.9.0-dev.20221007 - 2022-10-07
  • 4.9.0-dev.20221006 - 2022-10-06
  • 4.9.0-dev.20221005 - 2022-10-05
  • 4.9.0-dev.20221004 - 2022-10-04
  • 4.9.0-dev.20221003 - 2022-10-03
  • 4.9.0-dev.20221002 - 2022-10-02
  • 4.9.0-dev.20221001 - 2022-10-01
  • 4.9.0-dev.20220930 - 2022-09-30
  • 4.9.0-dev.20220929 - 2022-09-29
  • 4.9.0-dev.20220928 - 2022-09-28
  • 4.9.0-dev.20220927 - 2022-09-27
  • 4.9.0-dev.20220926 - 2022-09-26
  • 4.9.0-dev.20220925 - 2022-09-25
  • 4.9.0-dev.20220924 - 2022-09-24
  • 4.9.0-dev.20220923 - 2022-09-23
  • 4.9.0-dev.20220922 - 2022-09-22
  • 4.9.0-dev.20220921 - 2022-09-21
  • 4.9.0-dev.20220920 - 2022-09-20
  • 4.9.0-dev.20220919 - 2022-09-19
  • 4.9.0-dev.20220918 - 2022-09-18
  • 4.9.0-dev.20220917 - 2022-09-17
  • 4.9.0-dev.20220916 - 2022-09-16
  • 4.9.0-dev.20220915 - 2022-09-15
  • 4.9.0-dev.20220914 - 2022-09-14
  • 4.9.0-dev.20220913 - 2022-09-13
  • 4.9.0-dev.20220912 - 2022-09-12
  • 4.9.0-dev.20220911 - 2022-09-11
  • 4.9.0-dev.20220910 - 2022-09-10
  • 4.9.0-dev.20220909 - 2022-09-09
  • 4.9.0-dev.20220908 - 2022-09-08
  • 4.9.0-dev.20220907 - 2022-09-07
  • 4.9.0-dev.20220905 - 2022-09-05
  • 4.9.0-dev.20220904 - 2022-09-04
  • 4.9.0-dev.20220903 - 2022-09-03
  • 4.9.0-dev.20220902 - 2022-09-02
  • 4.9.0-dev.20220901 - 2022-09-01
  • 4.9.0-dev.20220831 - 2022-08-31
  • 4.9.0-dev.20220830 - 2022-08-30
  • 4.9.0-dev.20220829 - 2022-08-29
  • 4.9.0-dev.20220828 - 2022-08-28
  • 4.9.0-dev.20220827 - 2022-08-27
  • 4.9.0-dev.20220825 - 2022-08-25
  • 4.9.0-dev.20220824 - 2022-08-24
  • 4.9.0-dev.20220823 - 2022-08-23
  • 4.9.0-dev.20220822 - 2022-08-22
  • 4.9.0-dev.20220821 - 2022-08-21
  • 4.9.0-dev.20220820 - 2022-08-20
  • 4.9.0-dev.20220819 - 2022-08-19
  • 4.9.0-dev.20220818 - 2022-08-18
  • 4.9.0-dev.20220817 - 2022-08-17
  • 4.9.0-dev.20220816 - 2022-08-16
  • 4.9.0-dev.20220815 - 2022-08-15
  • 4.9.0-dev.20220814 - 2022-08-14
  • 4.9.0-dev.20220813 - 2022-08-13
  • 4.9.0-dev.20220812 - 2022-08-12
  • 4.9.0-dev.20220811 - 2022-08-11
  • 4.9.0-beta - 2022-09-23
  • 4.8.4 - 2022-09-27
  • 4.8.3 - 2022-09-08
  • 4.8.2 - 2022-08-25
  • 4.8.1-rc - 2022-08-11
  • 4.8.0-dev.20220809 - 2022-08-09
  • 4.8.0-dev.20220808 - 2022-08-08
  • 4.8.0-dev.20220807 - 2022-08-07
  • 4.8.0-dev.20220806 - 2022-08-06
  • 4.8.0-dev.20220805 - 2022-08-05
  • 4.8.0-dev.20220804 - 2022-08-04
  • 4.8.0-dev.20220803 - 2022-08-03
  • 4.8.0-dev.20220802 - 2022-08-02
  • 4.8.0-dev.20220801 - 2022-08-01
  • 4.8.0-dev.20220731 - 2022-07-31
  • 4.8.0-dev.20220730 - 2022-07-30
  • 4.8.0-dev.20220729 - 2022-07-29
  • 4.8.0-dev.20220728 - 2022-07-28
  • 4.8.0-dev.20220727 - 2022-07-27
  • 4.8.0-dev.20220726 - 2022-07-26
  • 4.8.0-dev.20220725 - 2022-07-25
  • 4.8.0-dev.20220724 - 2022-07-24
  • 4.8.0-dev.20220723 - 2022-07-23
  • 4.8.0-dev.20220722 - 2022-07-22
  • 4.8.0-dev.20220721 - 2022-07-21
  • 4.8.0-dev.20220720 - 2022-07-20
  • 4.8.0-dev.20220719 - 2022-07-19
  • 4.8.0-dev.20220718 - 2022-07-18
  • 4.8.0-dev.20220717 - 2022-07-17
  • 4.8.0-dev.20220716 - 2022-07-16
  • 4.8.0-dev.20220715 - 2022-07-15
  • 4.8.0-dev.20220714 - 2022-07-14
  • 4.8.0-dev.20220713 - 2022-07-13
  • 4.8.0-dev.20220712 - 2022-07-12
  • 4.8.0-dev.20220711 - 2022-07-11
  • 4.8.0-dev.20220710 - 2022-07-10
  • 4.8.0-dev.20220709 - 2022-07-09
  • 4.8.0-dev.20220708 - 2022-07-08
  • 4.8.0-dev.20220707 - 2022-07-07
  • 4.8.0-dev.20220706 - 2022-07-06
  • 4.8.0-dev.20220705 - 2022-07-05
  • 4.8.0-dev.20220704 - 2022-07-04
  • 4.8.0-dev.20220703 - 2022-07-03
  • 4.8.0-dev.20220701 - 2022-07-01
  • 4.8.0-dev.20220630 - 2022-06-30
  • 4.8.0-dev.20220629 - 2022-06-...

Snyk has created this PR to upgrade:
  - @types/express from 4.17.13 to 4.17.21.
    See this package in npm: https://www.npmjs.com/package/@types/express
  - @types/cookie-session from 2.0.44 to 2.0.49.
    See this package in npm: https://www.npmjs.com/package/@types/cookie-session
  - @types/jsonwebtoken from 8.5.8 to 8.5.9.
    See this package in npm: https://www.npmjs.com/package/@types/jsonwebtoken
  - cookie-session from 2.0.0 to 2.1.0.
    See this package in npm: https://www.npmjs.com/package/cookie-session
  - express from 4.17.3 to 4.19.2.
    See this package in npm: https://www.npmjs.com/package/express
  - express-validator from 6.14.0 to 6.15.0.
    See this package in npm: https://www.npmjs.com/package/express-validator
  - mongoose from 6.2.9 to 6.13.0.
    See this package in npm: https://www.npmjs.com/package/mongoose
  - typescript from 4.6.3 to 4.9.5.
    See this package in npm: https://www.npmjs.com/package/typescript

See this project in Snyk:
https://app.snyk.io/org/alexandersck/project/7982d568-4e24-4217-8d6a-5d5216ada3f9?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