rudderlabs / rudder-sdk-node

Node SDK for RudderStack - Open-source, warehouse-first Customer Data Pipeline and Segment-alternative. It collects and routes clickstream data and builds your customer data lake on your data warehouse.
https://www.rudderstack.com
Other
6 stars 13 forks source link

[Snyk] Security upgrade serialize-javascript from 6.0.1 to 6.0.2 #133

Closed gane5hvarma closed 10 months ago

gane5hvarma commented 10 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") | **698/1000**
**Why?** Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 6.1 | Cross-site Scripting (XSS)
[SNYK-JS-SERIALIZEJAVASCRIPT-6147607](https://snyk.io/vuln/SNYK-JS-SERIALIZEJAVASCRIPT-6147607) | No | Proof of Concept (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: serialize-javascript The new version differs by 6 commits.
  • b71ec23 6.0.2
  • f27d65d fix: serialize URL string contents to prevent XSS (#173)
  • 02499c0 Bump @ babel/traverse from 7.10.1 to 7.23.7 (#171)
  • 0d88527 docs: update readme with URL support (#146)
  • e2a3a91 chore: update node version and lock file
  • 5a1fa64 fix typo (#164)
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/rudder-qa/project/6266c911-d747-4492-a0a8-4f734ad5a182?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/rudder-qa/project/6266c911-d747-4492-a0a8-4f734ad5a182?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":"345a7ad2-99c1-495d-b73e-42b6d9a4ec03","prPublicId":"345a7ad2-99c1-495d-b73e-42b6d9a4ec03","dependencies":[{"name":"serialize-javascript","from":"6.0.1","to":"6.0.2"}],"packageManager":"npm","projectPublicId":"6266c911-d747-4492-a0a8-4f734ad5a182","projectUrl":"https://app.snyk.io/org/rudder-qa/project/6266c911-d747-4492-a0a8-4f734ad5a182?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-SERIALIZEJAVASCRIPT-6147607"],"upgrade":["SNYK-JS-SERIALIZEJAVASCRIPT-6147607"],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[698],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Cross-site Scripting (XSS)](https://learn.snyk.io/lesson/dom-based-xss/?loc=fix-pr)
sonarcloud[bot] commented 10 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

MoumitaM commented 10 months ago

Addressed in https://github.com/rudderlabs/rudder-sdk-node/pull/135