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, express, morgan, serve-favicon #19

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

Conversation

sumanthreddy-a
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

body-parser
from 1.16.1 to 1.20.2 | 13 versions ahead of your current version | 2 years ago
on 2023-02-22
express
from 4.14.1 to 4.19.2 | 22 versions ahead of your current version | 6 months ago
on 2024-03-25
morgan
from 1.7.0 to 1.10.0 | 6 versions ahead of your current version | 4 years ago
on 2020-03-20
serve-favicon
from 2.3.2 to 2.5.0 | 7 versions ahead of your current version | 6 years ago
on 2018-03-29

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Prototype Poisoning
SNYK-JS-QS-3153490
519 Proof of Concept
high severity Prototype Override Protection Bypass
npm:qs:20170213
519 No Known Exploit
high severity Prototype Poisoning
SNYK-JS-QS-3153490
519 Proof of Concept
high severity Prototype Override Protection Bypass
npm:qs:20170213
519 No Known Exploit
high severity Regular Expression Denial of Service (ReDoS)
npm:fresh:20170908
519 No Known Exploit
medium severity Open Redirect
SNYK-JS-EXPRESS-6474509
519 No Known Exploit
medium severity Arbitrary Code Injection
SNYK-JS-MORGAN-72579
519 Proof of Concept
low severity Regular Expression Denial of Service (ReDoS)
npm:debug:20170905
519 Proof of Concept
low severity Regular Expression Denial of Service (ReDoS)
npm:debug:20170905
519 Proof of Concept
low severity Regular Expression Denial of Service (ReDoS)
npm:mime:20170907
519 No Known Exploit
low severity Regular Expression Denial of Service (ReDoS)
npm:ms:20170412
519 No Known Exploit
low severity Regular Expression Denial of Service (ReDoS)
npm:ms:20170412
519 No Known Exploit
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
  • 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
    • deps: bytes@3.1.1
    • deps: http-errors@1.8.1
      • deps: inherits@2.0.4
      • deps: toidentifier@1.0.1
      • deps: setprototypeof@1.2.0
    • deps: qs@6.9.6
    • deps: raw-body@2.4.2
      • deps: bytes@3.1.1
      • deps: http-errors@1.8.1
    • deps: safe-buffer@5.2.1
    • deps: type-is@~1.6.18
  • 1.19.0 - 2019-04-26
    • deps: bytes@3.1.0
      • Add petabyte (pb) support
    • deps: http-errors@1.7.2
      • Set constructor name when possible
      • deps: setprototypeof@1.1.1
      • deps: statuses@'>= 1.5.0 < 2'
    • deps: iconv-lite@0.4.24
      • Added encoding MIK
    • deps: qs@6.7.0
      • Fix parsing array brackets after index
    • deps: raw-body@2.4.0
      • deps: bytes@3.1.0
      • deps: http-errors@1.7.2
      • deps: iconv-lite@0.4.24
    • deps: type-is@~1.6.17
      • deps: mime-types@~2.1.24
      • perf: prevent internal throw on invalid type
  • 1.18.3 - 2018-05-14
    • Fix stack trace for strict json parse error
    • deps: depd@~1.1.2
      • perf: remove argument reassignment
    • deps: http-errors@~1.6.3
      • deps: depd@~1.1.2
      • deps: setprototypeof@1.1.0
      • deps: statuses@'>= 1.3.1 < 2'
    • deps: iconv-lite@0.4.23
      • Fix loading encoding with year appended
      • Fix deprecation warnings on Node.js 10+
    • deps: qs@6.5.2
    • deps: raw-body@2.3.3
      • deps: http-errors@1.6.3
      • deps: iconv-lite@0.4.23
    • deps: type-is@~1.6.16
      • deps: mime-types@~2.1.18
  • 1.18.2 - 2017-09-22
    • deps: debug@2.6.9
    • perf: remove argument reassignment
  • 1.18.1 - 2017-09-12
    • deps: content-type@~1.0.4
      • perf: remove argument reassignment
      • perf: skip parameter parsing when no parameters
    • deps: iconv-lite@0.4.19
      • Fix ISO-8859-1 regression
      • Update Windows-1255
    • deps: qs@6.5.1
      • Fix parsing & compacting very deep objects
    • deps: raw-body@2.3.2
      • deps: iconv-lite@0.4.19
  • 1.18.0 - 2017-09-09
  • 1.17.2 - 2017-05-18
  • 1.17.1 - 2017-03-06
  • 1.17.0 - 2017-03-01
  • 1.16.1 - 2017-02-11
from body-parser GitHub release notes
Package name: express
  • 4.19.2 - 2024-03-25
  • 4.19.1 - 2024-03-20

    What's Changed

    Full Changelog: 4.19.0...4.19.1

  • 4.19.0 - 2024-03-20

    What's Changed

    New Contributors

    Full Changelog: 4.18.3...4.19.0

  • 4.18.3 - 2024-02-29

    Main Changes

    • Fix routing requests without method
    • deps: body-parser@1.20.2
      • Fix strict json error message on Node.js 19+
      • deps: content-type@~1.0.5
      • deps: raw-body@2.5.2

    Other Changes

    New Contributors

    Full Changelog: 4.18.2...4.18.3

  • 4.18.2 - 2022-10-08
    • Fix regression routing a large stack in a single route
    • deps: body-parser@1.20.1
      • deps: qs@6.11.0
      • perf: remove unnecessary object clone
    • deps: qs@6.11.0
  • 4.18.1 - 2022-04-29
    • Fix hanging on large stack of sync routes
  • 4.18.0 - 2022-04-25
    • Add "root" option to res.download
    • Allow options without filename in res.download
    • Deprecate string and non-integer arguments to res.status
    • Fix behavior of null/undefined as maxAge in res.cookie
    • Fix handling very large stacks of sync middleware
    • Ignore Object.prototype values in settings through app.set/app.get
    • Invoke default with same arguments as types in res.format
    • Support proper 205 responses using res.send
    • Use http-errors for res.format error
    • deps: body-parser@1.20.0
      • 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
      • deps: http-errors@2.0.0
      • deps: on-finished@2.4.1
      • deps: qs@6.10.3
      • deps: raw-body@2.5.1
    • deps: cookie@0.5.0
      • Add priority option
      • Fix expires option to reject invalid dates
    • deps: depd@2.0.0
      • Replace internal eval usage with Function constructor
      • Use instance methods on process to check for listeners
    • deps: finalhandler@1.2.0
      • Remove set content headers that break response
      • deps: on-finished@2.4.1
      • deps: statuses@2.0.1
    • deps: on-finished@2.4.1
      • Prevent loss of async hooks context
    • deps: qs@6.10.3
    • deps: send@0.18.0
      • Fix emitted 416 error missing headers property
      • Limit the headers removed for 304 response
      • deps: depd@2.0.0
      • deps: destroy@1.2.0
      • deps: http-errors@2.0.0
      • deps: on-finished@2.4.1
      • deps: statuses@2.0.1
    • deps: serve-static@1.15.0
      • deps: send@0.18.0
    • deps: statuses@2.0.1
      • Remove code 306
      • Rename 425 Unordered Collection to standard 425 Too Early
  • 4.17.3 - 2022-02-17
    • deps: accepts@~1.3.8
      • deps: mime-types@~2.1.34
      • deps: negotiator@0.6.3
    • deps: body-parser@1.19.2
      • deps: bytes@3.1.2
      • deps: qs@6.9.7
      • deps: raw-body@2.4.3
    • deps: cookie@0.4.2
    • deps: qs@6.9.7
      • Fix handling of __proto__ keys
    • pref: remove unnecessary regexp for trust proxy
  • 4.17.2 - 2021-12-17
    • Fix handling of undefined in res.jsonp
    • Fix handling of undefined when "json escape" is enabled
    • Fix incorrect middleware execution with unanchored RegExps
    • Fix res.jsonp(obj, status) deprecation message
    • Fix typo in res.is JSDoc
    • deps: body-parser@1.19.1
      • deps: bytes@3.1.1
      • deps: http-errors@1.8.1
      • deps: qs@6.9.6
      • deps: raw-body@2.4.2
      • deps: safe-buffer@5.2.1
      • deps: type-is@~1.6.18
    • deps: content-disposition@0.5.4
      • deps: safe-buffer@5.2.1
    • deps: cookie@0.4.1
      • Fix maxAge option to reject invalid values
    • deps: proxy-addr@~2.0.7
      • Use req.socket over deprecated req.connection
      • deps: forwarded@0.2.0
      • deps: ipaddr.js@1.9.1
    • deps: qs@6.9.6
    • deps: safe-buffer@5.2.1
    • deps: send@0.17.2
      • deps: http-errors@1.8.1
      • deps: ms@2.1.3
      • pref: ignore empty http tokens
    • deps: serve-static@1.14.2
      • deps: send@0.17.2
    • deps: setprototypeof@1.2.0
  • 4.17.1 - 2019-05-26
  • 4.17.0 - 2019-05-17
  • 4.16.4 - 2018-10-11
  • 4.16.3 - 2018-03-12
  • 4.16.2 - 2017-10-10
  • 4.16.1 - 2017-09-29
  • 4.16.0 - 2017-09-28
  • 4.15.5 - 2017-09-25
  • 4.15.4 - 2017-08-07
  • 4.15.3 - 2017-05-17
  • 4.15.2 - 2017-03-06
  • 4.15.1 - 2017-03-06
  • 4.15.0 - 2017-03-01
  • 4.14.1 - 2017-01-28
from express GitHub release notes
Package name: morgan
  • 1.10.0 - 2020-03-20
    • Add :total-time token
    • Fix trailing space in colored status code for dev format
    • deps: basic-auth@~2.0.1
      • deps: safe-buffer@5.1.2
    • deps: depd@~2.0.0
      • Replace internal eval usage with Function constructor
      • Use instance methods on process to check for listeners
    • deps: on-headers@~1.0.2
      • Fix res.writeHead patch missing return value
  • 1.9.1 - 2018-09-11
    • Fix using special characters in format
    • deps: depd@~1.1.2
      • perf: remove argument reassignment
  • 1.9.0 - 2017-09-27
    • Use res.headersSent when available
    • deps: basic-auth@~2.0.0
      • Use safe-buffer for improved Buffer API
    • deps: debug@2.6.9
    • deps: depd@~1.1.1
      • Remove unnecessary Buffer loading
  • 1.8.2 - 2017-05-24
    • deps: debug@2.6.8
      • Fix DEBUG_MAX_ARRAY_LENGTH
      • deps: ms@2.0.0
  • 1.8.1 - 2017-02-11
    • deps: debug@2.6.1
      • Fix deprecation messages in WebStorm and other editors
      • Undeprecate DEBUG_FD set to 1 or 2
  • 1.8.0 - 2017-02-05
    • Fix sending unnecessary undefined argument to token functions
    • deps: basic-auth@~1.1.0
    • deps: debug@2.6.0
      • Allow colors in workers
      • Deprecated DEBUG_FD environment variable
      • Fix error when running under React Native
      • Use same color for same namespace
      • deps: ms@0.7.2
    • perf: enable strict mode in compiled functions
  • 1.7.0 - 2016-02-19
    • Add digits argument to response-time token
    • deps: depd@~1.1.0
      • Enable strict mode in more places
      • Support web browser loading
    • deps: on-headers@~1.0.1
      • perf: enable strict mode
from morgan GitHub release notes
Package name: serve-favicon
  • 2.5.0 - 2018-03-29
    • Ignore requests without url property
    • deps: ms@2.1.1
      • Add week
      • Add w
  • 2.4.5 - 2017-09-26
    • deps: etag@~1.8.1
      • perf: replace regular expression with substring
    • deps: fresh@0.5.2
      • Fix regression matching multiple ETags in If-None-Match
      • perf: improve If-None-Match token parsing
  • 2.4.4 - 2017-09-12
    • deps: fresh@0.5.1
      • Fix handling of modified headers with invalid dates
      • perf: improve ETag match loop
    • deps: parseurl@~1.3.2
      • perf: reduce overhead for full URLs
      • perf: unroll the "fast-path" RegExp
    • deps: safe-buffer@5.1.1
  • 2.4.3 - 2017-05-16
    • Use safe-buffer for improved Buffer API
    • deps: ms@2.0.0
  • 2.4.2 - 2017-03-25
    • deps: ms@1.0.0
  • 2.4.1 - 2017-02-28
    • Remove usage of res._headers private field
    • deps: fresh@0.5.0
      • Fix incorrect result when If-None-Match has both * and ETags
      • Fix weak ETag matching to match spec
      • perf: skip checking modified time if ETag check failed
      • perf: skip parsing If-None-Match when no ETag header
      • perf: use Date.parse instead of new Date
  • 2.4.0 - 2017-02-20
    • deps: etag@~1.8.0
      • Use SHA1 instead of MD5 for ETag hashing
      • Works with FIPS 140-2 OpenSSL configuration
    • deps: fresh@0.4.0
      • Fix false detection of no-cache request directive
      • perf: enable strict mode
      • perf: hoist regular expressions
      • perf: remove duplicate conditional
      • perf: remove unnecessary boolean coercions
    • perf: simplify initial argument checking
  • 2.3.2 - 2016-11-17
    • deps: ms@0.7.2
from serve-favicon 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.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

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.16.1 to 1.20.2.
    See this package in npm: https://www.npmjs.com/package/body-parser
  - express from 4.14.1 to 4.19.2.
    See this package in npm: https://www.npmjs.com/package/express
  - morgan from 1.7.0 to 1.10.0.
    See this package in npm: https://www.npmjs.com/package/morgan
  - serve-favicon from 2.3.2 to 2.5.0.
    See this package in npm: https://www.npmjs.com/package/serve-favicon

See this project in Snyk:
https://app.snyk.io/org/sumanth/project/86135e49-ad4e-443c-b1bb-7e528e9c1a83?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