CVE-2023-26141: Sidekiq Denial of Service Vulnerability
MODERATECVE-2023-26141 is a MODERATE (CVSS 5.7) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Sidekiq libraries in the RubyGems ecosystem. The issue involves sidekiq denial of service vulnerability. Remediation is available by upgrading affected packages to version 7.1.3, 6.5.10.
CVE-2023-26141 at a Glance
Security Impact
CVSS: 5.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H).
How to Fix CVE-2023-26141
To remediate this vulnerability, upgrade all affected Sidekiq dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade sidekiq to 7.1.3
Upgrade sidekiq to 6.5.10
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for sidekiq
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-26141, inspect your project dependencies for Sidekiq:
inspect dependencies for sidekiq
Analyze the terminal output to locate any version of Sidekiq in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.1.3), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Sidekiq, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-26141 Affected Sidekiq Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
sidekiq
|
RubyGems |
≥ 7.0.0
< 7.1.3
|
7.1.3
|
|
sidekiq
|
RubyGems |
< 6.5.10
|
6.5.10
|
References
Frequently Asked Questions
What is CVE-2023-26141?
Which Sidekiq versions are affected?
What version fixes CVE-2023-26141?
Is sidekiq affected?
What is the CVSS score of CVE-2023-26141?
What CWE is associated with CVE-2023-26141?
How can I check RubyGems dependencies for CVE-2023-26141?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3qc2-v3hp-6cv8",
"modified" : "2023-10-05T13:29:47Z",
"published" : "2023-09-14T06:30:19Z",
"aliases" : [ "CVE-2023-26141" ],
"summary" : "sidekiq Denial of Service vulnerability",
"details" : "Versions of the package sidekiq before 7.1.3 and 6.5.10 are vulnerable to Denial of Service (DoS) 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "sidekiq"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0"
}, {
"fixed" : "7.1.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "sidekiq"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.5.10"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-26141"
}, {
"type" : "WEB",
"url" : "https://github.com/sidekiq/sidekiq/commit/62c90d7c5a7d8a378d79909859d87c2e0702bf89"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/keeganparr1/1dffd3c017339b7ed5371ed3d81e6b2a"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sidekiq/CVE-2023-26141.yml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/sidekiq/sidekiq"
}, {
"type" : "WEB",
"url" : "https://github.com/sidekiq/sidekiq/blob/6-x/Changes.md#6510"
}, {
"type" : "WEB",
"url" : "https://github.com/sidekiq/sidekiq/blob/6-x/web/assets/javascripts/dashboard.js#L6"
}, {
"type" : "WEB",
"url" : "https://github.com/sidekiq/sidekiq/blob/6-x/web/assets/javascripts/dashboard.js%23L6"
}, {
"type" : "WEB",
"url" : "https://security.snyk.io/vuln/SNYK-RUBY-SIDEKIQ-5885107"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-345", "CWE-400" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-09-14T19:34:57Z",
"nvd_published_at" : "2023-09-14T05:15:11Z"
}
}