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.

Severity (CVSS 3.1)7.1High
Exploit odds (30 days)0.5%top 55.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
RubyGemssidekiq-unique-jobs8.0.7GHSA-cmh9-rx85-xj38
RubyGemssidekiq-unique-jobs7.1.33GHSA-cmh9-rx85-xj38
RubyGemssidekiq-unique-jobs8.0.7GHSA-fhx8-5c23-x7x5
RubyGemssidekiq-unique-jobs7.1.33GHSA-fhx8-5c23-x7x5

Affected products (as reported)

VendorProductVersions
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

References