CVSS 3.1
6.1 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NMedium (6.1). EPSS 4.2% estimated probability of exploitation activity in the next 30 days. Fixed in sidekiq 5.2.0, 6.2.1.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:Nsidekiq (RubyGems): fixed in 5.2.0, 6.2.1Explain CVE-2021-30151 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-30151?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-30151?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-30151 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| contribsys:sidekiq | through 5.1.3 |
| contribsys:sidekiq | from 6.0.0 through 6.2.0 |
| debian:debian_linux | 9.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-grh7-935j-hg6w | RubyGems | sidekiq | <5.2.0 | 5.2.0 |
| GHSA-grh7-935j-hg6w | RubyGems | sidekiq | >=6.0.0 <6.2.1 | 6.2.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | ruby-sidekiq | 4.2.3+dfsg-1+deb9u1 | DLA-2943-1 |
| Debian | 10 | ruby-sidekiq | 5.2.3+dfsg-1+deb10u1 | DLA-3360-1 |
| Debian | 11 | ruby-sidekiq | 6.0.4+dfsg-2+deb11u1 | DLA-4407-1 |
| Debian | 12, 13, 14 | ruby-sidekiq | 6.3.1+dfsg-1 | DEBIAN-CVE-2021-30151 |
| Ubuntu | 16.04:LTS | ruby-sidekiq | no fix listed | UBUNTU-CVE-2021-30151 |
| Ubuntu | Pro:18.04:LTS | ruby-sidekiq | 5.0.4+dfsg-2ubuntu0.1~esm1 | UBUNTU-CVE-2021-30151 USN-7695-1 |
| Ubuntu | Pro:20.04:LTS | ruby-sidekiq | 5.2.7+dfsg-1ubuntu0.1~esm1 | UBUNTU-CVE-2021-30151 USN-7695-1 |
| Ubuntu | Pro:22.04:LTS | ruby-sidekiq | 6.3.1+dfsg-1ubuntu0.1~esm1 | USN-7695-1 |
| Red Hat | satellite:6.11::el7 | candlepin | 0:4.1.13-1.el7sat | RHSA-2022:5498 |
| Red Hat | satellite:6.11::el7 | tfm-rubygem-actionpack | 0:6.0.4.7-1.el7sat | RHSA-2022:5498 |
| Red Hat | satellite:6.11::el7 | tfm-rubygem-puma, tfm-rubygem-puma-debuginfo | 0:5.6.2-1.el7sat | RHSA-2022:5498 |
| Red Hat | satellite:6.11::el7 | tfm-rubygem-sidekiq | 0:5.2.10-1.el7sat | RHSA-2022:5498 |
| Red Hat | satellite:6.11::el7, satellite_capsule:6.11::el7 | libsolv | 0:0.7.22-1.el7pc | RHSA-2022:5498 |
| Red Hat | satellite:6.11::el7, satellite_capsule:6.11::el7, satellite_utils:6.11::el7 | foreman | 0:3.1.1.21-2.el7sat | RHSA-2022:5498 |
| Red Hat | satellite:6.11::el7, satellite_capsule:6.11::el7, satellite_utils:6.11::el7 | satellite | 0:6.11.0-2.el7sat | RHSA-2022:5498 |
| Red Hat | satellite:6.11::el8 | candlepin | 0:4.1.13-1.el8sat | RHSA-2022:5498 |
| Red Hat | satellite:6.11::el8 | rubygem-actionpack | 0:6.0.4.7-1.el8sat | RHSA-2022:5498 |
| Red Hat | satellite:6.11::el8 | rubygem-puma, rubygem-puma-debuginfo, rubygem-puma-debugsource | 0:5.6.2-1.el8sat | RHSA-2022:5498 |
| Red Hat | satellite:6.11::el8 | rubygem-sidekiq | 0:5.2.10-1.el8sat | RHSA-2022:5498 |
| Red Hat | satellite:6.11::el8, satellite_capsule:6.11::el8 | libsolv | 0:0.7.22-1.el8pc | RHSA-2022:5498 |
| 5 more for Red Hat in the JSON and on Red Hat's page. | ||||
| Rocky Linux | 8 | libdb | 0:5.3.28-42.el8_4 | RLSA-2022:5498 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.
Red Hat rates this Moderate.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Satellite 6.11 for RHEL 7 | tfm-rubygem-sidekiq-0:5.2.10-1.el7sat | Fixed 2022-07-05 | RHSA-2022:5498 |
| Red Hat 3scale API Management Platform 2 | sidekiq | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-30151.
Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.