quran / quran.com-api

Quran.com content APIs
https://api-docs.quran.foundation/docs/category/content-apis
MIT License
926 stars 193 forks source link

[Snyk] Fix for 2 vulnerabilities #613

Open naveed-ahmad opened 1 year ago

naveed-ahmad 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 `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 - Gemfile.lock #### 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") | **591/1000**
**Why?** Recently disclosed, Has a fix available, CVSS 6.1 | Cross-site Scripting (XSS)
[SNYK-RUBY-ACTIVESUPPORT-3360028](https://snyk.io/vuln/SNYK-RUBY-ACTIVESUPPORT-3360028) | No | No Known Exploit ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **551/1000**
**Why?** Recently disclosed, Has a fix available, CVSS 5.3 | Regular Expression Denial of Service (ReDoS)
[SNYK-RUBY-RACK-3360233](https://snyk.io/vuln/SNYK-RUBY-RACK-3360233) | 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](https://app.snyk.io/org/naveed-ahmad/project/08fa1c3a-3c49-4620-ac64-1b1ffddf8f91?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/naveed-ahmad/project/08fa1c3a-3c49-4620-ac64-1b1ffddf8f91?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":"cb26dacf-cb11-4006-b98f-daca52bbd40f","prPublicId":"cb26dacf-cb11-4006-b98f-daca52bbd40f","dependencies":[{"name":"annotate","from":"3.2.0","to":"3.2.0"},{"name":"bullet","from":"7.0.1","to":"7.0.1"},{"name":"derailed_benchmarks","from":"2.1.1","to":"2.1.1"},{"name":"elasticsearch-model","from":"7.2.1","to":"7.2.1"},{"name":"factory_bot_rails","from":"6.2.0","to":"6.2.0"},{"name":"pagy","from":"5.10.1","to":"5.10.1"},{"name":"rack-brotli","from":"1.2.0","to":"1.2.0"},{"name":"rack-cors","from":"1.1.1","to":"1.1.1"},{"name":"rails","from":"7.0.2.3","to":"7.0.4.3"},{"name":"rspec-rails","from":"5.0.2","to":"5.0.2"},{"name":"rubocop-rails_config","from":"1.9.1","to":"1.9.1"},{"name":"shoulda-matchers","from":"5.1.0","to":"5.1.0"},{"name":"turbostreamer","from":"1.9.0","to":"1.9.0"}],"packageManager":"rubygems","projectPublicId":"08fa1c3a-3c49-4620-ac64-1b1ffddf8f91","projectUrl":"https://app.snyk.io/org/naveed-ahmad/project/08fa1c3a-3c49-4620-ac64-1b1ffddf8f91?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-RUBY-ACTIVESUPPORT-3360028","SNYK-RUBY-RACK-3360233"],"upgrade":["SNYK-RUBY-ACTIVESUPPORT-3360028","SNYK-RUBY-RACK-3360233"],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["priorityScore"],"priorityScoreList":[591,551],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Cross-site Scripting (XSS)](https://learn.snyk.io/lessons/xss/cpp/?loc=fix-pr) 🦉 [Regular Expression Denial of Service (ReDoS)](https://learn.snyk.io/lessons/redos/javascript/?loc=fix-pr)
ahmedre commented 1 year ago

Deployed to: http://staging.quran.com:49174