
このクックブックは、bashの「シェルショック」バグ(正式にはcve-2014-7169として知られる)をテストし、必要に応じて修復するために設計されています。
Chef-clientが1つ以上のホストでこのレシピを実行すると、「Shellshock」エクスプロイトに対して脆弱なすべてのノードのリストを、knife search:を介してChefサーバーから取得できます。
knife search node 'bash:shellshock_vulnerable'
このクックブックは、OSネイティブのパッケージングシステムに依存して、bashパッケージのパッチ適用済みバージョンを提供します。
Shellshockの脆弱性についてノードを自動的に監査するOHAIプラグインをインストールします。このプラグインはOHAIに2つの新しい値を作成します:
node['languages']['bash']['version'], a string. Returned from bash --version.
node['languages']['bash']['shellshock_vulnerable'], a boolean. True if node is vulnerable.
作者: Cookbook Engineering Team ([email protected])
著作権: 20014-2015, Chef Software, Inc.
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.