voltrue2 / in-app-purchase

A Node.js module for in-App-Purchase for iOS, Android, Amazon and Windows.
http://iap.gracenode.org
Other
1.04k stars 287 forks source link

[Snyk] Security upgrade xml-crypto from 0.10.1 to 1.5.6 #364

Open voltrue2 opened 7 months ago

voltrue2 commented 7 months 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") | **539/1000**
**Why?** Has a fix available, CVSS 6.5 | Improper Input Validation
[SNYK-JS-XMLDOM-1534562](https://snyk.io/vuln/SNYK-JS-XMLDOM-1534562) | Yes | No Known Exploit ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **639/1000**
**Why?** Has a fix available, CVSS 8.5 | Prototype Pollution
[SNYK-JS-XMLDOM-3042242](https://snyk.io/vuln/SNYK-JS-XMLDOM-3042242) | Yes | No Known Exploit ![critical severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/c.png "critical severity") | **811/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 9.8 | Improper Input Validation
[SNYK-JS-XMLDOM-3092935](https://snyk.io/vuln/SNYK-JS-XMLDOM-3092935) | Yes | Proof of Concept (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: xml-crypto The new version differs by 78 commits.
  • 62fb8fa 1.5.6
  • 69abad6 Update xmldom to 0.7.0 (#236)
  • 6f63436 1.5.5
  • 6af1bc5 1.5.4
  • 06831c5 build(deps): update xmldom
  • d295ecc 1.5.3
  • 79fc2ac Merge pull request #209 from troyfactor4/master
  • f982b0c return response as well even if async
  • 4ffe0aa Async response for built in algo sign/verify
  • 713f3d8 1.5.2
  • 638ab6c Lock ejs to 2.6.1
  • 2730604 1.5.1
  • 07e2320 Merge pull request #207 from troyfactor4/master
  • 234bc0b enable more use cases by returning the xml object in callback
  • 01d462d Test suites of other projects (mocha) that include v1.5.0 fail with error: "Error: global leak detected: existingPrefixes"
  • 0157f26 1.5.0
  • e9942f3 Merge pull request #206 from troyfactor4/master
  • ddc17c9 Merge pull request #1 from LoneRifle/master
  • 3d14db0 Lock ejs to 2.5.5
  • e2609c1 Convert arrow func for backcompat
  • 96c1fcd Adjust whitespace
  • c140018 bug: missing return
  • 3e1c2f9 -convert promises to callback for backwards compatibility
  • 17bbd13 Add callback options to sign/verify asynchronously
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/voltrue2/project/8aab2a5a-c4f3-4417-a7cb-90f0ebf40cf8?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/voltrue2/project/8aab2a5a-c4f3-4417-a7cb-90f0ebf40cf8?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":"4435452c-1475-4af4-8a62-9b38ab018d7d","prPublicId":"4435452c-1475-4af4-8a62-9b38ab018d7d","dependencies":[{"name":"xml-crypto","from":"0.10.1","to":"1.5.6"}],"packageManager":"npm","projectPublicId":"8aab2a5a-c4f3-4417-a7cb-90f0ebf40cf8","projectUrl":"https://app.snyk.io/org/voltrue2/project/8aab2a5a-c4f3-4417-a7cb-90f0ebf40cf8?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-XMLDOM-1534562","SNYK-JS-XMLDOM-3042242","SNYK-JS-XMLDOM-3092935"],"upgrade":["SNYK-JS-XMLDOM-1534562","SNYK-JS-XMLDOM-3042242","SNYK-JS-XMLDOM-3092935"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[539,639,811],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Prototype Pollution](https://learn.snyk.io/lesson/prototype-pollution/?loc=fix-pr) 🦉 [Improper Input Validation](https://learn.snyk.io/lesson/improper-input-validation/?loc=fix-pr)