CVE-2024-25122

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in gem/sidekiq-unique-jobs

Identifiers

GHSA-cmh9-rx85-xj38, CVE-2024-25122

Package Slug

gem/sidekiq-unique-jobs

Vulnerability

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

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 Versions

All versions before 7.1.33, all versions starting from 8.0.0 before 8.0.7

Solution

Upgrade to versions 7.1.33, 8.0.7 or above.

Last Modified

2024-02-14

source