[Snyk] Fix for 2 vulnerabilities #42

Open
atomaka wants to merge 1 commit from snyk-fix-f861dd85e2c6aa6c13a4ad583a97d77f into master
atomaka commented 2022-05-31 12:45:30 -04:00 (Migrated from github.com)

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 `rubygems` dependencies of this project.

Changes included in this PR

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • Gemfile.lock

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
critical severity 776/1000
Why? Recently disclosed, Has a fix available, CVSS 9.8
Arbitrary Code Injection
SNYK-RUBY-RACK-2848599
No No Known Exploit
high severity 661/1000
Why? Recently disclosed, Has a fix available, CVSS 7.5
Denial of Service (DoS)
SNYK-RUBY-RACK-2848600
No No Known Exploit

(*) Note that the real score may have changed since the PR was raised.

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

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Arbitrary Code Injection

<p>This PR was automatically created by Snyk using the credentials of a real user.</p><br /><h3>Snyk has created this PR to fix one or more vulnerable packages in the `rubygems` dependencies of this project.</h3> #### Changes included in this PR - Changes to the following files to upgrade the vulnerable dependencies to a fixed version: - Gemfile.lock #### Vulnerabilities that will be fixed ##### With an upgrade: Severity | Priority Score (*) | Issue | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- ![critical severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/c.png "critical severity") | **776/1000** <br/> **Why?** Recently disclosed, Has a fix available, CVSS 9.8 | Arbitrary Code Injection <br/>[SNYK-RUBY-RACK-2848599](https://snyk.io/vuln/SNYK-RUBY-RACK-2848599) | No | No Known Exploit ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **661/1000** <br/> **Why?** Recently disclosed, Has a fix available, CVSS 7.5 | Denial of Service (DoS) <br/>[SNYK-RUBY-RACK-2848600](https://snyk.io/vuln/SNYK-RUBY-RACK-2848600) | No | No Known Exploit (*) Note that the real score may have changed since the PR was raised. 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: <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI4YmUyOTZiOC1iMTE1LTQ3MjEtODZjZC1mODZhMjM0ZDhhNTciLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjhiZTI5NmI4LWIxMTUtNDcyMS04NmNkLWY4NmEyMzRkOGE1NyJ9fQ==" width="0" height="0"/> 🧐 [View latest project report](https://app.snyk.io/org/atomaka/project/39f5769a-2ee8-4777-a1bb-509dcee65a10?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/atomaka/project/39f5769a-2ee8-4777-a1bb-509dcee65a10?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;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":"8be296b8-b115-4721-86cd-f86a234d8a57","prPublicId":"8be296b8-b115-4721-86cd-f86a234d8a57","dependencies":[{"name":"poltergeist","from":"1.16.0","to":"1.16.0"},{"name":"sinatra","from":"2.0.0","to":"2.0.0"},{"name":"sinatra-activerecord","from":"2.0.13","to":"2.0.13"},{"name":"sinatra-contrib","from":"2.0.0","to":"2.0.0"},{"name":"sinatra-flash","from":"0.3.0","to":"0.3.0"}],"packageManager":"rubygems","projectPublicId":"39f5769a-2ee8-4777-a1bb-509dcee65a10","projectUrl":"https://app.snyk.io/org/atomaka/project/39f5769a-2ee8-4777-a1bb-509dcee65a10?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-RUBY-RACK-2848599","SNYK-RUBY-RACK-2848600"],"upgrade":["SNYK-RUBY-RACK-2848599","SNYK-RUBY-RACK-2848600"],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["priorityScore"],"priorityScoreList":[776,661]}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Arbitrary Code Injection](https://learn.snyk.io/lessons/malicious-code-injection/javascript?loc&#x3D;fix-pr)
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin snyk-fix-f861dd85e2c6aa6c13a4ad583a97d77f:snyk-fix-f861dd85e2c6aa6c13a4ad583a97d77f
git checkout snyk-fix-f861dd85e2c6aa6c13a4ad583a97d77f

Merge

Merge the changes and update on Forgejo.
git checkout master
git merge --no-ff snyk-fix-f861dd85e2c6aa6c13a4ad583a97d77f
git checkout snyk-fix-f861dd85e2c6aa6c13a4ad583a97d77f
git rebase master
git checkout master
git merge --ff-only snyk-fix-f861dd85e2c6aa6c13a4ad583a97d77f
git checkout snyk-fix-f861dd85e2c6aa6c13a4ad583a97d77f
git rebase master
git checkout master
git merge --no-ff snyk-fix-f861dd85e2c6aa6c13a4ad583a97d77f
git checkout master
git merge --squash snyk-fix-f861dd85e2c6aa6c13a4ad583a97d77f
git checkout master
git merge --ff-only snyk-fix-f861dd85e2c6aa6c13a4ad583a97d77f
git checkout master
git merge snyk-fix-f861dd85e2c6aa6c13a4ad583a97d77f
git push origin master
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: atomaka/link-share#42
No description provided.