cookbook 'bash-CVE-2014-7169', '~> 0.1.0'
bash-CVE-2014-7169 (1) Versions 0.1.0 Follow1
Fails Chef run if your bash is vulnerable per CVE-2014-7169
cookbook 'bash-CVE-2014-7169', '~> 0.1.0', :supermarket
knife supermarket install bash-CVE-2014-7169
knife supermarket download bash-CVE-2014-7169
bash-CVE-2014-7169 Cookbook
This Chef cookbook contains a default recipe that will fail
your Chef run if a bash is found and that bash is vulnerable
to the remote exploit described in CVE-2014-7169. The places
to look for bash
can be configured in the
node['bash-CVE-2014-7169']['bashes']
attribute (see below)
Requirements
Should work on any UNIX/Linux. Please report problems (ideally with patches)
Attributes
-
node['bash-CVE-2014-7169']['bashes']
- A required array of possible bash executables to test for the vulnerability. Defaults to/bin/bash
and/usr/local/bin/bash
Usage
bash-CVE-2014-7169::default
Just include bash-CVE-2014-7169
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[bash-CVE-2014-7169]" ] }
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
- Author:: Jeff Blaine (jblaine@kickflop.net)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
bash-CVE-2014-7169 CHANGELOG
This file is used to list changes made in each version of the bash-CVE-2014-7169 cookbook.
0.1.0
- [jblaine] - Initial release of bash-CVE-2014-7169
Collaborator Number Metric
0.1.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.0 failed this metric
FC064: Ensure issues_url is set in metadata: bash-CVE-2014-7169/metadata.rb:1
FC065: Ensure source_url is set in metadata: bash-CVE-2014-7169/metadata.rb:1
FC066: Ensure chef_version is set in metadata: bash-CVE-2014-7169/metadata.rb:1
FC069: Ensure standardized license defined in metadata: bash-CVE-2014-7169/metadata.rb:1
FC070: Ensure supports metadata defines valid platforms: bash-CVE-2014-7169/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.0 failed this metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.0 failed this metric
FC064: Ensure issues_url is set in metadata: bash-CVE-2014-7169/metadata.rb:1
FC065: Ensure source_url is set in metadata: bash-CVE-2014-7169/metadata.rb:1
FC066: Ensure chef_version is set in metadata: bash-CVE-2014-7169/metadata.rb:1
FC069: Ensure standardized license defined in metadata: bash-CVE-2014-7169/metadata.rb:1
FC070: Ensure supports metadata defines valid platforms: bash-CVE-2014-7169/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.0 failed this metric
FC065: Ensure source_url is set in metadata: bash-CVE-2014-7169/metadata.rb:1
FC066: Ensure chef_version is set in metadata: bash-CVE-2014-7169/metadata.rb:1
FC069: Ensure standardized license defined in metadata: bash-CVE-2014-7169/metadata.rb:1
FC070: Ensure supports metadata defines valid platforms: bash-CVE-2014-7169/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.0 passed this metric
Testing File Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.0 failed this metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number