Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix xss vulnerability in display class #2309

Merged
merged 1 commit into from Apr 21, 2015
Merged

Conversation

nolman
Copy link
Contributor

@nolman nolman commented Apr 21, 2015

If any of the job args contain a script tag it will execute when you view: /admin/sidekiq/queues/default

To reproduce:
Job.perform_later("aldfkjaf", "<script> alert('hi');</script>")

screen shot 2015-04-21 at 2 26 20 pm

@davydovanton
Copy link
Contributor

super! 🌟
I merge this after running tests

@mperham
Copy link
Collaborator

mperham commented Apr 21, 2015

👍

davydovanton added a commit that referenced this pull request Apr 21, 2015
fix xss vulnerability in display class
@davydovanton davydovanton merged commit 3056a5a into sidekiq:master Apr 21, 2015
@davydovanton
Copy link
Contributor

@nolman thank you for contribution 👍

@nolman
Copy link
Contributor Author

nolman commented Apr 21, 2015

Thanks for the fast merge!

@nolman
Copy link
Contributor Author

nolman commented Apr 21, 2015

What's the best way to get this fix if I am using sidekiq-pro?

@mperham
Copy link
Collaborator

mperham commented Apr 21, 2015

Pull in the master branch in your Gemfile. There won't be a new release for a while.

On Apr 21, 2015, at 18:41, Nolan Evans notifications@github.com wrote:

What's the best way to get this fix if I am using sidekiq-pro?


Reply to this email directly or view it on GitHub.

tijmenb added a commit to alphagov/collections-publisher that referenced this pull request Feb 4, 2016
This commit upgrades Sidekiq to 3.5.4, the latest version in the 3.X
series (4.0 has come out a few months ago). It is necessary to upgrade
because there are a couple of vulnerabilities reported in 2.X.

The issues  concerns these issues:

- sidekiq/sidekiq#2422
- sidekiq/sidekiq#2330
- sidekiq/sidekiq#2309

As mentioned in the upgrade guide[1], we've upgradedA the Airbrake gem
as well. Other items in the upgrade guide are not applicable.

[1] https://github.com/mperham/sidekiq/blob/master/3.0-Upgrade.md
carvil pushed a commit to alphagov/content-tagger that referenced this pull request Jul 20, 2016
This commit upgrades Sidekiq to 3.5.4, the latest version in the 3.X
series (4.0 has come out a few months ago). It is necessary to upgrade
because there are a couple of vulnerabilities reported in 2.X.

The issues  concerns these issues:

- sidekiq/sidekiq#2422
- sidekiq/sidekiq#2330
- sidekiq/sidekiq#2309

As mentioned in the upgrade guide[1], we've upgradedA the Airbrake gem
as well. Other items in the upgrade guide are not applicable.

[1] https://github.com/mperham/sidekiq/blob/master/3.0-Upgrade.md
chrismytton added a commit to everypolitician/webhook-manager that referenced this pull request Sep 28, 2016
This fixes the following vulnerabilities that bundler-audit warns us
about:

Name: sidekiq
Version: 3.3.4
Advisory: 125675
Criticality: Unknown
URL: sidekiq/sidekiq#2422
Title: Sidekiq Gem for Ruby Multiple Unspecified CSRF
Solution: upgrade to >= 3.4.2

Name: sidekiq
Version: 3.3.4
Advisory: 125676
Criticality: Unknown
URL: sidekiq/sidekiq#2330
Title: Sidekiq Gem for Ruby web/views/queue.erb CurrentMessagesInQueue Element
Reflected XSS
Solution: upgrade to >= 3.4.0

Name: sidekiq
Version: 3.3.4
Advisory: 125678
Criticality: Unknown
URL: sidekiq/sidekiq#2309
Title: Sidekiq Gem for Ruby web/views/queue.erb msg.display_class Element XSS
Solution: upgrade to >= 3.4.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants