View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007644 | Kali Linux | [All Projects] General Bug | public | 2022-03-27 11:29 | 2022-04-01 14:04 |
Reporter | cohst | Assigned To | sbrun | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 2022.1 | ||||
Target Version | Fixed in Version | ||||
Summary | 0007644: wpscan broken after upgrade from 26-03-2022 | ||||
Description | After today's apt-get update && apt-get dist-upgrade wpscan is broken with the following error message (obviously a problem with dependencies): ┌──(cohst@kali-linux)-[~] └─$ wpscan -h /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1401:in `rescue in block in activate_dependencies': Could not find 'webrick' (>= 0) among 199 total gem(s) (Gem::MissingSpecError) Checked in 'GEM_PATH=/home/cohst/.local/share/gem/ruby/3.0.0:/var/lib/gems/3.0.0:/usr/local/lib/ruby/gems/3.0.0:/usr/lib/ruby/gems/3.0.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.0.0:/usr/share/rubygems-integration/3.0.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.0.0' at: /usr/share/rubygems-integration/all/specifications/xmlrpc-0.3.2.gemspec, execute `gem env` for more information from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1398:in `block in activate_dependencies' from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1387:in `each' from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1387:in `activate_dependencies' from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1369:in `activate' from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1405:in `block in activate_dependencies' from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1387:in `each' from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1387:in `activate_dependencies' from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1369:in `activate' from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1405:in `block in activate_dependencies' from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1387:in `each' from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1387:in `activate_dependencies' from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1369:in `activate' from /usr/lib/ruby/vendor_ruby/rubygems.rb:286:in `block in activate_bin_path' from /usr/lib/ruby/vendor_ruby/rubygems.rb:285:in `synchronize' from /usr/lib/ruby/vendor_ruby/rubygems.rb:285:in `activate_bin_path' from /usr/bin/wpscan:25:in `<main>' /usr/lib/ruby/vendor_ruby/rubygems/dependency.rb:311:in `to_specs': Could not find 'webrick' (>= 0) among 199 total gem(s) (Gem::MissingSpecError) Checked in 'GEM_PATH=/home/cohst/.local/share/gem/ruby/3.0.0:/var/lib/gems/3.0.0:/usr/local/lib/ruby/gems/3.0.0:/usr/lib/ruby/gems/3.0.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.0.0:/usr/share/rubygems-integration/3.0.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.0.0' , execute `gem env` for more information from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1399:in `block in activate_dependencies' from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1387:in `each' from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1387:in `activate_dependencies' from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1369:in `activate' from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1405:in `block in activate_dependencies' from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1387:in `each' from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1387:in `activate_dependencies' from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1369:in `activate' from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1405:in `block in activate_dependencies' from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1387:in `each' from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1387:in `activate_dependencies' from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1369:in `activate' from /usr/lib/ruby/vendor_ruby/rubygems.rb:286:in `block in activate_bin_path' from /usr/lib/ruby/vendor_ruby/rubygems.rb:285:in `synchronize' from /usr/lib/ruby/vendor_ruby/rubygems.rb:285:in `activate_bin_path' from /usr/bin/wpscan:25:in `<main>' ┌──(cohst@kali-linux)-[~] └─$ | ||||
Steps To Reproduce | upgrade Kali by the normal apt update && apt dist-upgrade | ||||
|
Thanks for the report. To fix this issue you can install ruby-webrick: sudo apt install ruby-webrick FTR: ruby-webrick was part of Ruby standard library before Ruby 3.x. It's now a separate gem. The package ruby-xmlrpc required the gem but it has not been updated to depends on it. I will fix this dependency issue. |
|
I have uploaded ruby-cms-scanner version 0.13.6-0kali6 to force the installation of ruby-webrick. I have reported the issue to Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008524 |
|
Thanks, it works. Ticket can be closed from my side. |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-03-27 11:29 | cohst | New Issue | |
2022-03-28 09:09 | sbrun | Assigned To | => sbrun |
2022-03-28 09:09 | sbrun | Status | new => assigned |
2022-03-28 09:13 | sbrun | Note Added: 0015960 | |
2022-03-28 12:10 | sbrun | Note Added: 0015970 | |
2022-03-29 11:33 | cohst | Note Added: 0015971 | |
2022-04-01 14:04 | sbrun | Status | assigned => resolved |
2022-04-01 14:04 | sbrun | Resolution | open => fixed |