cookbook 'CVE-2015-0235', '= 1.0'
CVE-2015-0235 (2) Versions 1.0 Follow0
Installs/Configures CVE-2015-0235
cookbook 'CVE-2015-0235', '= 1.0', :supermarket
knife supermarket install CVE-2015-0235
knife supermarket download CVE-2015-0235
CVE-2015-0235-cookbook
This cookbook will test if you are vulnerable to CVE-2015-0235.
Current behavior will error out when test fails:
bash 'test vulnerability against libc' do
  cwd Chef::Config[:file_cache_path]
  code <<-EOH
    ./CVE-2015-0235
    EOH
  returns [1]
end
For debian based systems: CVE-2015-0235
For Rhel based systems: CVE-2015-0235
Supported Platforms
- Debian / Ubuntu
- Centos / Rhel
Todo
- [ ] Add Test for currently running processes still using old version (easy in debian with checkrestart -v)
- [ ] Add a script to help with fixing?
Usage
CVE-2015-0235::default
Include CVE-2015-0235 in your node's run_list:
{
  "run_list": [
    "recipe[CVE-2015-0235]"
  ]
}
License and Authors
Author:: Mike Splain (mike.splain@gmail.com)
Dependent cookbooks
| apt >= 0.0.0 | 
| yum >= 0.0.0 | 
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
0.1.0
Initial release of CVE-2015-0235
Foodcritic Metric
        
            1.0 failed this metric
            FC031: Cookbook without metadata file: /tmp/cook/af661a0e555c7c232ff41314/CVE-2015-0235/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/af661a0e555c7c232ff41314/CVE-2015-0235/metadata.rb:1
        
  
1.0 failed this metric
FC045: Consider setting cookbook name in metadata: /tmp/cook/af661a0e555c7c232ff41314/CVE-2015-0235/metadata.rb:1