[Snyk] Upgrade: lodash, elliptic, rlp, ethereum-input-data-decoder, mem, minimist, nunjucks, openzeppelin-solidity, solidity-bytes-utils, truffle-flattener, web3 #15
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
lodash
from 4.17.19 to 4.17.21 | 2 versions ahead of your current version | 4 years ago
on 2021-02-20
elliptic
from 6.5.3 to 6.5.7 | 4 versions ahead of your current version | a month ago
on 2024-08-14
rlp
from 2.2.5 to 2.2.7 | 2 versions ahead of your current version | 3 years ago
on 2021-10-06
ethereum-input-data-decoder
from 0.3.0 to 0.4.2 | 7 versions ahead of your current version | 2 years ago
on 2022-07-30
mem
from 6.1.0 to 6.1.1 | 1 version ahead of your current version | 4 years ago
on 2020-08-29
minimist
from 1.2.5 to 1.2.8 | 3 versions ahead of your current version | 2 years ago
on 2023-02-09
nunjucks
from 3.2.0 to 3.2.4 | 4 versions ahead of your current version | a year ago
on 2023-04-13
openzeppelin-solidity
from 3.0.0-rc.0 to 3.4.2 | 18 versions ahead of your current version | 3 years ago
on 2021-08-26
solidity-bytes-utils
from 0.0.8 to 0.8.2 | 7 versions ahead of your current version | 8 months ago
on 2024-01-15
truffle-flattener
from 1.4.4 to 1.6.0 | 2 versions ahead of your current version | 3 years ago
on 2022-02-12
web3
from 1.3.1 to 1.10.4 | 61 versions ahead of your current version | 7 months ago
on 2024-02-05
Issues fixed by the recommended upgrade:
SNYK-JS-NORMALIZEURL-1296539
SNYK-JS-NUNJUCKS-1079083
SNYK-JS-INI-1048974
SNYK-JS-SEMVER-3247795
SNYK-JS-SEMVER-3247795
SNYK-JS-SIMPLEGET-2361683
SNYK-JS-TAR-1536528
SNYK-JS-TAR-1536531
SNYK-JS-CRYPTOJS-6028119
SNYK-JS-DECODEURICOMPONENT-3149970
SNYK-JS-ELLIPTIC-571484
SNYK-JS-TAR-1579152
SNYK-JS-TAR-1579155
SNYK-JS-TAR-1579147
SNYK-JS-ES5EXT-6095076
SNYK-JS-ASYNC-2441827
SNYK-JS-BROWSERIFYSIGN-6037026
SNYK-JS-JSONSCHEMA-1920922
SNYK-JS-LODASH-1040724
SNYK-JS-LODASH-567746
SNYK-JS-QS-3153490
SNYK-JS-QS-3153490
SNYK-JS-Y18N-1021887
SNYK-JS-TRIMNEWLINES-1298042
SNYK-JS-NODEFETCH-2342118
SNYK-JS-NODEFETCH-674311
SNYK-JS-NUNJUCKS-5431309
SNYK-JS-HOSTEDGITINFO-1088355
SNYK-JS-HTTPCACHESEMANTICS-3248783
SNYK-JS-ELLIPTIC-1064899
SNYK-JS-ELLIPTIC-1064899
SNYK-JS-COOKIEJAR-3149984
SNYK-JS-EXPRESS-6474509
SNYK-JS-GLOBPARENT-1016905
SNYK-JS-GOT-2932019
SNYK-JS-GOT-2932019
SNYK-JS-LODASH-1018905
SNYK-JS-MINIMATCH-3050818
SNYK-JS-PATHPARSE-1077067
SNYK-JS-UNDERSCORE-1080984
SNYK-JS-TAR-1536758
npm:debug:20170905
Release notes
Package name: lodash
Bump to v4.17.21
Bump to v4.17.20.
Bump to v4.17.19
Package name: elliptic
6.5.7
6.5.6
6.5.5
6.5.4
6.5.3
Package name: rlp
Package name: ethereum-input-data-decoder
Package name: mem
v6.1.0...v6.1.1
v6.0.1...v6.1.0
Package name: minimist
v1.2.8
v1.2.7
v1.2.6
v1.2.5
Package name: nunjucks
What's Changed
(bugzilla #1825980)
Full Changelog: v3.2.3...v3.2.4
sort
filter; respectthrowOnUndefined
if sort attribute is undefined.base
arg toint
filter.chokidar
topeerDependencies
and mark itoptional
inpeerDependenciesMeta
.select
andreject
filters. Merge of #1278 and #1279; fixes #282. Thanks ogonkov!TypeError: name.replace is not a function
. Fixes #1295.groupby
filter; respectthrowOnUndefined
option, if the groupby attribute is undefined. Merge of #1276; fixes #1198. Thanks ogonkov!indent
filter no longer appends an additional newline. Fixes #1231.^2.0.0
to^3.3.0
. Merge of #1254. Thanks eklingen.NodeResolveLoader
, a Loader that loads templates using node'srequire.resolve
. Fixes #1175.Environment
instances, to allow runtime dependency tracking. Fixes #1153.Package name: openzeppelin-solidity
TimelockController
: Add additional isOperationReady check.TimelockController
: Add additional isOperationReady check.3.4.1-solc-0.7
Package name: solidity-bytes-utils
chore: release version 0.8.2
chore: release version 0.8.1
This version introduces breaking changes to support the new Solidity v0.8.x syntax.
It also marks a new versioning system that will always match Solidity's major version, that is how you can assess compatibility going forward.
❤️
Please update to this version that fully mitigates the memory corruption bug disclosed on October 1st.
Thank you to @ shanefontaine for reviewing the fixes!
With this version we up the minor version in an attempt to signal the importance of the fix in an, otherwise, very stable project for a while.
From the README:
There was a critical bug in the
slice
method, reported on an audit to a DXDao codebase.Previously, no checks were being made on overflows of the
_start
and_length
parameters since previous reviews of the codebase deemed this overflow "unexploitable" because of an inordinate expansion of memory (i.e., reading an immensely large memory offset causing huge memory expansion) resulting in an out-of-gas exception.However, as noted in the review mentioned above, this is not the case. The
slice
method in versions<=0.9.0
actually allows for arbitrary kind of (i.e., it allows memory writes to very specific values) arbitrary memory writes _in the specific case where these parameters are user-supplied inputs and not hardcoded values (which is uncommon).This made me realize that in permissioned blockchains where gas is also not a limiting factor this could become problematic in other methods and so I updated all typecasting-related methods to include new bound checks as well.
TL;DR: if you're using the
slice
method with user-supplied inputs in your codebase please update the bytes library immediately!Changelog:
uint64
,uint96
,uint128
). Thank you @ bh2smith for his contribution! 🎉Package name: truffle-flattener
The new version of
truffle-flattener
supports Solidity 0.7, and works out of the box with Buidler.Package name: web3
Important
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: