
अप्रचलित: Chef कुकबुक "शेलशॉक" (BASH-CVE-2014-7169) की ऑडिट और सुधार के लिए
यह कुकबुक bash 'shellshock' बग का परीक्षण और वैकल्पिक रूप से समाधान करने के लिए डिज़ाइन की गई है, जिसे औपचारिक रूप से cve-2014-7169 के नाम से जाना जाता है।
एक बार जब Chef-client ने एक या अधिक होस्ट पर इस रेसिपी को निष्पादित कर दिया, तो 'Shellshock' शोषण के प्रति संवेदनशील सभी नोड्स की सूची Chef सर्वर से knife search: के माध्यम से प्राप्त की जा सकती है:
knife search node 'bash:shellshock_vulnerable'
यह कुकबुक bash पैकेज के पैच किए गए संस्करण प्रदान करने के लिए OS-मूल पैकेजिंग सिस्टम पर निर्भर करती है।
एक OHAI प्लगइन स्थापित करता है जो स्वचालित रूप से नोड्स का Shellshock भेद्यता के लिए ऑडिट करेगा। यह प्लगइन OHAI में दो नए मान बनाता है:
node['languages']['bash']['version'], एक स्ट्रिंग। bash --version से लौटाया गया।
node['languages']['bash']['shellshock_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.