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 7 vulnerabilities #599

Closed naveed-ahmad closed 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
⚠️ Warning ``` Failed to update the Gemfile.lock, please update manually before merging. ```
#### Vulnerabilities that will be fixed ##### With an upgrade: Severity | Priority Score (*) | Issue | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **661/1000**
**Why?** Recently disclosed, Has a fix available, CVSS 7.5 | Regular Expression Denial of Service (ReDoS)
[SNYK-RUBY-LOOFAH-3168317](https://snyk.io/vuln/SNYK-RUBY-LOOFAH-3168317) | No | No Known Exploit ![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-LOOFAH-3168318](https://snyk.io/vuln/SNYK-RUBY-LOOFAH-3168318) | 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**
**Why?** Recently disclosed, Has a fix available, CVSS 7.5 | Uncontrolled Recursion
[SNYK-RUBY-LOOFAH-3168649](https://snyk.io/vuln/SNYK-RUBY-LOOFAH-3168649) | No | No Known Exploit ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **556/1000**
**Why?** Recently disclosed, Has a fix available, CVSS 5.4 | Cross-site Scripting (XSS)
[SNYK-RUBY-RAILSHTMLSANITIZER-3168316](https://snyk.io/vuln/SNYK-RUBY-RAILSHTMLSANITIZER-3168316) | 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**
**Why?** Recently disclosed, Has a fix available, CVSS 7.5 | Regular Expression Denial of Service (ReDoS)
[SNYK-RUBY-RAILSHTMLSANITIZER-3168646](https://snyk.io/vuln/SNYK-RUBY-RAILSHTMLSANITIZER-3168646) | No | No Known Exploit ![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-RUBY-RAILSHTMLSANITIZER-3168647](https://snyk.io/vuln/SNYK-RUBY-RAILSHTMLSANITIZER-3168647) | No | Proof of Concept ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **496/1000**
**Why?** Recently disclosed, Has a fix available, CVSS 4.2 | Cross-site Scripting (XSS)
[SNYK-RUBY-RAILSHTMLSANITIZER-3168648](https://snyk.io/vuln/SNYK-RUBY-RAILSHTMLSANITIZER-3168648) | 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":"f02daa30-6034-4bd9-97f0-00e0cb8780ea","prPublicId":"f02daa30-6034-4bd9-97f0-00e0cb8780ea","dependencies":[{"name":"factory_bot_rails","from":"6.2.0","to":"6.2.0"},{"name":"rails","from":"7.0.2.3","to":"7.0.2.3"},{"name":"rails-html-sanitizer","from":"1.4.3","to":"1.4.4"},{"name":"rspec-rails","from":"5.0.2","to":"5.0.2"},{"name":"rubocop-rails_config","from":"1.9.1","to":"1.9.1"}],"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-LOOFAH-3168317","SNYK-RUBY-LOOFAH-3168318","SNYK-RUBY-LOOFAH-3168649","SNYK-RUBY-RAILSHTMLSANITIZER-3168316","SNYK-RUBY-RAILSHTMLSANITIZER-3168646","SNYK-RUBY-RAILSHTMLSANITIZER-3168647","SNYK-RUBY-RAILSHTMLSANITIZER-3168648"],"upgrade":["SNYK-RUBY-LOOFAH-3168317","SNYK-RUBY-LOOFAH-3168318","SNYK-RUBY-LOOFAH-3168649","SNYK-RUBY-RAILSHTMLSANITIZER-3168316","SNYK-RUBY-RAILSHTMLSANITIZER-3168646","SNYK-RUBY-RAILSHTMLSANITIZER-3168647","SNYK-RUBY-RAILSHTMLSANITIZER-3168648"],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["pr-warning-shown","priorityScore"],"priorityScoreList":[661,591,661,556,661,698,496]}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Regular Expression Denial of Service (ReDoS)](https://learn.snyk.io/lessons/redos/javascript/?loc=fix-pr) 🦉 [Cross-site Scripting (XSS)](https://learn.snyk.io/lessons/xss/csharp/?loc=fix-pr) 🦉 [Cross-site Scripting (XSS)](https://learn.snyk.io/lessons/xss/csharp/?loc=fix-pr) 🦉 [More lessons are available in Snyk Learn](https://learn.snyk.io/?loc=fix-pr)
ahmedre commented 1 year ago

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