{"id":97,"date":"2026-01-28T03:02:20","date_gmt":"2026-01-27T18:02:20","guid":{"rendered":"http:\/\/word.igoni.kr\/?p=97"},"modified":"2026-02-02T22:40:14","modified_gmt":"2026-02-02T13:40:14","slug":"bash-%ec%9e%84%ec%9d%98%ec%bd%94%eb%93%9c-%ec%8b%a4%ed%96%89-%ec%b7%a8%ec%95%bd%ec%a0%90-%eb%b3%b4%ec%95%88%ec%97%85%eb%8d%b0%ec%9d%b4%ed%8a%b8","status":"publish","type":"post","link":"http:\/\/www.igoni.kr\/?p=97","title":{"rendered":"Bash \uc784\uc758\ucf54\ub4dc \uc2e4\ud589 \ucde8\uc57d\uc810 \ubcf4\uc548\uc5c5\ub370\uc774\ud2b8"},"content":{"rendered":"<p id=\"bkmrk-bash-%EB%B3%B4%EC%95%88%EC%97%85%EB%8D%B0%EC%9D%B4%ED%8A%B8%ED%95%98%EC%84%B8%EC%9A%94%7E%7E\">Bash \ubcf4\uc548\uc5c5\ub370\uc774\ud2b8\ud558\uc138\uc694~~<\/p>\n<ol id=\"bkmrk-%EC%B7%A8%EC%95%BD%EB%82%B4%EC%9A%A9-%3A-%EA%B3%B5%EA%B2%A9%EC%9E%90%EA%B0%80-bash%EB%A5%BC-%EC%82%AC%EC%9A%A9\">\n<li>\ucde8\uc57d\ub0b4\uc6a9 : \uacf5\uaca9\uc790\uac00 Bash\ub97c \uc0ac\uc6a9\ud558\uc5ec \uad6c\ud604\ub41c \uae30\ub2a5\uc744 \uc545\uc6a9\ud558\uc5ec \uc784\uc758\uc758 \ucf54\ub4dc\ub97c \uc2e4\ud589\uc2dc\ud0ac\uc218 \uc788\uc73c\ubbc0\ub85c \uc5c5\ub370\uc774\ud2b8 \uad8c\uace0<\/li>\n<li>\ub300\uc0c1 : GNU Bash\ub97c \uc0ac\uc6a9\ud558\ub294 \uc11c\ubc84 (<span style=\"text-decoration: line-through;\">RHEL\uacc4\uc5f4 4\uc774\ud558 \ubc84\uc804\uc740 \uc9c0\uc6d0\uc774 \ub05d\ub0ac\uae30 \ub54c\ubb38\uc5d0 \uc5c5\ub370\uc774\ud2b8 \ubd88\uac00\ub2a5\ud569\ub2c8\ub2e4.<\/span>)<\/li>\n<li>RHEL4\uc774\ud558\ubc84\uc804\uc740 yum\uc73c\ub85c \uc5c5\ub370\uc774\ud2b8 \ubd88\uac00\ud558\uace0, \ub300\uc2e0\uc5d0 \uc218\ub3d9\uc73c\ub85c \ud328\uce58\ub97c \uc9c4\ud589\ud574\uc57c \ud569\ub2c8\ub2e4.<\/li>\n<li>Bash\ub294 \ub9ac\ub205\uc2a4\uc5d0\uc11c \uae30\ubcf8\uc73c\ub85c \uc0ac\uc6a9\ud558\uace0 \uc788\ub294 \uc258\uc774\uae30 \ub54c\ubb38\uc5d0 \ub300\ubd80\ubd84 \uc5c5\ub370\uc774\ud2b8\ub97c \uc9c4\ud589\ud558\uc154\uc57c \ud560\uac83 \uac19\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ol>\n<p id=\"bkmrk-%ED%8C%A8%EC%B9%98%EC%9E%91%EC%97%85-%EC%A7%84%ED%96%89\">\ud328\uce58\uc791\uc5c5 \uc9c4\ud589<\/p>\n<ol id=\"bkmrk-%EC%B7%A8%EC%95%BD%EC%A0%90-%EB%8C%80%EC%83%81-%EC%8B%9C%EC%8A%A4%ED%85%9C-%EC%97%AC%EB%B6%80-%5Broot%40\">\n<li>\ucde8\uc57d\uc810 \ub300\uc0c1 \uc2dc\uc2a4\ud15c \uc5ec\ubd80\n<pre><code class=\"language-shell\">[root@localhost ~]# env x='() { :;}; echo vulnerable' bash -c \"echo this is a test\"\r\nvulnerable\r\nthis is a test\r\n(vulnerable\uba54\uc2dc\uc9c0\uac00 \ucd9c\ub825\ub418\uba74 \uc5c5\ub370\uc774\ud2b8\uac00 \ud544\uc694\ud55c \ubc84\uc804\uc785\ub2c8\ub2e4.)<\/code><\/pre>\n<\/li>\n<li>\ubcf4\uc548\uc5c5\ub370\uc774\ud2b8 \ubc29\ubc95\n<pre><code class=\"language-shell\">[root@localhost ~]# yum update bash -y<\/code><\/pre>\n<\/li>\n<li>\uc870\uce58\uc644\ub8cc\uc5ec\ubd80 \ud655\uc778\n<pre><code class=\"language-shell\">[root@localhost ~]# env x='() { :;}; echo vulnerable' bash -c \"echo this is a test\"\r\n\u00a0this is a test<\/code><\/pre>\n<\/li>\n<li>bash\uc5c5\ub370\uc774\ud2b8 \uc774\ud6c4 \uc11c\ube44\uc2a4\uc758 \uc7ac\uc2dc\uc791\/\uc7ac\ubd80\ud305\uc740 \ud544\uc694\uc5c6\uc73c\ub098, \uc7ac\uc2dc\uc791\uc774 \ud544\uc694\ud55c \uc11c\ube44\uc2a4\ub97c \ud655\uc778\ud558\uace0 \uc2f6\uc73c\uba74 \uba85\ub839\uc5b4 \uc2e4\ud589\n<pre><code class=\"language-shell\">[root@localhost ~]# grep -l -z '[^)]=() {' \/proc\/[1-9]*\/environ | cut -d\/ -f3<\/code><\/pre>\n<\/li>\n<\/ol>\n<p id=\"bkmrk-reference\"><em>Reference<\/em><\/p>\n<ul id=\"bkmrk-https%3A%2F%2Frhn.redhat.c\">\n<li><span class=\"wikiexternallink\"><a class=\"wikimodel-freestanding\" href=\"https:\/\/rhn.redhat.com\/errata\/RHSA-2014-1293.html\"><span class=\"wikigeneratedlinkcontent\">https:\/\/rhn.redhat.com\/errata\/RHSA-2014-1293.html<\/span><\/a><\/span><\/li>\n<li><em><span class=\"wikiexternallink\"><a class=\"wikimodel-freestanding\" href=\"https:\/\/access.redhat.com\/articles\/1200223\/\/\/\/\"><span class=\"wikigeneratedlinkcontent\">https:\/\/access.redhat.com\/articles\/1200223\/\/\/\/<\/span><\/a><\/span><\/em><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<table style=\"border-collapse: collapse; width: 100%; height: 59.757px;\" border=\"1\">\n<colgroup>\n<col style=\"width: 99.881%;\" \/><\/colgroup>\n<tbody>\n<tr style=\"height: 29.8785px;\">\n<td style=\"height: 29.8785px;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-487\" src=\"http:\/\/word.igoni.kr\/wp-content\/uploads\/2026\/01\/5955bf34-d272-4c73-957f-9d8521a3bccf.png\" alt=\"\" width=\"1024\" height=\"1024\" srcset=\"http:\/\/www.igoni.kr\/wp-content\/uploads\/2026\/01\/5955bf34-d272-4c73-957f-9d8521a3bccf.png 1024w, http:\/\/www.igoni.kr\/wp-content\/uploads\/2026\/01\/5955bf34-d272-4c73-957f-9d8521a3bccf-300x300.png 300w, http:\/\/www.igoni.kr\/wp-content\/uploads\/2026\/01\/5955bf34-d272-4c73-957f-9d8521a3bccf-150x150.png 150w, http:\/\/www.igoni.kr\/wp-content\/uploads\/2026\/01\/5955bf34-d272-4c73-957f-9d8521a3bccf-768x768.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/td>\n<\/tr>\n<tr style=\"height: 29.8785px;\">\n<td class=\"align-right\" style=\"height: 29.8785px; text-align: right;\">perplexity\uc5d0\uc11c \uc0dd\uc131\ud55c AI\uc774\ubbf8\uc9c0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Bash \ubcf4\uc548\uc5c5\ub370\uc774\ud2b8\ud558\uc138\uc694~~ \ucde8\uc57d\ub0b4\uc6a9 : \uacf5\uaca9\uc790\uac00 Bash\ub97c \uc0ac\uc6a9\ud558\uc5ec \uad6c\ud604\ub41c \uae30\ub2a5\uc744 \uc545\uc6a9\ud558\uc5ec \uc784\uc758\uc758 \ucf54\ub4dc\ub97c \uc2e4\ud589\uc2dc\ud0ac\uc218 \uc788\uc73c\ubbc0\ub85c \uc5c5\ub370\uc774\ud2b8 \uad8c\uace0&hellip;<\/p>\n","protected":false},"author":1,"featured_media":487,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[29,9],"class_list":["post-97","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-","tag-bash","tag-centos"],"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/posts\/97","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=97"}],"version-history":[{"count":3,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/posts\/97\/revisions"}],"predecessor-version":[{"id":493,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/posts\/97\/revisions\/493"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/media\/487"}],"wp:attachment":[{"href":"http:\/\/www.igoni.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=97"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=97"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=97"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}