isomerpages / isomercms-backend

A static website builder and host for the Singapore Government
5 stars 1 forks source link

[Snyk] Fix for 6 vulnerabilities #816

Closed liangyuanruo closed 1 year ago

liangyuanruo commented 1 year ago

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

#### Changes included in this PR - Changes to the following files to upgrade the vulnerable dependencies to a fixed version: - package.json - package-lock.json #### Vulnerabilities that will be fixed ##### With an upgrade: Severity | Priority Score (*) | Issue | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **661/1000**
**Why?** Recently disclosed, Has a fix available, CVSS 7.5 | Regular Expression Denial of Service (ReDoS)
[SNYK-JS-FASTXMLPARSER-5668858](https://snyk.io/vuln/SNYK-JS-FASTXMLPARSER-5668858) | No | No Known Exploit ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **534/1000**
**Why?** Has a fix available, CVSS 6.4 | Improper Authentication
[SNYK-JS-JSONWEBTOKEN-3180022](https://snyk.io/vuln/SNYK-JS-JSONWEBTOKEN-3180022) | Yes | No Known Exploit ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **539/1000**
**Why?** Has a fix available, CVSS 6.5 | Improper Restriction of Security Token Assignment
[SNYK-JS-JSONWEBTOKEN-3180024](https://snyk.io/vuln/SNYK-JS-JSONWEBTOKEN-3180024) | Yes | No Known Exploit ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **554/1000**
**Why?** Has a fix available, CVSS 6.8 | Use of a Broken or Risky Cryptographic Algorithm
[SNYK-JS-JSONWEBTOKEN-3180026](https://snyk.io/vuln/SNYK-JS-JSONWEBTOKEN-3180026) | Yes | No Known Exploit ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **658/1000**
**Why?** Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 5.3 | Regular Expression Denial of Service (ReDoS)
[SNYK-JS-SEMVER-3247795](https://snyk.io/vuln/SNYK-JS-SEMVER-3247795) | Yes | Proof of Concept ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **586/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 5.3 | Prototype Pollution
[SNYK-JS-XML2JS-5414874](https://snyk.io/vuln/SNYK-JS-XML2JS-5414874) | No | Proof of Concept (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: aws-sdk The new version differs by 18 commits.
See the full diff
Package name: dd-trace The new version differs by 250 commits.
  • a918b1c v2.30.1
  • 65ea9db Fix Next.js getServerSideProps error handling (#2971)
  • ddc46c2 split next testing by version range (#2953)
  • c929ebb [lambda] update context extraction (#2981)
  • efe7b3a v2.30.0
  • 1919b2d Fix #2938 (#2976)
  • da8de7e skip extraction of upper bits for 64-bit trace id (#2974)
  • ad488ba fix error when using pubsub while plugin is disabled (#2966)
  • 861f3cd Fix to DBM propagation - comment is injected before query is sent (#2938)
  • 5550063 Update ASM WAF rules to version 1.6.0. (#2972)
  • 0eda0b9 Disable appsec if missing or malformed user custom rules file (#2969)
  • 5317c32 Only run release branches check on master PRs (#2967)
  • 303a9d9 Improve integration tests for CI Visibility (#2963)
  • 9fc6a3d support bundling via esbuild (#2763)
  • 18e7a43 Embed AppSec rules and templates files to be compatible with bundlers (#2913)
  • 1b12a4d [ci-visibility] Add `gatherPayloadsMaxTimeout`, a faster version of `gatherPayloads` (#2957)
  • 670fd47 move slow test framework integration tests to separate jobs (#2955)
  • e6af5b5 Increase timeout for IAST tests on server (#2940)
  • de933cb add support for 128-bit trace id (#2944)
  • 8908a9b docs: clarifying that ESM support is experimental (#2954)
  • 9d6164e Add job to check if PR has merge conflicts with release branches (#2933)
  • 2a1d1c4 [data streams] Return remaining bytes when decoding (#2950)
  • 2b8de1a Exclude vulnearibilities coming from send module. (#2567)
  • 1b3f817 Add support for setting the maximum number of concurrent transactions (#2926)
See the full diff
Package name: jsonwebtoken The new version differs by 17 commits.
  • e1fa9dc Merge pull request from GHSA-8cf7-32gw-wr33
  • 5eaedbf chore(ci): remove github test actions job (#861)
  • cd4163e chore(ci): configure Github Actions jobs for Tests & Security Scanning (#856)
  • ecdf6cc fix!: Prevent accidental use of insecure key sizes & misconfiguration of secrets (#852)
  • 8345030 fix(sign&verify)!: Remove default `none` support from `sign` and `verify` methods, and require it to be explicitly configured (#851)
  • 7e6a86b Upload OpsLevel YAML (#849)
  • 74d5719 docs: update references vercel/ms references (#770)
  • d71e383 docs: document "invalid token" error
  • 3765003 docs: fix spelling in README.md: Peak -> Peek (#754)
  • a46097e docs: make decode impossible to discover before verify
  • 15a1bc4 refactor: make decode non-enumerable
  • 5f10bf9 docs: add jwtid to options of jwt.verify (#704)
  • 88cb9df Replace tilde-indexOf with includes (#647)
  • a6235fa Adds not to README on decoded payload validation (#646)
  • 5ed1f06 docs: fix tiny style change in readme (#622)
  • 9fb90ca style: add missing semicolon (#641)
  • a9e38b8 ci: use circleci (#589)
See the full diff
Check the changes in this PR to ensure they won't cause issues with your project. ------------ **Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.* For more information: 🧐 [View latest project report](https://app.snyk.io/org/isomer/project/676b9e26-cebf-4964-b7b3-d9843e3339ff?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/isomer/project/676b9e26-cebf-4964-b7b3-d9843e3339ff?utm_source=github&utm_medium=referral&page=fix-pr/settings) 📚 [Read more about Snyk's upgrade and patch logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) [//]: # (snyk:metadata:{"prId":"a8c18705-c2f0-4f57-bdd8-f50110989129","prPublicId":"a8c18705-c2f0-4f57-bdd8-f50110989129","dependencies":[{"name":"@aws-sdk/client-secrets-manager","from":"3.293.0","to":"3.347.1"},{"name":"aws-sdk","from":"2.1337.0","to":"2.1354.0"},{"name":"dd-trace","from":"2.9.1","to":"2.30.1"},{"name":"jsonwebtoken","from":"8.5.1","to":"9.0.0"}],"packageManager":"npm","projectPublicId":"676b9e26-cebf-4964-b7b3-d9843e3339ff","projectUrl":"https://app.snyk.io/org/isomer/project/676b9e26-cebf-4964-b7b3-d9843e3339ff?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-FASTXMLPARSER-5668858","SNYK-JS-JSONWEBTOKEN-3180022","SNYK-JS-JSONWEBTOKEN-3180024","SNYK-JS-JSONWEBTOKEN-3180026","SNYK-JS-SEMVER-3247795","SNYK-JS-XML2JS-5414874"],"upgrade":["SNYK-JS-FASTXMLPARSER-5668858","SNYK-JS-JSONWEBTOKEN-3180022","SNYK-JS-JSONWEBTOKEN-3180024","SNYK-JS-JSONWEBTOKEN-3180026","SNYK-JS-SEMVER-3247795","SNYK-JS-XML2JS-5414874"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["priorityScore"],"priorityScoreList":[661,534,539,554,658,586],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Regular Expression Denial of Service (ReDoS)](https://learn.snyk.io/lessons/redos/javascript/?loc=fix-pr) 🦉 [Use of a Broken or Risky Cryptographic Algorithm](https://learn.snyk.io/lessons/insecure-hash/javascript/?loc=fix-pr) 🦉 [Prototype Pollution](https://learn.snyk.io/lessons/prototype-pollution/javascript/?loc=fix-pr)