{"id":52243,"date":"2021-01-05T19:48:35","date_gmt":"2021-01-05T11:48:35","guid":{"rendered":"http:\/\/www.zhushiyao.com\/?p=52243"},"modified":"2021-01-14T23:33:23","modified_gmt":"2021-01-14T15:33:23","slug":"php-_gd2getheader%e5%87%bd%e6%95%b0%e6%95%b4%e6%95%b0%e6%ba%a2%e5%87%ba%e6%bc%8f%e6%b4%9e","status":"publish","type":"post","link":"http:\/\/www.zhushiyao.com\/?p=52243","title":{"rendered":"PHP &#8216;_gd2GetHeader()&#8217;\u51fd\u6570\u6574\u6570\u6ea2\u51fa\u6f0f\u6d1e"},"content":{"rendered":"\n<p>\u5927\u560e\u597d\uff0c\u534a\u540a\u5b50\u8fd0\u7ef4\u53c8\u51fa\u73b0\u4e86\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u767b\u5f55\u963f\u91cc\u4e91\u53d1\u73b0\u4e00\u4e2a\u65b0\u7684\u5b89\u5168\u8b66\u544a\u3002                                                                                                                  <\/h2>\n\n\n\n<p><strong>\u4e2d\u5371   PHP &#8216;_gd2GetHeader()&#8217;\u51fd\u6570\u6574\u6570\u6ea2\u51fa\u6f0f\u6d1e    \u5b58\u5728EXP \u62d2\u7edd\u670d\u52a1  <\/strong>                                                                                          <\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u6f0f\u6d1e\u63cf\u8ff0<\/h4>\n\n\n\n<p>PHP\uff08PHP\uff1aHypertext Preprocessor\uff0cPHP\uff1a\u8d85\u6587\u672c\u9884\u5904\u7406\u5668\uff09\u662fPHP Group\u548c\u5f00\u653e\u6e90\u4ee3\u7801\u793e\u533a\u5171\u540c\u7ef4\u62a4\u7684\u4e00\u79cd\u5f00\u6e90\u7684\u901a\u7528\u8ba1\u7b97\u673a\u811a\u672c\u8bed\u8a00\u3002\n\nPHP\u7684\u2018_gd2GetHeader()\u2019\u51fd\u6570\u4e2d\u5b58\u5728\u6574\u6570\u6ea2\u51fa\u6f0f\u6d1e\uff0c\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u9020\u6210\u5806\u7f13\u51b2\u533a\u6ea2\u51fa\u3002\n                            <\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u57fa\u672c\u4fe1\u606f<\/h4>\n\n\n\n<ul><li>CVE\u7f16\u53f7:  CVE-2016-5766 <\/li><li>\u6f0f\u6d1e\u7c7b\u578b:  \u62d2\u7edd\u670d\u52a1,\u7f13\u51b2\u533a\u6ea2\u51fa <\/li><li>\u5371\u9669\u7b49\u7ea7:  \u4e2d\u5371 <\/li><li>\u62ab\u9732\u65f6\u95f4:  \u672a\u77e5 <\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">\u4fee\u590d\u5efa\u8bae<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\">\u76ee\u524d\u5382\u5546\u5df2\u7ecf\u53d1\u5e03\u4e86\u5347\u7ea7\u8865\u4e01\u4ee5\u4fee\u590d\u6b64\u5b89\u5168\u95ee\u9898\uff0c\u8865\u4e01\u83b7\u53d6\u94fe\u63a5\uff1a\nhttps:\/\/bugs.php.net\/bug.php?id=72339<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u53c2\u8003\u94fe\u63a5<\/h4>\n\n\n\n<ul><li><a href=\"http:\/\/github.com\/php\/php-src\/commit\/7722455726bec8c53458a32851d2a87982cf0eac?w=1\">http:\/\/github.com\/php\/php-src\/commit\/7722455726bec8c53458a32851d2a87982cf0eac?w=1<\/a><\/li><li><a href=\"http:\/\/lists.opensuse.org\/opensuse-security-announce\/2016-07\/msg00004.html\">http:\/\/lists.opensuse.org\/opensuse-security-announce\/2016-07\/msg00004.html<\/a><\/li><li><a href=\"http:\/\/lists.opensuse.org\/opensuse-security-announce\/2016-08\/msg00025.html\">http:\/\/lists.opensuse.org\/opensuse-security-announce\/2016-08\/msg00025.html<\/a><\/li><li><a href=\"http:\/\/lists.opensuse.org\/opensuse-updates\/2016-08\/msg00003.html\">http:\/\/lists.opensuse.org\/opensuse-updates\/2016-08\/msg00003.html<\/a><\/li><li><a href=\"http:\/\/php.net\/ChangeLog-5.php\">http:\/\/php.net\/ChangeLog-5.php<\/a><\/li><li><a href=\"http:\/\/php.net\/ChangeLog-7.php\">http:\/\/php.net\/ChangeLog-7.php<\/a><\/li><li><a href=\"http:\/\/www.debian.org\/security\/2016\/dsa-3619\">http:\/\/www.debian.org\/security\/2016\/dsa-3619<\/a><\/li><li><a href=\"http:\/\/www.openwall.com\/lists\/oss-security\/2016\/06\/23\/4\">http:\/\/www.openwall.com\/lists\/oss-security\/2016\/06\/23\/4<\/a><\/li><li><a href=\"http:\/\/www.ubuntu.com\/usn\/USN-3030-1\">http:\/\/www.ubuntu.com\/usn\/USN-3030-1<\/a><\/li><li><a href=\"https:\/\/bugs.php.net\/bug.php?id=72339\">https:\/\/bugs.php.net\/bug.php?id=72339<\/a><\/li><li><a href=\"https:\/\/h20566.www2.hpe.com\/portal\/site\/hpsc\/public\/kb\/docDisplay?docId=emr_na-c05240731\">https:\/\/h20566.www2.hpe.com\/portal\/site\/hpsc\/public\/kb\/docDisplay?docId=emr_na-c05240731<\/a><\/li><li><a href=\"https:\/\/libgd.github.io\/release-2.2.3.html\">https:\/\/libgd.github.io\/release-2.2.3.html<\/a><\/li><\/ul>\n\n\n\n<p><\/p>\n\n\n\n<p>\u7a0d\u5fae\u770b\u4e86\u4e00\u4e0b\uff0c\u767b\u5f55\u5230\u670d\u52a1\u5668\uff0c\u8fdb\u884c\u66f4\u65b0<\/p>\n\n\n\n<p><strong>#yum update gd<\/strong><br> Loaded plugins: fastestmirror<br> Repository base is listed more than once in the configuration<br> Repository updates is listed more than once in the configuration<br> Repository extras is listed more than once in the configuration<br> Repository centosplus is listed more than once in the configuration<br> Loading mirror speeds from cached hostfile<\/p>\n\n\n\n<ul><li>base: mirrors.163.com<\/li><li>epel: mirror.sjtu.edu.cn<\/li><li>extras: mirrors.163.com<\/li><li>remi-safe: mirrors.tuna.tsinghua.edu.cn<\/li><li>updates: mirrors.aliyun.com<br>\nResolving Dependencies<br>\n&#8211;&gt; Running transaction check<br>\n&#8212;&gt; Package gd.x86_64 0:2.0.35-26.el7 will be updated<br>\n&#8212;&gt; Package gd.x86_64 0:2.0.35-27.el7_9 will be an update<br>\n&#8211;&gt; Finished Dependency Resolution<\/li><\/ul>\n\n\n\n<p>Dependencies Resolved<\/p>\n\n\n\n<p>================================================================================<\/p>\n\n\n\n<p> Package     Arch            Version                     Repository        Size<\/p>\n\n\n\n<p>Updating:<br>\n gd          x86_64          2.0.35-27.el7_9             updates          146 k<\/p>\n\n\n\n<p>Transaction Summary<\/p>\n\n\n\n<p>Upgrade  1 Package<\/p>\n\n\n\n<p>Total download size: 146 k<\/p>\n\n\n\n<p>Is this ok [y\/d\/N]: y<br>\nDownloading packages:<br>\nDelta RPMs disabled because \/usr\/bin\/applydeltarpm not installed.<br>\ngd-2.0.35-27.el7_9.x86_64.rpm                              | 146 kB   00:00<br>\nRunning transaction check<br>\nRunning transaction test<br>\nTransaction test succeeded<br>\nRunning transaction<br>\n  Updating   : gd-2.0.35-27.el7_9.x86_64                                    1\/2<br>\n  Cleanup    : gd-2.0.35-26.el7.x86_64                                      2\/2<br>\n  Verifying  : gd-2.0.35-27.el7_9.x86_64                                    1\/2<br>\n  Verifying  : gd-2.0.35-26.el7.x86_64                                      2\/2<\/p>\n\n\n\n<p>Updated:<br>\n  gd.x86_64 0:2.0.35-27.el7_9<\/p>\n\n\n\n<p>Complete!<\/p>\n\n\n\n<p>\u4fdd\u9669\u8d77\u89c1\uff0c\u91cd\u542f\u4e00\u4e0b\uff0c\u6b63\u597d\u73b0\u5728\u6ca1\u6709\u4eba\u7528<\/p>\n\n\n\n<p>#reboot<\/p>\n\n\n\n<p>\u7136\u540e\u767b\u5f55\u5e94\u7528\u7cfb\u7edf\uff0c\u8c8c\u4f3c\u4e00\u5207\u6b63\u5e38\u54e6\u3002<\/p>\n\n\n\n<p>\u6253\u5b8c\uff0c\u6536\u5de5\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5927\u560e\u597d\uff0c\u534a\u540a\u5b50\u8fd0\u7ef4\u53c8\u51fa\u73b0\u4e86\u3002 \u767b\u5f55\u963f\u91cc\u4e91\u53d1\u73b0\u4e00\u4e2a\u65b0\u7684\u5b89\u5168\u8b66\u544a\u3002 \u4e2d\u5371 PHP &#8216;_gd2GetHe &hellip; <a href=\"http:\/\/www.zhushiyao.com\/?p=52243\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201cPHP &#8216;_gd2GetHeader()&#8217;\u51fd\u6570\u6574\u6570\u6ea2\u51fa\u6f0f\u6d1e\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[1023,157,373],"_links":{"self":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts\/52243"}],"collection":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=52243"}],"version-history":[{"count":4,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts\/52243\/revisions"}],"predecessor-version":[{"id":52247,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts\/52243\/revisions\/52247"}],"wp:attachment":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=52243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=52243"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=52243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}