SNYK-RUBY-SIDEKIQ-5885107
## Overview Affected versions of this package are vulnerable to Uncontrolled Resource Consumption ('Resource Exhaustion') due to insufficient checks in the `dashboard-charts.js` file. An attacker can exploit this vulnerability by manipulating the `localStorage` value which will cause excessive polling requests. ## Details Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users. Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime. One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines. When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries. Two common types of DoS vulnerabilities: * High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, [commons-fileupload:commons-fileupload](https://security.snyk.io/vuln/SNYK-JAVA-COMMONSFILEUPLOAD-30082). * Crash - An attacker sending crafted requests that could cause the system to crash. For Example, [npm `ws` package](https://snyk.io/vuln/npm:ws:20171108) ## Remediation Upgrade `sidekiq` to version 6.5.10, 7.1.3 or higher. ## References - [GitHub Commit](https://github.com/sidekiq/sidekiq/commit/101435c5a73095ca62b610d5d6456e7e5dc7f81a) - [GitHub Commit](https://github.com/sidekiq/sidekiq/commit/62c90d7c5a7d8a378d79909859d87c2e0702bf89) - [GitHub Gist](https://gist.github.com/keeganparr1/1dffd3c017339b7ed5371ed3d81e6b2a) - [GitHub Issue](https://github.com/sidekiq/sidekiq/issues/6045) - [Vulnerable Code](https://github.com/sidekiq/sidekiq/blob/6-x/web/assets/javascripts/dashboard.js#L6)
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Cloudflare | access | |
| 0 | ||
| Azure | storage |
Timeline
- Sep 7, 2023 CVE Updated
- Sep 12, 2023 CVE Published
References
- https://security.snyk.io/vuln/SNYK-RUBY-SIDEKIQ-5885107 advisory
- https://learn.snyk.io/lesson/redos/ technical
- https://snyk.io/vuln/npm:ws:20171108 technical
- https://github.com/sidekiq/sidekiq/commit/101435c5a73095ca62b610d5d6456e7e5dc7f81a patch
- https://github.com/sidekiq/sidekiq/commit/62c90d7c5a7d8a378d79909859d87c2e0702bf89 patch
- https://gist.github.com/keeganparr1/1dffd3c017339b7ed5371ed3d81e6b2a technical
- https://github.com/sidekiq/sidekiq/issues/6045 issue
- https://github.com/sidekiq/sidekiq/blob/6-x/web/assets/javascripts/dashboard.js#L6 technical