opengovsg / spcp-auth-client

Integrates SingPass and CorpPass SAML into your node.js application
MIT License
25 stars 2 forks source link

[Snyk] Security upgrade xml-encryption from 2.0.0 to 3.0.0 #403

Closed liangyuanruo closed 2 years ago

liangyuanruo commented 2 years 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 :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **606/1000**
**Why?** Recently disclosed, Has a fix available, CVSS 6.4 | Prototype Pollution
[SNYK-JS-XMLDOMXMLDOM-3042243](https://snyk.io/vuln/SNYK-JS-XMLDOMXMLDOM-3042243) | Yes | No Known Exploit (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: xml-encryption The new version differs by 3 commits.
  • 6ae0fcd release 3.0.0 (#104)
  • 3457a9b fix: package.json & package-lock.json to reduce vulnerabilities (#100)
  • e8df80c chore: Add Semgrep static analysis scans (#96)
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/formsg/project/f3d9978a-e6e7-4f56-953e-a51a2fe268cb?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/formsg/project/f3d9978a-e6e7-4f56-953e-a51a2fe268cb?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":"bcc6e1e8-4d38-4f71-a765-4c2126ed4199","prPublicId":"bcc6e1e8-4d38-4f71-a765-4c2126ed4199","dependencies":[{"name":"xml-encryption","from":"2.0.0","to":"3.0.0"}],"packageManager":"npm","projectPublicId":"f3d9978a-e6e7-4f56-953e-a51a2fe268cb","projectUrl":"https://app.snyk.io/org/formsg/project/f3d9978a-e6e7-4f56-953e-a51a2fe268cb?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-XMLDOMXMLDOM-3042243"],"upgrade":["SNYK-JS-XMLDOMXMLDOM-3042243"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore","merge-advice-badge-shown"],"priorityScoreList":[606]}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Prototype Pollution](https://learn.snyk.io/lessons/prototype-pollution/javascript//?loc=fix-pr)