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: consolidate, csurf, dont-sniff-mimetype, express-session, marked, needle, underscore #3

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

Conversation

IT21168222
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

consolidate
from 0.14.5 to 0.16.0 | 3 versions ahead of your current version | 4 years ago
on 2020-09-08
csurf
from 1.9.0 to 1.10.0 | 1 version ahead of your current version | 5 years ago
on 2019-04-23
dont-sniff-mimetype
from 1.0.0 to 1.1.0 | 1 version ahead of your current version | 5 years ago
on 2019-05-11
express-session
from 1.15.6 to 1.18.0 | 8 versions ahead of your current version | 8 months ago
on 2024-01-28
marked
from 0.3.5 to 0.8.2 | 23 versions ahead of your current version | 4 years ago
on 2020-03-22
needle
from 2.2.4 to 2.9.1 | 14 versions ahead of your current version | 3 years ago
on 2021-09-01
underscore
from 1.9.1 to 1.13.7 | 19 versions ahead of your current version | 2 months ago
on 2024-07-24

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Cross-site Scripting (XSS)
npm:marked:20150520
596 No Known Exploit
high severity Cross-site Scripting (XSS)
npm:marked:20170112
596 No Known Exploit
high severity Cross-site Scripting (XSS)
npm:marked:20170815
596 No Known Exploit
high severity Regular Expression Denial of Service (ReDoS)
npm:marked:20170907
596 No Known Exploit
high severity Regular Expression Denial of Service (ReDoS)
npm:marked:20180225
596 Proof of Concept
medium severity Arbitrary Code Injection
SNYK-JS-UNDERSCORE-1080984
596 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-MARKED-174116
596 No Known Exploit
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-MARKED-451540
596 No Known Exploit
medium severity Cross-site Scripting (XSS)
npm:marked:20170815-1
596 No Known Exploit
Release notes
Package name: consolidate
  • 0.16.0 - 2020-09-08
  • 0.15.1 - 2018-03-20
  • 0.15.0 - 2017-11-01
  • 0.14.5 - 2016-11-17
from consolidate GitHub release notes
Package name: csurf
  • 1.10.0 - 2019-04-23
    • deps: csrf@3.1.0
      • Remove base64-url dependency
      • deps: tsscmp@1.0.6
      • deps: uid-safe@2.1.5
    • deps: http-errors@~1.7.2
      • Make message property enumerable for HttpErrors
      • Set constructor name when possible
      • deps: depd@~1.1.2
      • deps: inherits@2.0.3
      • deps: setprototypeof@1.1.1
      • deps: statuses@'>= 1.5.0 < 2'
    • perf: remove argument reassignment
    • perf: use plain object for internal cookie options
  • 1.9.0 - 2016-05-27
    • Pass invalid csrf token error to next() instead of throwing
    • Pass misconfigured error to next() instead of throwing
    • Provide misconfigured error when using cookies without cookie-parser
    • deps: cookie@0.3.1
      • Add sameSite option
      • Fix cookie Max-Age to never be a floating point number
      • Improve error message when expires is not a Date
      • Throw better error for invalid argument to parse
      • Throw on invalid values provided to serialize
      • perf: enable strict mode
      • perf: hoist regular expression
      • perf: use for loop in parse
      • perf: use string concatination for serialization
    • deps: csrf@~3.0.3
      • Use tsscmp module for timing-safe token verification
      • deps: base64-url@1.2.2
      • deps: rndm@1.2.0
      • deps: uid-safe@2.1.1
    • deps: http-errors@~1.5.0
      • Add HttpError export, for err instanceof createError.HttpError
      • Support new code 421 Misdirected Request
      • Use setprototypeof module to replace __proto__ setting
      • deps: inherits@2.0.1
      • deps: statuses@'>= 1.3.0 < 2'
      • perf: enable strict mode
    • perf: enable strict mode
    • perf: remove argument reassignment
from csurf GitHub release notes
Package name: dont-sniff-mimetype from dont-sniff-mimetype 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
  • 1.17.2 - 2021-05-19
    • Fix res.end patch to always commit headers
    • deps: cookie@0.4.1
    • deps: safe-buffer@5.2.1
  • 1.17.1 - 2020-04-17
    • Fix internal method wrapping error on failed reloads
  • 1.17.0 - 2019-10-11
    • deps: cookie@0.4.0
      • Add SameSite=None support
    • deps: safe-buffer@5.2.0
  • 1.16.2 - 2019-06-12
    • Fix restoring cookie.originalMaxAge when store returns Date
    • deps: parseurl@~1.3.3
  • 1.16.1 - 2019-04-11
    • Fix error passing data option to Cookie constructor
    • Fix uncaught error from bad session data
  • 1.16.0 - 2019-04-11
    • Catch invalid cookie.maxAge value earlier
    • Deprecate setting cookie.maxAge to a Date object
    • Fix issue where resave: false may not save altered sessions
    • Remove utils-merge dependency
    • Use safe-buffer for improved Buffer API
    • Use Set-Cookie as cookie header name for compatibility
    • deps: depd@~2.0.0
      • Replace internal eval usage with Function constructor
      • Use instance methods on process to check for listeners
      • perf: remove argument reassignment
    • deps: on-headers@~1.0.2
      • Fix res.writeHead patch missing return value
  • 1.15.6 - 2017-09-26
    • deps: debug@2.6.9
    • deps: parseurl@~1.3.2
      • perf: reduce overhead for full URLs
      • perf: unroll the "fast-path" RegExp
    • deps: uid-safe@~2.1.5
      • perf: remove only trailing =
    • deps: utils-merge@1.0.1
from express-session GitHub release notes
Package name: marked
  • 0.8.2 - 2020-03-22

    Fixes

    • Add html to TextRenderer for html in headings #1622
    • Remove html tags in heading ids #1622

    Docs

    • Update comment about GitHub breaks #1620
  • 0.8.1 - 2020-03-18

    Fixes

    • Fix marked --help #1588
    • Fix GFM Example 116 code fences #1600
    • Send inline html to renderer #1602 (fixes #1601)
    • Improve docs example for invoking highlight.js #1603
    • Fix block-level elements breaking tables #1598 (fixes #1467)
    • break nptables on block-level structures #1617
  • 0.8.0 - 2019-12-12

    Breaking changes

    Fixes

    • Fix relative urls in baseUrl option #1526
    • Loose task list #1535
    • Fix image parentheses #1557
    • remove module field & update devDependencies #1581

    Docs

    • Update examples with es6+ #1521
    • Fix link to USING_PRO.md page #1552
    • Fix typo in USING_ADVANCED.md #1558
    • Node worker threads are stable #1555

    Dev Dependencies

    • Update deps #1516
    • Update eslint #1542
    • Update htmldiffer async matcher #1543
  • 0.7.0 - 2019-07-06

    Security

    • Sanitize paragraph and text tokens #1504
    • Fix ReDOS for links with backticks (issue #1493) #1515

    Breaking Changes

    • Deprecate sanitize and sanitizer options #1504
    • Move fences to CommonMark #1511
    • Move tables to GFM #1511
    • Remove tables option #1511
    • Single backtick in link text needs to be escaped #1515

    Fixes

    Tests

    • Run tests with correct options #1511
  • 0.6.3 - 2019-06-30

    Fixes

    Docs

    • add docs for workers #1432
    • Add security policy #1492
    • Update supported spec versions #1491
    • Update test folder descriptions #1506

    DevOps

    • Use latest commit for demo master #1457
    • Update tests to commonmark 0.29 #1465
    • Update tests to GFM 0.29 #1470
    • Fix commonmark spec 57 and 40 (headings) #1475
  • 0.6.2 - 2019-04-05

    Security

    Fixes

    • Links parens #1435
    • New line after table with escaped pipe #1439
    • List item tables #1446

    Enhancements

    • Pass token boolean to the listitem function #1440
    • Allow html without \n after #1438

    CLI

    • Update man page to include --test and fix argv parameters #1442
    • Add a --version flag to print marked version #1448

    Testing

    • Normalize marked tests #1444
    • Update tests to node 4 syntax #1449
  • 0.6.1 - 2019-02-19

    Fixes

    • Fix parenthesis url redos #1414

    Docs

    • Update demo site to use a worker #1418
    • Update devDependencies to last stable #1409
    • Update documentation about extending Renderer #1417
    • Remove --save option as it isn't required anymore #1422
    • Add snyk badge #1420
  • 0.6.0 - 2019-01-01

    Breaking Changes

    • Drop support for Node v0.10 and old browsers such as Internet Explorer
      • You should not have any problems if using Node 4+ or a modern browser
    • Add parameter slugger to Renderer.prototype.heading method #1401
      • You should not have any problems if you do not override this method

    New Features

    • Add new export marked.Slugger #1401

    Fixes

    • Fix emphasis followed by a punctuation #1383
    • Fix bold around autolink email address #1385
    • Make autolinks case insensitive #1384
    • Make code fences compliant with Commonmark spec #1387
    • Make blockquote paragraph continuation compliant with Commonmark spec #1394
    • Make ordered list marker length compliant with Commonmark spec #1391
    • Make empty list items compliant with Commonmark spec #1395
    • Make tag escaping compliant with Commonmark spec #1397
    • Make strong/bold compliant with Commonmark spec #1400
    • Fix handling of adjacent lists #684
    • Add better error handling when token type cannot be found #1005
    • Fix duplicate heading id and non-latin characters #1401

    CLI

    • Pretty print ENOENT errors on cli #1396
    • Update repo url in man #1403

    Docs

    Tests

    • Remove old test covered by gfm/cm #1389
  • 0.5.2 - 2018-11-20

    Bug Fixes

    • Fix emphasis closing by single _ (part of left-flanking run) #1351
    • Make URL handling consistent between links and images #1359

    Other

    • Add missing semicolons, add lint rule #1340
    • Make Steven (@ styfle) a npm publisher #1346
    • Fix typo in docs: responsibility #1364
    • Add the ability to specify options on the demo page as JSON #1357
      • Show red border when JSON options are invalid #1360
    • Move license file back to root dir #1356
    • Fix builds: remove node v0.10 from travis matrix #1366
      • This does not a break compatibility in this release but it will a future release
    • Add files key to package.json to prevent publishing unused files #1367
  • 0.5.1 - 2018-09-26

    Security

    • Fix inline code regex and prevent REDOS #1337
    • Use @ markedjs/html-differ to prevent REDOS #1331

    Bug Fixes

    • Fix typographic substitution in (pre|code|kbd|script) blocks when smartypants=true #1335
    • Fix auto-linking email address #1338

    Other

    • Refactor the escape() function to improve performance 10-20% #975
    • Update copyright in source code #1326
    • Update benchmark tests #1019
    • Add dependency badges to readme #1333
  • 0.5.0 - 2018-08-16
  • 0.4.0 - 2018-05-21
  • 0.3.19 - 2018-03-26
  • 0.3.18 - 2018-03-22
  • 0.3.17 - 2018-02-27
  • 0.3.16 - 2018-02-20
  • 0.3.15 - 2018-02-19
  • 0.3.14 - 2018-02-16
  • 0.3.13 - 2018-02-16
  • 0.3.12 - 2018-01-09
  • 0.3.9 - 2017-12-23
  • 0.3.7 - 2017-12-01
  • 0.3.6 - 2016-07-30
  • 0.3.5 - 2015-07-31
from marked GitHub release notes
Package name: needle

Snyk has created this PR to upgrade:
  - consolidate from 0.14.5 to 0.16.0.
    See this package in npm: https://www.npmjs.com/package/consolidate
  - csurf from 1.9.0 to 1.10.0.
    See this package in npm: https://www.npmjs.com/package/csurf
  - dont-sniff-mimetype from 1.0.0 to 1.1.0.
    See this package in npm: https://www.npmjs.com/package/dont-sniff-mimetype
  - express-session from 1.15.6 to 1.18.0.
    See this package in npm: https://www.npmjs.com/package/express-session
  - marked from 0.3.5 to 0.8.2.
    See this package in npm: https://www.npmjs.com/package/marked
  - needle from 2.2.4 to 2.9.1.
    See this package in npm: https://www.npmjs.com/package/needle
  - underscore from 1.9.1 to 1.13.7.
    See this package in npm: https://www.npmjs.com/package/underscore

See this project in Snyk:
https://app.snyk.io/org/it21168222/project/0f8675b5-f8a1-4be3-8c8b-86ec809a67eb?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
2 participants