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 body-parser from 1.19.0 to 1.20.3 #229

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

Conversation

officialmofabs
Copy link
Collaborator

snyk-top-banner

Snyk has created this PR to upgrade body-parser from 1.19.0 to 1.20.3.

ℹ️ 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.


  • The recommended version is 6 versions ahead of your current version.

  • The recommended version was released on 2 months ago.

Release notes
Package name: body-parser
  • 1.20.3 - 2024-09-09

    What's Changed

    Important

    • deps: qs@6.13.0
    • add depth option to customize the depth level in the parser
    • IMPORTANT: The default depth level for parsing URL-encoded data is now 32 (previously was Infinity). Documentation

    Other changes

    New Contributors

    Full Changelog: 1.20.2...1.20.3

  • 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
  • 1.20.0 - 2022-04-03
    • Fix error message for json parse whitespace in strict
    • Fix internal error when inflated body exceeds limit
    • Prevent loss of async hooks context
    • Prevent hanging when request already read
    • deps: depd@2.0.0
      • Replace internal eval usage with Function constructor
      • Use instance methods on process to check for listeners
    • deps: http-errors@2.0.0
      • deps: depd@2.0.0
      • deps: statuses@2.0.1
    • deps: on-finished@2.4.1
    • deps: qs@6.10.3
    • deps: raw-body@2.5.1
      • deps: http-errors@2.0.0
  • 1.19.2 - 2022-02-16
    • deps: bytes@3.1.2
    • deps: qs@6.9.7
      • Fix handling of __proto__ keys
    • deps: raw-body@2.4.3
      • deps: bytes@3.1.2
  • 1.19.1 - 2021-12-10
  • 1.19.0 - 2019-04-26
from body-parser GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade body-parser from 1.19.0 to 1.20.3.

See this package in npm:
body-parser

See this project in Snyk:
https://app.snyk.io/org/supportigedevteam.onmicrosoft.com/project/03e82df9-3c6a-4f34-adad-57840790f49d?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/body-parser@1.20.3 network Transitive: environment, eval, filesystem, unsafe +9 410 kB ulisesgascon
npm/call-bind@1.0.7 None 0 22.1 kB ljharb
npm/content-type@1.0.5 None 0 10.5 kB dougwilson
npm/define-data-property@1.1.4 None 0 30.9 kB ljharb
npm/es-define-property@1.0.0 None 0 11.8 kB ljharb
npm/es-errors@1.3.0 None 0 12.3 kB ljharb
npm/function-bind@1.1.2 None 0 31.4 kB ljharb
npm/get-intrinsic@1.2.4 eval 0 41.6 kB ljharb
npm/gopd@1.0.1 None 0 7.7 kB ljharb
npm/has-property-descriptors@1.0.2 None 0 10.9 kB ljharb
npm/has-proto@1.0.3 None 0 12 kB ljharb
npm/hasown@2.0.2 None 0 8.77 kB ljharb
npm/object-inspect@1.13.3 None 0 101 kB emilbayes, ljharb
npm/raw-body@2.5.2 network, unsafe 0 25.8 kB dougwilson
npm/set-function-length@1.2.2 None 0 14.7 kB ljharb
npm/shallow-clone@3.0.1 None 0 9.45 kB jonschlinkert
npm/shebang-command@1.2.0 None 0 2.69 kB kevva
npm/shebang-regex@1.0.0 None 0 2.3 kB sindresorhus
npm/shell-quote@1.7.3 None 0 22.2 kB substack
npm/side-channel@1.0.4 None 0 14.6 kB ljharb
npm/side-channel@1.0.6 None 0 23.2 kB ljharb
npm/signal-exit@3.0.7 None 0 9.96 kB isaacs
npm/sirv@1.0.19 filesystem 0 20.7 kB lukeed
npm/slash@3.0.0 None 0 3.51 kB sindresorhus
npm/sockjs@0.3.24 filesystem, network 0 82.8 kB brycekahle
npm/source-map-js@1.0.2 None 0 148 kB 7rulnik
npm/source-map-support@0.5.21 filesystem +1 890 kB linusu
npm/spdx-correct@3.1.1 None 0 22.4 kB kemitchell
npm/spdx-exceptions@2.3.0 None 0 2.66 kB kemitchell
npm/spdx-expression-parse@3.0.1 None 0 11.8 kB kemitchell
npm/spdx-license-ids@3.0.11 None 0 9.74 kB kemitchell
npm/spdy-transport@3.0.0 None 0 136 kB daviddias
npm/spdy@4.0.2 network 0 57.7 kB indutny
npm/ssri@8.0.1 None 0 46.9 kB nlf
npm/stable@0.1.8 None 0 8.41 kB stephank
npm/stackframe@1.2.1 None 0 33.2 kB eriwen
npm/string_decoder@1.3.0 None 0 14.4 kB matteo.collina
npm/strip-ansi@6.0.1 None 0 4.03 kB sindresorhus
npm/strip-eof@1.0.0 None 0 2.64 kB sindresorhus
npm/strip-final-newline@2.0.0 None 0 3.05 kB sindresorhus
npm/strip-indent@2.0.0 None 0 3.04 kB sindresorhus
npm/stylehacks@5.1.0 None 0 48.7 kB ludovicofischer
npm/supports-color@7.2.0 None 0 7.04 kB sindresorhus
npm/supports-preserve-symlinks-flag@1.0.0 None 0 9.18 kB ljharb
npm/svg-tags@1.0.0 None 0 5.93 kB kgryte
npm/svgo@2.8.0 filesystem 0 975 kB trysound
npm/terser-webpack-plugin@5.3.1 None 0 89 kB evilebottnawi
npm/terser@5.13.1 environment, eval 0 2.03 MB fabiosantoscode
npm/thenify-all@1.6.0 None 0 6.59 kB dead_horse
npm/thenify@3.3.1 None 0 7.92 kB dead_horse
npm/thread-loader@3.0.4 filesystem, shell, unsafe 0 44.2 kB evilebottnawi
npm/thunky@1.1.0 None 0 7.76 kB mafintosh
npm/to-fast-properties@2.0.0 None 0 3.5 kB sindresorhus
npm/totalist@1.1.0 filesystem 0 7.52 kB lukeed
npm/tr46@0.0.3 None 0 268 kB sebmaster
npm/tslib@2.4.0 None 0 50 kB typescript-bot
npm/type-fest@0.6.0 None 0 29.6 kB sindresorhus
npm/unicode-canonical-property-names-ecmascript@2.0.0 None 0 5.01 kB google-wombot
npm/unicode-match-property-ecmascript@2.0.0 None 0 5.05 kB google-wombot
npm/unicode-match-property-value-ecmascript@2.0.0 None 0 25.6 kB google-wombot
npm/unicode-property-aliases-ecmascript@2.0.0 None 0 5.98 kB google-wombot
npm/universalify@2.0.0 None 0 4.64 kB ryanzim
npm/uri-js@4.4.1 None 0 470 kB garycourt
npm/uuid@8.3.2 None 0 116 kB ctavan
npm/validate-npm-package-license@3.0.4 None 0 16.6 kB kemitchell
npm/vue-hot-reload-api@2.3.4 None 0 11.1 kB soda
npm/vue-loader@17.0.0 environment, filesystem 0 76.1 kB yyx990803
npm/vue-template-es2015-compiler@1.9.1 None 0 502 kB yyx990803
npm/vue@2.6.14 environment 0 2.97 MB posva
npm/watchpack@2.3.1 environment, filesystem 0 56.9 kB sokra
npm/wcwidth@1.0.1 None 0 14.2 kB timoxley
npm/webidl-conversions@3.0.1 None 0 12.4 kB sebmaster
npm/webpack-bundle-analyzer@4.5.0 environment, filesystem, network 0 1.26 MB valscion
npm/webpack-chain@6.5.1 None 0 114 kB edmorley
npm/webpack-dev-middleware@5.3.1 filesystem 0 78.7 kB evilebottnawi
npm/webpack-dev-server@4.9.0 environment, network 0 598 kB evilebottnawi
npm/webpack-merge@5.8.0 None 0 57.2 kB bebraw
npm/webpack-sources@3.2.3 None 0 91.3 kB sokra
npm/webpack-virtual-modules@0.4.3 environment 0 79.3 kB vicvlas
npm/webpack@5.72.1 environment, filesystem, network, unsafe Transitive: eval +2 4.47 MB sokra
npm/websocket-extensions@0.1.4 None 0 55 kB jcoglan
npm/whatwg-fetch@3.6.2 network 0 54.8 kB jakechampion
npm/whatwg-url@5.0.0 None 0 49.9 kB domenic
npm/which@1.3.1 environment 0 9.42 kB isaacs
npm/wildcard@2.0.0 None 0 21.7 kB damonoehlman
npm/wrap-ansi@7.0.0 None 0 10.6 kB sindresorhus
npm/ws@7.5.7 network 0 122 kB lpinca
npm/y18n@5.0.8 filesystem 0 23.4 kB oss-bot
npm/yallist@4.0.0 None 0 14.8 kB isaacs
npm/yaml@1.10.2 environment 0 448 kB eemeli
npm/yargs-parser@20.2.9 environment, filesystem 0 124 kB oss-bot
npm/yargs@16.2.0 environment, filesystem 0 286 kB oss-bot
npm/yorkie@2.0.0 environment, filesystem 0 21.6 kB yyx990803

🚮 Removed packages: npm/@eslint/eslintrc@0.4.3, npm/@humanwhocodes/config-array@0.5.0, npm/@humanwhocodes/object-schema@1.2.1, npm/@leichtgewicht/ip-codec@2.0.4, npm/acorn-jsx@5.3.2, npm/ansi-colors@4.1.3, npm/argparse@1.0.10, npm/astral-regex@2.0.0, npm/balanced-match@1.0.2, npm/callsites@3.1.0, npm/core-util-is@1.0.3, npm/de-indent@1.0.2, npm/deep-is@0.1.4, npm/doctrine@3.0.0, npm/dom-serializer@1.4.1, npm/domhandler@4.3.1, npm/domutils@2.8.0, npm/enquirer@2.3.6, npm/entities@2.2.0, npm/eslint-plugin-vue@7.20.0, npm/eslint-utils@2.1.0, npm/eslint@7.32.0, npm/esprima@4.0.1, npm/esquery@1.4.0, npm/fast-levenshtein@2.0.6, npm/file-entry-cache@6.0.1, npm/flat-cache@3.0.4, npm/flatted@3.2.5, npm/functional-red-black-tree@1.0.1, npm/js-yaml@3.14.1, npm/json-stable-stringify-without-jsonify@1.0.1, npm/levn@0.4.1, npm/lodash.merge@4.6.2, npm/lodash.truncate@4.4.2, npm/lower-case@2.0.2, npm/mdn-data@2.0.14, npm/minimalistic-assert@1.0.1, npm/natural-compare@1.4.0, npm/nth-check@2.0.1, npm/object-inspect@1.12.0, npm/optionator@0.9.1, npm/prelude-ls@1.2.1, npm/progress@2.0.3, npm/regexpp@3.2.0

View full report↗︎

Copy link

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSourceCI
Critical CVE npm/webpack@5.72.1 ⚠︎

View full report↗︎

Next steps

What is a critical CVE?

Contains a Critical Common Vulnerability and Exposure (CVE).

Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/webpack@5.72.1

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