fix(deps): update dependency mathjs to v15 [security]#8064
fix(deps): update dependency mathjs to v15 [security]#8064renovate-bot wants to merge 1 commit intogoogleapis:mainfrom
Conversation
|
/gcbrun |
There was a problem hiding this comment.
Code Review
This pull request updates the mathjs dependency from ^14.0.0 to ^15.0.0 in the sample package files for google-cloud-automl and google-cloud-language. Feedback indicates that the current update to ^15.0.0 still allows for vulnerable versions; it is recommended to update to at least ^15.2.0 to address security vulnerability GHSA-jvff-x2qm-6286.
| "@google-cloud/automl": "^5.1.1", | ||
| "csv": "^6.0.0", | ||
| "mathjs": "^14.0.0", | ||
| "mathjs": "^15.0.0", |
There was a problem hiding this comment.
The security vulnerabilities (GHSA-jvff-x2qm-6286) are patched in mathjs version 15.2.0. The current range ^15.0.0 allows for vulnerable versions (such as 15.0.0 or 15.1.1) to be resolved. Updating the minimum version to ^15.2.0 ensures that the security fix is applied.
| "mathjs": "^15.0.0", | |
| "mathjs": "^15.2.0", |
| "dependencies": { | ||
| "@google-cloud/automl": "^5.0.0", | ||
| "mathjs": "^14.0.0", | ||
| "mathjs": "^15.0.0", |
There was a problem hiding this comment.
The security vulnerabilities (GHSA-jvff-x2qm-6286) are patched in mathjs version 15.2.0. The current range ^15.0.0 allows for vulnerable versions (such as 15.0.0 or 15.1.1) to be resolved. Updating the minimum version to ^15.2.0 ensures that the security fix is applied.
| "mathjs": "^15.0.0", | |
| "mathjs": "^15.2.0", |
b9b6fe8 to
922b761
Compare
|
/gcbrun |
922b761 to
6d7ff34
Compare
|
/gcbrun |
6d7ff34 to
474ae19
Compare
|
/gcbrun |
474ae19 to
e7ac5a2
Compare
|
/gcbrun |
e7ac5a2 to
8627006
Compare
|
/gcbrun |
8627006 to
647cd16
Compare
|
/gcbrun |
647cd16 to
7c0ad3d
Compare
|
/gcbrun |
7c0ad3d to
53a3e02
Compare
|
/gcbrun |
53a3e02 to
f9b15dd
Compare
|
/gcbrun |
This PR contains the following updates:
^14.0.0→^15.2.0GitHub Vulnerability Alerts
GHSA-jvff-x2qm-6286
Impact
Two security vulnerabilities, the first of which was introduced in version 13.1.0, were detected that allowed executing arbitrary JavaScript via the expression parser of mathjs. You can be affected when you have an application where users can evaluate arbitrary expressions using the mathjs expression parser.
Patches
The problem is patched in mathjs v15.2.0.
Workarounds
There is no workaround without upgrading.
Severity
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HRelease Notes
josdejong/mathjs (mathjs)
v15.2.0Compare Source
Ah(#3617). Thanks @adrfantini.numanddenfunctions returning the parts ofa fraction (#3605). Thanks @AnslemHack.
Thanks @NilsDietrich.
via the expression parser. Thanks @CykuTW for finding and reporting them.
v15.1.1Compare Source
compareNatural(#3632). Thanks @Dheemanth07.Thanks @gwhitney.
and add History (#3630). Thanks @Anadian.
setDistinctsorts the elements (see #3602).v15.1.0Compare Source
Thanks @gwhitney.
v15.0.0Compare Source
!!! BE CAREFUL: BREAKING CHANGES !!!
modulus operator (that both use symbol
%), and raise the former (#3432).Thanks @kiprobinsonknack.
#3455). Thanks @gwhitney and @Delaney.
Thanks @dvd101x.
%as unary only when not followed by a term (#3505).Thanks @gwhitney.
sizeto always return anArray(#3535).SparseMatrix(#3536).v14.9.1Compare Source
v14.8.2underv14.9.0.v14.9.0Compare Source
mapwith multiple arguments (#3526).Thanks @dvd101x.
(#3548). Thanks @dvd101x.
v14.8.2Compare Source
mapwhen passing a unaryfunction (#3546). Thanks @dvd101x.
abs(complex)which returns anumber(#3543). Thanks @joshkel.
ctranspose(#3545). Thanks @joshkel.v14.8.1Compare Source
configprinting a warning when using{ number: 'bigint' }(#3540).
v14.8.0Compare Source
??in theexpression parser (#3497). Thanks @ikemHood.
v14.7.0Compare Source
DenseMatrixsymbol iterator (#3521). Thanks @dvd101x.Parser, fixing #3509 (#3525).missing from the generated function overview.
printTransformDependenciesnot exported in the type definitions.diff(#3520). Thanks @dodokw.range.by removing
core-js(#3524).v14.6.0Compare Source
toBest(unit, unitList, offset), and correspondingmethod
unit.toBest(...)(#3484). Thanks @Mundi93, @EliaAlesiani, and@HeavyRainLQ.
signof zero not returning zero in case of a fraction (#3513).Thanks @kyle-compute.
v14.5.3Compare Source
as white space(#3487). Thanks donmccurdy.
scope(#3490). Thanks @JayChang4w.unit(number)(#3495). Thanks @mrft.unit.to(unit)(#3495).Thanks @mrft.
addandmultiplyto not allow zeroor one argument (#3495). Thanks @mrft.
v14.5.2Compare Source
coulomb,see #3472.
ResultSetinterface and improveisResultSettyping(#3481). Thanks @ranidam.
v14.5.1Compare Source
BigIntwhen loading inspecific environments.
numeric(see #3448).coulombtocoulombConstant. The oldname is still available for backward compatibility.
v14.5.0Compare Source
mapandforEachmethods ofDenseMatrix(#3446). Thanks @dvd101x.subset(#3467). Thanks @dvd101x.compile,evaluate,parse, andparser,and add tests for the examples in embedded docs (#3413). Thanks @dvd101x.
(#3454).
(lbf in)(#3476). Thanks @costerwi.v14.4.0Compare Source
flatten(#3400). Thanks @dvd101x.mapandforEach(#3409).Thanks @dvd101x.
nthRootslatex function template string (#3427).Thanks @aitee.
@babel/runtime.v14.3.1Compare Source
v14.3.0Compare Source
flatten(#3354). Thanks @dvd101x.DenseMatrixSymbol.iterator (#3395).Thanks @dvd101x.
mapandforEach(#3399).Thanks @dvd101x.
argument types (#3394). Thanks @dvd101x.
(#3397). Thanks @porst17.
multiply(#3408). Thanks @orelbn.math.isNaNfor consistentmaxandminresults(#3389). Thanks @orelbn.
v14.2.1Compare Source
@lambdatest/node-tunnel.v14.2.0Compare Source
applytomapSlices(#3357). Functionapplyis still available but is now marked deprecated. Thanks @gwhitney.(#3369). Thanks @gwhitney.
Thanks @gwhitney.
and @gwhitney.
v14.1.0Compare Source
bigintsupport in functionslog,log2,log10,larger,smaller,max,min(#3345). Thanks @gwhitney.bigint(#3348).randomInt()not working (#3345).signin the embedded docs (#3338).Thanks @witer33.
v14.0.1Compare Source
Fractiontype from thefraction.jslibrary instead ofusing a custom interface (#3330). Thanks @fchu.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.