{"id":1278,"date":"2014-09-30T10:00:41","date_gmt":"2014-09-30T01:00:41","guid":{"rendered":"http:\/\/www.skyarch.net\/blog\/?p=1278"},"modified":"2014-09-30T10:55:56","modified_gmt":"2014-09-30T01:55:56","slug":"bashshock-el3%e7%94%a8-rpm%e4%bd%9c%e6%88%90%e6%89%8b%e9%a0%86-%e5%ae%9f%e6%a9%9f%e7%a2%ba%e8%aa%8d%e6%9c%aa%e5%ae%9f%e6%96%bd","status":"publish","type":"post","link":"https:\/\/www.skyarch.net\/blog\/bashshock-el3%e7%94%a8-rpm%e4%bd%9c%e6%88%90%e6%89%8b%e9%a0%86-%e5%ae%9f%e6%a9%9f%e7%a2%ba%e8%aa%8d%e6%9c%aa%e5%ae%9f%e6%96%bd\/","title":{"rendered":"Shellshock EL3\u7528 rpm\u4f5c\u6210\u624b\u9806 (\u5b9f\u6a5f\u78ba\u8a8d\u672a\u5b9f\u65bd)"},"content":{"rendered":"<p>\u53e4\u3044Linux\u3067\u3082\u4eca\u56de\u306eShellshock\u5bfe\u7b56\u3092\u5b9f\u65bd\u3057\u305f\u3044\uff01\u3068\u3044\u3046\u4e8b\u3067<\/p>\n<p>EL3\u5b9f\u6a5f\u3067\u306e\u78ba\u8a8d\u306f\u672a\u5b9f\u65bd\u3068\u306a\u308a\u307e\u3059\u304c<br \/>\n\u30ea\u30d7\u30ec\u30a4\u30b9\u5b8c\u4e86\u307e\u3067\u306e\u66ab\u5b9a\u5bfe\u51e6\u3068\u3057\u3066\u3001\u30b5\u30fc\u30d3\u30b9\u5229\u7528\u6a5f\u5668\u3067\u306f\u306a\u304f<br \/>\n\u691c\u8a3c\u6a5f\u5668\u7528\u306bRPM\u3092\u4e0b\u8a18\u8981\u9805\u3067\u4f5c\u6210\u81f4\u3057\u307e\u3057\u305f\u3002<\/p>\n<h1>SRC RPM\u3092\u53d6\u3063\u3066\u304d\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h1>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n# cd \/usr\/local\/src\n# wget http:\/\/vault.centos.org\/3.9\/os\/SRPMS\/bash-2.05b-41.7.centos.0.src.rpm\n# rpm -ivh bash-2.05b-41.7.centos.0.src.rpm\n<\/pre>\n<h1>2014\u5e749\u6708\u30ea\u30ea\u30fc\u30b9\u306e\u30d1\u30c3\u30c1\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/h1>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n# cd \/usr\/src\/redhat\/SOURCES\n# wget http:\/\/ftp.gnu.org\/gnu\/bash\/bash-2.05b-patches\/bash205b-00{8..9} http:\/\/ftp.gnu.org\/gnu\/bash\/bash-2.05b-patches\/bash205b-010\n<\/pre>\n<h1>SPEC\u30d5\u30a1\u30a4\u30eb\u306b\u8ffd\u52a0\u30d1\u30c3\u30c1\u3092\u8ffd\u8a18<\/h1>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n# cd \/usr\/src\/redhat\/SPECS\n# cp -pi bash.spec bash.spec.org\n# vi bash.spec\n\n# diff bash.spec.org bash.spec\n4c4\n&amp;lt; Release: 41.7.centos.0\n---\n&amp;gt; Release: 43.skyarch.0\n47a48,50\n&amp;gt; Patch41: ftp:\/\/ftp.gnu.org\/pub\/gnu\/bash\/bash-2.05b-patches\/bash205b-008\n&amp;gt; Patch42: ftp:\/\/ftp.gnu.org\/pub\/gnu\/bash\/bash-2.05b-patches\/bash205b-009\n&amp;gt; Patch43: ftp:\/\/ftp.gnu.org\/pub\/gnu\/bash\/bash-2.05b-patches\/bash205b-010\n102a106,108\n&amp;gt; %patch41 -p0 -b .008\n&amp;gt; %patch42 -p0 -b .009\n&amp;gt; %patch43 -p0 -b .010\n<\/pre>\n<h1>RPM\u4f5c\u6210<\/h1>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n# rpmbuild -ba bash.spec\n<\/pre>\n<h1>\u4f5c\u6210\u3057\u305fRPM\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h1>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n# cd \/usr\/src\/redhat\/RPMS\/i386\/\n# rpm -Uvh bash-2.05b-43.skyarch.0.i386.rpm\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u53e4\u3044Linux\u3067\u3082\u4eca\u56de\u306eShellshock\u5bfe\u7b56\u3092\u5b9f\u65bd\u3057\u305f\u3044\uff01\u3068\u3044\u3046\u4e8b\u3067 EL3\u5b9f\u6a5f\u3067\u306e\u78ba\u8a8d\u306f\u672a\u5b9f\u65bd\u3068\u306a\u308a\u307e\u3059\u304c \u30ea\u30d7\u30ec\u30a4\u30b9\u5b8c\u4e86\u307e\u3067\u306e\u66ab\u5b9a\u5bfe\u51e6\u3068\u3057\u3066\u3001\u30b5\u30fc\u30d3\u30b9\u5229\u7528\u6a5f\u5668\u3067\u306f\u306a\u304f \u691c\u8a3c\u6a5f\u5668\u7528\u306bRPM\u3092\u4e0b\u8a18\u8981\u9805\u3067\u4f5c\u6210\u81f4\u3057\u307e\u3057\u305f&#8230;<\/p>\n","protected":false},"author":1,"featured_media":438,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"","_original_post":"","footnotes":""},"categories":[29,18,72],"tags":[73],"class_list":{"0":"post-1278","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-linux","8":"category-os","9":"category-vulnerable","10":"tag-shellshock","11":"ja"},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/1278","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/comments?post=1278"}],"version-history":[{"count":6,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/1278\/revisions"}],"predecessor-version":[{"id":1287,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/1278\/revisions\/1287"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/media\/438"}],"wp:attachment":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/media?parent=1278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/categories?post=1278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/tags?post=1278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}