CVE-2024-32887

NameCVE-2024-32887
DescriptionSidekiq is simple, efficient background processing for Ruby. Sidekiq is reflected XSS vulnerability. The value of substr parameter is reflected in the response without any encoding, allowing an attacker to inject Javascript code into the response of the application. An attacker could exploit it to target users of the Sidekiq Web UI. Moreover, if other applications are deployed on the same domain or website as Sidekiq, users of those applications could also be affected, leading to a broader scope of compromise. Potentially compromising their accounts, forcing the users to perform sensitive actions, stealing sensitive data, performing CORS attacks, defacement of the web application, etc. This issue has been patched in version 7.2.4.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ruby-sidekiq (PTS)jessie3.2.6~dfsg-1vulnerable
stretch (security), stretch (lts), stretch4.2.3+dfsg-1+deb9u1vulnerable
buster (security), buster, buster (lts)5.2.3+dfsg-1+deb10u1fixed
bullseye6.0.4+dfsg-2fixed
bookworm6.4.1+dfsg-1fixed
sid, trixie7.3.2+dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ruby-sidekiqsourcejessie(unfixed)end-of-life
ruby-sidekiqsourcestretch(unfixed)end-of-life
ruby-sidekiqsource(unstable)(not affected)

Notes

- ruby-sidekiq <not-affected> (Vulnerable code introduced in 7.2.0)
Introduced by: https://github.com/sidekiq/sidekiq/commit/1b9f7db4c5d0dc41b6eac2682710715eed5aadce (v7.2.0)
Fixed by: https://github.com/sidekiq/sidekiq/commit/30786e082c70349ab27ffa9eccc42fb0c696164d (v7.2.4)
https://github.com/sidekiq/sidekiq/security/advisories/GHSA-q655-3pj8-9fxq

Search for package or bug name: Reporting problems