Vulnerability · Published Feb 13, 2024 · Assigned by GitHub_M
CVE-2024-25122 Cross-site Scripting sidekiq-unique-jobs UI server vulnerability
High 7.1
In plain English
A high-severity cross-site scripting in sidekiq-unique-jobs from mhenrixon. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
sidekiq-unique-jobs is an open source project which prevents simultaneous Sidekiq jobs with the same unique arguments to run. Specially crafted GET request parameters handled by any of the following endpoints of sidekiq-unique-jobs' "admin" web UI, allow a super-user attacker, or an unwitting, but authorized, victim, who has received a disguised / crafted link, to successfully execute malicious code, which could potentially steal cookies, session data, or local storage data from the app the sidekiq-unique-jobs web UI is mounted in. 1. `/changelogs`, 2. `/locks` or 3. `/expiring_locks`. This issue has been addressed in versions 7.1.33 and 8.0.7. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| RubyGems | sidekiq-unique-jobs | 8.0.7 | GHSA-cmh9-rx85-xj38 |
| RubyGems | sidekiq-unique-jobs | 7.1.33 | GHSA-cmh9-rx85-xj38 |
| RubyGems | sidekiq-unique-jobs | 8.0.7 | GHSA-fhx8-5c23-x7x5 |
| RubyGems | sidekiq-unique-jobs | 7.1.33 | GHSA-fhx8-5c23-x7x5 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| mhenrixon | sidekiq-unique-jobs | < 7.1.33>= 8.0.0, < 8.0.7 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L