{"id":234187,"date":"2022-01-20T09:00:16","date_gmt":"2022-01-20T01:00:16","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=234187"},"modified":"2022-01-15T11:16:35","modified_gmt":"2022-01-15T03:16:35","slug":"log4j-java","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/log4j-java.html","title":{"rendered":"\u4ece Log4j \u4e8b\u4ef6\u5f97\u5230\u7684\u6559\u8bad\uff01"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u6700\u8fd1\uff0c\u591a\u6570\u8bfb\u8005\u53ef\u80fd\u5df2\u7ecf\u4e86\u89e3\u5230\u4e86\u4e00\u4e9b\u5173\u4e8e Log4j \u6f0f\u6d1e\u7684\u4fe1\u606f\uff0c\u8fd9\u4e2a\u6f0f\u6d1e\u81ea\u4ece 12 \u6708 9 \u65e5\u62ab\u9732\u51fa\u6765\u4e4b\u540e\uff0c\u4e0d\u65ad\u7ed9\u7cfb\u7edf\u7ba1\u7406\u5458\u589e\u52a0\u70e6\u607c\u3002\u8fd9\u4e2a\u6f0f\u6d1e\u6bd4\u8f83\u5bb9\u6613\u5229\u7528\uff0c\u53ef\u4ee5\u7528\u6765\u8fdb\u884c\u8fdc\u7a0b\u4ee3\u7801\u6267\u884c\uff0c\u800c\u4e14\u6574\u4e2a\u4e92\u8054\u7f51\u4e0a\u7684\u670d\u52a1\u5668\u4e2d\u5230\u5904\u90fd\u6709\u8fd9\u4e2a\u95ee\u9898\u3002\u628a\u5b83\u79f0\u4e3a\u8fd1\u5e74\u6765\u88ab\u62ab\u9732\u7684\u6700\u7cdf\u7cd5\u7684\u6f0f\u6d1e\u4e4b\u4e00\uff0c\u5e76\u4e0d\u7b97\u5938\u5f20\u3002\u4ece\u67d0\u79cd\u610f\u4e49\u4e0a\u6765\u8bf4\uff0c\u4ece Log4j \u4e2d\u5f97\u5230\u7684\u6559\u8bad\u5e76\u6ca1\u6709\u4ec0\u4e48\u65b0\u7684\u5185\u5bb9\uff0c\u4f46\u8fd9\u4e2a\u6f0f\u6d1e\u786e\u5b9e\u8fdb\u4e00\u6b65\u660e\u786e\u5730\u7a81\u51fa\u4e86\u81ea\u7531\u8f6f\u4ef6\u751f\u6001\u7cfb\u7edf\u4e2d\u7684\u4e00\u4e9b\u95ee\u9898\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n \u51fa\u4e86\u4ec0\u4e48\u95ee\u9898\uff1f<\/strong><\/div>\n \u6709\u5f88\u591a\u6587\u7ae0\u8be6\u7ec6\u63cf\u8ff0\u4e86\u8fd9\u4e2a bug<\/span> \u7684\u673a\u5236\uff0c\u4ee5\u53ca\u5982\u4f55\u5229\u7528\uff0c\u5728\u8fd9\u4e2a \u9875\u9762 \u4e0a\u5c31\u6536\u96c6\u4e86\u5f88\u591a\u3002\u7b80\u800c\u8a00\u4e4b\uff1aLog4j™ \u662f\u4e00\u4e2a Java \u65e5\u5fd7\u8f6f\u4ef6\u5305\uff0c\u7531 Apache \u8f6f\u4ef6\u57fa\u91d1\u4f1a\u6ce8\u518c\u4e86\u5546\u6807\u5e76\u8fdb\u884c\u53d1\u5e03\u3002\u5b83\u5df2\u7ecf\u88ab\u5305\u542b\u8fdb\u4e86\u8bb8\u591a\u5176\u4ed6\u9879\u76ee\uff0c\u5728\u4e92\u8054\u7f51\u4e0a\u5230\u5904\u90fd\u53ef\u4ee5\u627e\u5230 Log4j\u3002\u4e8b\u5b9e\u4e0a\uff0c\u6839\u636e\u8fd9\u7bc7 \u6587\u7ae0\uff0cLog4j \u5df2\u7ecf\u88ab\u4e0b\u8f7d\u4e86\u8d85\u8fc7 2800 \u4e07\u6b21\uff08\u4ec5\u4ec5\u7edf\u8ba1\u4e86\u8fc7\u53bb\u56db\u4e2a\u6708\u91cc\u7684\u60c5\u51b5\uff09\u5e76\u4e14\u662f\u5c06\u8fd1 7000 \u4e2a\u5176\u4ed6\u9879\u76ee\u7684\u4f9d\u8d56\u9879\u3002\u56e0\u6b64\uff0cLog4j \u4e2d\u7684\u6f0f\u6d1e\u5f88\u53ef\u80fd\u5c31\u4f1a\u6210\u4e3a\u78b0\u5de7\u4f7f\u7528\u4e86\u5b83\u7684\u90a3\u4e9b\u5176\u4ed6\u7cfb\u7edf\u4e2d\u7684\u6f0f\u6d1e\u3002<\/p>\n \u6b63\u5982 Apache \u8f6f\u4ef6\u57fa\u91d1\u4f1a\u5728 6 \u6708\u4efd\u81ea\u8c6a\u5730\u53d1\u51fa\u7684\u4e00\u6761 \u63a8\u6587 \u6240\u8bf4\uff0c\u5b83\u751a\u81f3\u4e5f\u5b58\u5728\u4e8e\u706b\u661f\u4e0a\u7684\u7075\u5de7\u53f7\u76f4\u5347\u673a\u4e4b\u4e2d\u3002<\/p>\n \u901a\u5e38\u60c5\u51b5\u4e0b\uff0c\u4eba\u4eec\u8ba4\u4e3a\u4e00\u4e2a\u65e5\u5fd7\u5de5\u5177\u5e94\u8be5\u53ea\u662f\u628a\u611f\u5174\u8da3\u7684\u6570\u636e\u63a5\u6536\u4e0b\u6765\u5e76\u53ef\u9760\u5730\u8bb0\u5f55\u4e0b\u6765\u3002Log4j \u4f3c\u4e4e\u505a\u5230\u4e86\u8fd9\u4e00\u70b9\uff0c\u4f46\u5b83\u4e5f\u505a\u4e86\u4e00\u4e9b\u53ef\u4ee5\u8bf4\u662f\u4efb\u4f55\u65e5\u5fd7\u7cfb\u7edf\u90fd\u4e0d\u5e94\u8be5\u505a\u7684\u4e8b\u60c5\uff1a\u5b83\u4e3b\u52a8\u5730\u5bf9\u8981\u8bb0\u5f55\u7684\u6570\u636e\u8fdb\u884c\u89e3\u91ca\u3001\u5e76\u76f8\u5e94\u5730\u91c7\u53d6\u884c\u52a8\u3002\u5b83\u53ef\u4ee5\u505a\u7684\u4e8b\u60c5\u4e4b\u4e00\u5c31\u662f\u67e5\u8be2\u8fdc\u7a0b\u670d\u52a1\u5668\u7684\u6570\u636e\uff0c\u5e76\u5c06\u5176\u7eb3\u5165\u65e5\u5fd7\u4fe1\u606f\u4e2d\u3002\u4f8b\u5982\uff0c\u5b83\u53ef\u4ee5\u4ece LDAP \u670d\u52a1\u5668\u83b7\u53d6\u4fe1\u606f\u5e76\u52a0\u5165\u5230\u65e5\u5fd7\u4e2d\uff0c\u8fd9\u6837\u5728\u4eba\u4eec\u5e0c\u671b\u5728\u65e5\u5fd7\u4e2d\u52a0\u5165\u67d0\u4e2a\u7528\u6237\u7684\u8be6\u7ec6\u8d26\u6237\u4fe1\u606f\u7684\u6570\u636e\u65f6\uff0c\u8fd9\u4e2a\u529f\u80fd\u5c31\u4f1a\u5f88\u6709\u7528\u3002<\/p>\n \u7136\u800c\uff0c\u4e8b\u5b9e\u4e0a\u8fdc\u7a0b\u76ee\u5f55\u670d\u52a1\u5668\u53ef\u4ee5\u63d0\u4f9b\u66f4\u591a\u5f62\u5f0f\u7684\u6570\u636e\uff0c\u6bd4\u5982\u8bf4\u53ef\u4ee5\u63d0\u4f9b\u4e00\u4e2a\u5e8f\u5217\u5316\u5904\u7406serialized<\/span>\u7684 Java \u5bf9\u8c61\uff0c\u88ab\u540e\u7eed\u91cd\u65b0\u7ec4\u88c5\u8d77\u6765\u8fdb\u884c\u6267\u884c\u3002\u8fd9\u5c31\u628a\u8fd9\u4e2a\u529f\u80fd\u53d8\u6210\u4e86\u4e00\u4e2a\u5411\u6b63\u5728\u8fd0\u884c\u7684\u5e94\u7528\u7a0b\u5e8f\u6ce8\u5165\u4ee3\u7801\u7684\u4e00\u79cd\u65b9\u5f0f\uff0c\u800c\u672c\u6765\u8fd9\u4e2a\u65e5\u5fd7\u5de5\u5177\u53ea\u662f\u5e0c\u671b\u8bb0\u5f55\u4e00\u4e9b\u6570\u636e\u800c\u5df2\u3002\u4e3a\u4e86\u5229\u7528\u8fd9\u4e2a\u6f0f\u6d1e\uff0c\u653b\u51fb\u8005\u9700\u8981\u505a\u4e24\u4ef6\u4e8b\uff1a<\/p>\n \u67b6\u8bbe\u4e00\u4e2a\u7cbe\u5fc3\u6784\u5efa\u597d\u7684\u8fd0\u884c\u76f8\u5173\u534f\u8bae\u7684\u670d\u52a1\u5668\uff0c\u786e\u4fdd\u88ab\u653b\u51fb\u7684\u76ee\u6807\u7cfb\u7edf\u80fd\u8bbf\u95ee\u5230\u8fd9\u4e2a\u670d\u52a1\u5668\u3002LDAP \u4f3c\u4e4e\u662f\u76ee\u524d\u7684\u653b\u51fb\u9996\u9009\u534f\u8bae\uff0c\u4f46\u5176\u4ed6\u534f\u8bae\u4e5f\u540c\u6837\u53ef\u80fd\u53d7\u5230\u653b\u51fb\u3002\u5bf9 LWN \u670d\u52a1\u5668\u7684\u65e5\u5fd7\u8fdb\u884c\u7b5b\u9009\u540e\uff0c\u5c31\u770b\u5230\u4e5f\u6709\u5c1d\u8bd5\u5229\u7528 DNS \u534f\u8bae\u7684\u3002<\/p>\n \u8bf4\u670d\u8981\u653b\u51fb\u7684\u76ee\u6807\u7cfb\u7edf\u6765\u8bb0\u5f55\u4e00\u4e2a\u7531\u653b\u51fb\u8005\u63d0\u4f9b\u7684\u5305\u542b\u7279\u6b8a\u201c\u5492\u8bed\u201d\u7684\u5b57\u7b26\u4e32\uff0c\u8fd9\u6837\u5c31\u80fd\u4ece\u6076\u610f\u670d\u52a1\u5668\u4e2d\u52a0\u8f7d\u548c\u6267\u884c\u5bf9\u8c61\u4e86\u3002<\/p>\n \u4e0a\u9762\u7684\u7b2c\u4e8c\u6b65\u770b\u8d77\u6765\u56f0\u96be\uff0c\u5176\u5b9e\u5f88\u5bb9\u6613\u3002\u8bb8\u591a\u7cfb\u7edf\u90fd\u4f1a\u4e50\u610f\u8bb0\u5f55\u7528\u6237\u6240\u63d0\u4f9b\u7684\u6570\u636e\u3002\u8fd9\u4e9b\u6076\u610f\u5b57\u7b26\u4e32\u53ef\u80fd\u662f\u4f2a\u88c5\u6210\u6700\u7ec8\u4f1a\u51fa\u73b0\u5728\u65e5\u5fd7\u4e2d\u7684\u7528\u6237\u540d\uff0c\u800c\u53e6\u4e00\u4e2a\u6d41\u884c\u7684\u9009\u62e9\u662f\u4f2a\u88c5\u6210\u6d4f\u89c8\u5668\u7684\u7528\u6237\u4ee3\u7406\u5b57\u7b26\u4e32\u3002\u4e00\u65e6\u76ee\u6807\u4e0a\u94a9\uff0c\u8bb0\u5f55\u4e86\u6076\u610f\u5b57\u7b26\u4e32\uff0c\u6e38\u620f\u5c31\u7ed3\u675f\u4e86\u3002<\/p>\n \u6362\u53e5\u8bdd\u8bf4\uff0c\u8fd9\u662f\u4e00\u4e2a\u5bf9\u6765\u81ea\u4e92\u8054\u7f51\u6240\u63d0\u4f9b\u7684\u672a\u7ecf\u6e05\u7406\u7684\u6570\u636e\u76f4\u63a5\u4f7f\u7528\u7684\u5178\u578b\u6848\u4f8b\uff0c\u540e\u679c\u53ef\u60f3\u800c\u77e5\u3002\u5728\u4efb\u4f55\u4e00\u4e2a\u6b63\u5e38\u5ba1\u67e5\u8fc7\u7a0b\u4e2d\u90fd\u5e94\u8be5\u53d1\u73b0\u8fd9\u4e2a\u95ee\u9898\u3002\u8bf7\u6ce8\u610f\uff0c\u6076\u610f\u5b57\u7b26\u4e32\u4e5f\u53ef\u4ee5\u662f\u7531\u524d\u7aef\u8f6f\u4ef6\u4f20\u9012\u7ed9\u5185\u90e8\u7cfb\u7edf\u7684\uff0c\u7136\u540e\u5185\u90e8\u7cfb\u7edf\u53ef\u80fd\u51b3\u5b9a\u8981\u4e0d\u8981\u8bb0\u5f55\u3002\u6362\u53e5\u8bdd\u8bf4\uff0c\u4ec5\u4ec5\u662f\u4e0d\u76f4\u63a5\u66b4\u9732\u5728\u4e92\u8054\u7f51\u4e0a\uff0c\u5e76\u4e0d\u4e00\u5b9a\u5c31\u80fd\u5bf9\u8fd9\u4e2a\u8106\u5f31\u7684\u7cfb\u7edf\u5b9e\u73b0\u5145\u5206\u7684\u9632\u5fa1\u3002\u6bcf\u4e00\u4e2a\u4f7f\u7528 Log4j \u7684\u7cfb\u7edf\u90fd\u9700\u8981\u8fdb\u884c\u4fee\u590d\uff0c\u8981\u4e48\u5347\u7ea7\uff0c\u8981\u4e48\u5c31\u91c7\u7528\u4e0a\u9762\u94fe\u63a5\u4e2d\u63d0\u4f9b\u7684\u6587\u7ae0\u4e2d\u6240\u8bf4\u7684\u67d0\u79cd\u5176\u4ed6\u7f13\u89e3\u63aa\u65bd\u3002\u8bf7\u6ce8\u610f\uff0c\u6700\u521d\u7684\u4fee\u590d\u63aa\u65bd\u5df2\u88ab\u8bc1\u660e\u4e0d\u8db3\u4ee5\u89e3\u51b3 Log4j \u7684\u6240\u6709\u95ee\u9898\uff0c\u7528\u6237\u9700\u8981 \u4e0d\u65ad\u4fdd\u6301\u8fd9\u4e2a\u5de5\u5177\u7684\u6700\u65b0\u66f4\u65b0\u3002<\/p>\n \u5bf9\u8fd9\u4e2a\u6f0f\u6d1e\u7684\u54cd\u5e94\u662f\u8fc5\u901f\u800c\u4e14\u5f3a\u70c8\u3002\u4e00\u4e9b\u8bc4\u8bba\u5bb6\u65ad\u8a00\u201c\u5f00\u6e90\u5df2\u88ab\u6253\u7834\u201d\u3002\u4e4b\u524d\u5982\u679c\u6ca1\u6709\u770b\u8fc7 xkcd #2347 \u7684\u8bdd\uff0c\u73b0\u5728\u78b0\u5230\u7684\u5176\u5b9e\u5c31\u662f\u8fd9\u79cd\u60c5\u51b5\u3002\u6211\u4eec\u7684\u793e\u533a\u662f\u5426\u50cf\u67d0\u4e9b\u4eba\u6240\u8bf4\u7684\u90a3\u6837\u51fa\u73b0\u4e86\u4e25\u91cd\u7684\u95ee\u9898\uff1f\u7b80\u800c\u8a00\u4e4b\uff0c\u8fd9\u4e00\u5e55\u4e4b\u4e2d\u4f3c\u4e4e\u5c55\u793a\u4e86\u5f00\u6e90\u9879\u76ee\u7684\u4e24\u4e2a\u5e7f\u4e3a\u4eba\u77e5\u7684\u7f3a\u70b9\uff0c\u5206\u522b\u8ddf\u4f9d\u8d56\u6027\u548c\u7ef4\u62a4\u8005\u6709\u5173\u3002 \u5728\u81ea\u7531\u8f6f\u4ef6\u7684\u65e9\u671f\uff0c\u6839\u672c\u5c31\u6ca1\u6709\u4ec0\u4e48\u81ea\u7531\u4ee3\u7801free code\uff0c\u6240\u4ee5\u51e0\u4e4e\u6240\u6709\u5185\u5bb9\u90fd\u8981\u4ece\u96f6\u5f00\u59cb\u5199\u3002\u56e0\u6b64\uff0c\u5728\u90a3\u4e2a\u65f6\u5019\uff0c\u51e0\u4e4e\u6ca1\u6709\u4ec0\u4e48\uff08\u8106\u5f31\u7684\uff09\u8f6f\u4ef6\u5305\u53ef\u4f9b\u4eba\u4eec\u514d\u8d39\u4e0b\u8f7d\u548c\u4f7f\u7528\uff0c\u6240\u4ee5\u6bcf\u4e2a\u9879\u76ee\u7684\u5b89\u5168\u6f0f\u6d1e\u90fd\u662f\u81ea\u5df1\u5199\u51fa\u6765\u7684\u3002\u793e\u533a\u5c31\u9762\u4e34\u8fd9\u4e00\u6311\u6218\uff0c\u5373\u4f7f\u5728\u8fc7\u53bb\u90a3\u4e9b\u4eba\u4eec\u90fd\u6bd4\u8f83\u5355\u7eaf\u7684\u65e5\u5b50\u91cc\uff0c\u4e5f\u7ecf\u5e38\u770b\u5230\u5b89\u5168\u95ee\u9898\u3002<\/p>\n \u6211\u5728\u8fd9\u4e00\u9886\u57df\u6d78\u6deb\u7684\u65f6\u95f4\u6709\u591a\u957f\uff08\u6bd4\u6211\u613f\u610f\u627f\u8ba4\u7684\u65f6\u95f4\u8fd8\u8981\u957f\uff09\uff0c\u90a3\u4e48\u5f00\u53d1\u8005\u548c\u5b66\u672f\u754c\u8c08\u8bba\u53ef\u91cd\u7528\u8f6f\u4ef6\u7684\u597d\u5904\u5c31\u6709\u591a\u4e45\u3002\u591a\u5e74\u6765\uff0c\u4eba\u4eec\u7684\u8fd9\u4e2a\u68a6\u60f3\u786e\u5b9e\u5df2\u7ecf\u5b9e\u73b0\u4e86\u3002\u8bb8\u591a\u8bed\u8a00\u7684\u793e\u533a\u5df2\u7ecf\u4e3a\u5404\u79cd\u5e38\u89c1\u7684\uff08\u548c\u4e0d\u5e38\u89c1\u7684\uff09\u5de5\u4f5c\u79ef\u7d2f\u4e86\u5927\u91cf\u7684\u6a21\u5757\u3002\u7f16\u5199\u7a0b\u5e8f\u5f80\u5f80\u53ea\u662f\u9700\u8981\u627e\u5230\u6b63\u786e\u7684\u6a21\u5757\u5e76\u5c06\u5b83\u4eec\u6b63\u786e\u5730\u7ec4\u5408\u5728\u4e00\u8d77\u3002\u7528\u6765\u4ece\u6a21\u5757\u5e93\u81ea\u52a8\u4e0b\u8f7d\u7684\u8fd9\u4e9b\u63a5\u53e3\uff0c\u4f7f\u5f97\u83b7\u53d6\u6240\u9700\u6a21\u5757\uff08\u4ee5\u53ca\u5b83\u4eec\u8fdb\u4e00\u6b65\u6240\u4f9d\u8d56\u7684\u6a21\u5757\uff09\u7684\u8fc7\u7a0b\u90fd\u81ea\u52a8\u5316\u4e86\u3002\u5bf9\u4e8e\u6211\u4eec\u8fd9\u4e9b\u5f88\u4e45\u4ee5\u524d\u5c31\u4e60\u60ef\u4e86\u4e0d\u65ad\u91cd\u590d\u8fd0\u884c .\/configure \u7136\u540e\u624b\u52a8\u5b89\u88c5\u4e0b\u4e00\u4e2a\u5c1a\u672a\u5c31\u7eea\u7684\u4f9d\u8d56\u6a21\u5757\u7684\u4eba\u6765\u8bf4\uff0c\u73b0\u4ee3\u5316\u7684\u5f00\u53d1\u73af\u5883\u7b80\u76f4\u5c31\u662f\u5bf9\u6211\u4eec\u8fc7\u53bb\u505a\u6cd5\u7684\u78be\u538b\u3002\u5f53\u521d\u6211\u4eec\u7684\u56f0\u96be\uff0c\u73b0\u5728\u5df2\u7ecf\u4e0d\u590d\u5b58\u5728\u4e86\u3002<\/p>\n \u8fd9\u5bf9\u6211\u4eec\u7684\u793e\u533a\u6765\u8bf4\u662f\u4e00\u4e2a\u5de8\u5927\u7684\u6210\u5c31\u3002\u6211\u4eec\u5df2\u7ecf\u521b\u9020\u4e86\u53ef\u4ee5\u5728\u5176\u4e2d\u5feb\u4e50\u5de5\u4f5c\u7684\u5f00\u53d1\u73af\u5883\uff0c\u5b83\u5141\u8bb8\u6211\u4eec\u4ee5\u51e0\u5341\u5e74\u524d\u5b8c\u5168\u65e0\u6cd5\u60f3\u8c61\u5230\u7684\u751f\u4ea7\u529b\u6c34\u5e73\u6765\u7ee7\u7eed\u5de5\u4f5c\u3002\u4f46\u662f\uff0c\u8fd9\u91cc\u6f5c\u4f0f\u7740\u4e00\u4e2a\u95ee\u9898\uff1a\u8fd9\u79cd\u7ed3\u6784\u4f7f\u5f97\u9879\u76ee\u5f88\u5bb9\u6613\u79ef\u7d2f\u5bf9\u5916\u90e8\u6a21\u5757\u7684\u4f9d\u8d56\uff0c\u800c\u6bcf\u4e2a\u6a21\u5757\u90fd\u53ef\u80fd\u5e26\u6765\u4e00\u4e9b\u81ea\u8eab\u7684\u98ce\u9669\u3002\u4e8b\u5b9e\u4e0a\u4f60\u662f\u5728\u5c06\u4e92\u8054\u7f51\u4e0a\u7684\u4e00\u6bb5\u968f\u673a\u4ee3\u7801\u76f4\u63a5\u5bfc\u5165\u5230\u4f60\u81ea\u5df1\u7684\u7a0b\u5e8f\u4e4b\u4e2d\uff0c\u8fd9\u53ef\u80fd\u4f1a\u51fa\u73b0\u5f88\u591a\u79cd\u540e\u679c\u3002\u4e5f\u8bb8\u5176\u4e2d\u7684\u67d0\u4e2a\u6a21\u5757\u53ef\u80fd\u5e72\u8106\u5c31\u662f\u4e00\u4e2a\u516c\u5f00\u7528\u6765\u8fdb\u884c\u6076\u610f\u653b\u51fb\u7684\u6a21\u5757\uff08\u5c31\u50cf event-stream \u4e8b\u4ef6\uff09\uff0c\u4e5f\u8bb8\u8fd9\u4e2a\u6a21\u5757\u5c31\u662f\u76f4\u63a5\u6d88\u5931\u4e86\uff08left-pad \u6848\u4f8b\uff09\uff0c\u6216\u8005\u5b83\u4ec5\u4ec5\u662f\u4e0d\u518d\u53d7\u5230\u91cd\u89c6\u548c\u7ef4\u62a4\u4e86\uff0c\u5c31\u50cf Log4j \u8fd9\u6b21\u7684\u60c5\u51b5\u3002<\/p>\n \u5f53\u4e00\u4e2a\u4eba\u6240\u4f7f\u7528\u7684\u4e1c\u897f\u975e\u5e38\u91cd\u89c6\u8d28\u91cf\u65f6\uff0c\u4eba\u4eec\u5f80\u5f80\u4f1a\u53bb\u4f7f\u7528\u5df2\u77e5\u7684\u54c1\u724c\u3002Log4j \u662f\u5728 Apache \u8f6f\u4ef6\u57fa\u91d1\u4f1a\u7684\u54c1\u724c\u4e0b\u5f00\u53d1\u7684\uff0c\u56e0\u6b64\u4eba\u4eec\u8ba4\u4e3a\u8fd9\u80fd\u4ee3\u8868\u7740\u5b83\u6709\u7740\u5f88\u597d\u7684\u8d28\u91cf\uff0c\u5e76\u4e14\u4e5f\u5728\u79ef\u6781\u7ef4\u62a4\u4e4b\u4e2d\u3002\u4e0d\u8fc7\uff0c\u5916\u8868\u7ecf\u5e38\u662f\u53ef\u4ee5\u6b3a\u9a97\u4eba\u7684\u3002\u6211\u4eec\u90fd\u4e0d\u7528\u63d0 Apache OpenOffice<\/span>\uff0c\u5b83\u4e00\u76f4\u5728\u6301\u7eed\u88ab\u4eba\u4eec\u4e0b\u8f7d\u548c\u4f7f\u7528\uff0c\u5c3d\u7ba1\u591a\u5e74\u6765\u51e0\u4e4e\u5b8c\u5168\u6ca1\u6709\u9488\u5bf9\u5b83\u6240\u8fdb\u884c\u7684 \u5f00\u53d1\u5de5\u4f5c\u4e86\u3002\u4e0d\u8fc7\uff0cOpenOffice \u7684\u7528\u6237\u5f88\u6b23\u6170\u5730\u83b7\u6089\uff08\u6839\u636e\u8be5\u9879\u76ee 2021 \u5e74 10 \u6708\u7684 \u62a5\u544a\uff09OpenOffice \u7ec8\u4e8e\u63d0\u51fa\u4e86\u65b0\u7684\u4f7f\u547d\u7684\u5ba3\u8a00\u8349\u6848\u3002Log4j \u6bd4\u5b83\u8fd8\u662f\u8981\u66f4\u6d3b\u8dc3\u4e00\u4e9b\uff0c\u4f46\u5b83\u4ecd\u7136\u662f\u4f9d\u8d56\u4e8e\u65e0\u507f\u5de5\u4f5c\u7684\u7ef4\u62a4\u8005\u7684\u4e2a\u4eba\u7a7a\u95f2\u65f6\u95f4\u7684\u5de5\u4f5c\u3002\u65e0\u8bba\u662f\u5426\u6709 Apache \u54c1\u724c\uff0c\u8fd9\u4e2a\u88ab\u5e7f\u6cdb\u4f9d\u8d56\u7684\u9879\u76ee\u90fd\u6ca1\u6709\u4eba\u4ed8\u8d39\u6765\u652f\u6301\u7ef4\u62a4\u5de5\u4f5c\u3002<\/p>\n \u4f46\u662f\uff0c\u54ea\u6015\u4eca\u540e\u54c1\u724c\u771f\u7684\u80fd\u4ee3\u8868\u7740\u66f4\u9ad8\u7684\u53ef\u9760\u6027\uff0c\u53ef\u662f\u5f88\u96be\u5728\u62e5\u6709\u6570\u767e\u4e2a\u4f9d\u8d56\u5e93\u4e4b\u540e\u4ecd\u7136\u4fdd\u6301\u7a33\u5b9a\u3002\u4e00\u4e2a\u4f9d\u8d56\u5e93\uff0c\u5728\u88ab\u91c7\u7528\u65f6\u53ef\u80fd\u770b\u8d77\u6765\u5f88\u7a33\u56fa\u3001\u7ef4\u62a4\u5f97\u5f88\u597d\uff0c\u4f46\u662f\u5728\u4e00\u4e24\u5e74\u540e\u770b\u8d77\u6765\u5c31\u4e0d\u90a3\u4e48\u5438\u5f15\u4eba\u4e86\u3002\u4f46\u662f\u8fd9\u4e9b\u7f3a\u4e4f\u826f\u597d\u7ef4\u62a4\u7684\u9879\u76ee\u5f80\u5f80\u4e0d\u4f1a\u5f15\u8d77\u4eba\u4eec\u7684\u6ce8\u610f\uff0c\u76f4\u5230\u51fa\u4e86\u4e25\u91cd\u7684\u95ee\u9898\u624d\u4e3a\u4eba\u6240\u77e5\u3002\u8fd9\u79cd\u9879\u76ee\u7684\u7528\u6237\u53ef\u80fd\u4e0d\u4f1a\u610f\u8bc6\u5230\u98ce\u9669\u5728\u589e\u52a0\uff0c\u76f4\u5230\u6700\u7ec8\u53d1\u751f\u95ee\u9898\u65f6\u624d\u77e5\u9053\uff0c\u5df2\u7ecf\u4e3a\u65f6\u5df2\u665a\u4e86\u3002\u6211\u4eec\u7684\u5de5\u5177\u4f7f\u5f97\u6dfb\u52a0\u4f9d\u8d56\u5173\u7cfb\u53d8\u5f97\u5f88\u5bb9\u6613\uff08\u751a\u81f3\u6211\u4eec\u53ef\u80fd\u90fd\u6ca1\u6709\u610f\u8bc6\u5230\u6709\u8fd9\u4e9b\u4f9d\u8d56\uff09\uff1b\u4f46\u5728\u8bc4\u4f30\u73b0\u6709\u7684\u4f9d\u8d56\u6a21\u5757\u7684\u5f53\u524d\u7ef4\u62a4\u72b6\u6001\u662f\u5426\u826f\u597d\u8fd9\u4e2a\u65b9\u9762\uff0c\u5de5\u5177\u5374\u6ca1\u6709\u63d0\u4f9b\u591a\u5927\u7684\u5e2e\u52a9\u3002<\/p>\n \u8fd8\u6709\u4e00\u4e2a\u76f8\u5173\u7684\u95ee\u9898\uff0c\u5c31\u662f\u5bf9\u8fd9\u4e9b\u4eba\u4eec\u6240\u4e25\u91cd\u4f9d\u8d56\u7684\u9879\u76ee\u7684\u5f00\u53d1\u548c\u7ef4\u62a4\u5de5\u4f5c\u7f3a\u4e4f\u652f\u6301\u3002\u8fc7\u53bb\u5e38\u8bf4\u7684\u81ea\u7531\u8f6f\u4ef6\u548c\u81ea\u7531\u5c0f\u72d7free software and a free puppy\u4e4b\u95f4\u7684\u6bd4\u8f83\u4ecd\u7136\u662f\u6b63\u786e\u7684\uff1a\u5c0f\u72d7\u5f53\u7136\u5f88\u597d\uff0c\u4f46\u5982\u679c\u6709\u4eba\u4e0d\u6ce8\u610f\u7684\u8bdd\uff0c\u5b83\u4eec\u80af\u5b9a\u4f1a\u5728\u5730\u6bef\u4e0a\u6492\u5c3f\u3001\u54ac\u574f\u4f60\u7684\u978b\u5b50\u3002\u5f88\u5bb9\u6613\u5c31\u80fd\u5229\u7528\u81ea\u7531\u8f6f\u4ef6\u7684\u514d\u8d39\u7684\u7279\u6027\uff0c\u6765\u52a0\u5165\u5927\u91cf\u529f\u80fd\u5f3a\u5927\u7684\u4ee3\u7801\uff0c\u4f46\u6bcf\u4e00\u4e2a\u4f9d\u8d56\u9879\u5176\u5b9e\u90fd\u662f\u4e00\u53ea\u5c0f\u72d7\uff0c\u9700\u8981\u6709\u4eba\u770b\u7ba1\u3002<\/p>\n \u4f5c\u4e3a\u4e00\u4e2a\u793e\u533a\u6765\u8bf4\uff0c\u6211\u4eec\u83b7\u53d6\u5c0f\u72d7\u7684\u80fd\u529b\u8fdc\u6bd4\u8bad\u7ec3\u5b83\u4eec\u7684\u80fd\u529b\u8981\u5f3a\u3002\u5404\u4e2a\u5546\u4e1a\u516c\u53f8\u603b\u4f1a\u5f88\u9ad8\u5174\u5730\u628a\u6211\u4eec\u6240\u63d0\u4f9b\u7684\u8f6f\u4ef6\u6536\u4e0b\u6765\uff0c\u4f46\u662f\u5374\u4e0d\u89c9\u5f97\u6709\u5fc5\u8981\u5bf9\u4ed6\u4eec\u7cfb\u7edf\u4e2d\u6700\u5173\u952e\u7684\u7ec4\u4ef6\u7ed9\u51fa\u4e00\u4e9b\u8d21\u732e\u548c\u652f\u6301\u3002\u4e8b\u5b9e\u4e0a\uff0c\u6211\u4eec\u90fd\u662f\u8fd9\u6837\u505a\u7684\uff0c\u6ca1\u6709\u4eba\u53ef\u4ee5\u5bf9\u4ed6\u4eec\u6240\u4f9d\u8d56\u7684\u6bcf\u4e00\u4e2a\u9879\u76ee\u90fd\u7ed9\u51fa\u652f\u6301\u3002\u6211\u4eec\u4ece\u81ea\u7531\u8f6f\u4ef6\u4e2d\u5f97\u5230\u7684\u4e1c\u897f\u8fdc\u8fdc\u591a\u4e8e\u6211\u4eec\u53ef\u80fd\u6295\u5165\u7684\u4e1c\u897f\uff0c\u8fd9\u5f53\u7136\u662f\u4e00\u4ef6\u597d\u4e8b\u3002<\/p>\n \u5c3d\u7ba1\u5982\u6b64\uff0c\u5728\u6211\u4eec\u7684\u751f\u6001\u7cfb\u7edf\u4e2d\u7684\u4f01\u4e1a\u4e00\u65b9\u4e8b\u5b9e\u4e0a\u4e5f\u4e0d\u5e94\u8be5\u8fd9\u4e48\u5feb\u5c31\u628a\u81ea\u7531\u8f6f\u4ef6\u7684\u8fd9\u4e9b\u597d\u5904\u89c6\u4e3a\u7406\u6240\u5f53\u7136\u7684\u3002\u5982\u679c\u4e00\u4e2a\u516c\u53f8\u5728\u81ea\u7531\u8f6f\u4ef6\u7684\u57fa\u7840\u4e0a\u5efa\u7acb\u4e86\u4e00\u4e2a\u91cd\u8981\u7684\u4ea7\u54c1\u6216\u670d\u52a1\uff0c\u90a3\u4e48\u8be5\u516c\u53f8\u5c31\u5e94\u8be5\u786e\u4fdd\u8be5\u8f6f\u4ef6\u5f97\u5230\u4e86\u826f\u597d\u7684\u652f\u6301\uff0c\u5728\u6709\u5fc5\u8981\u7684\u65f6\u5019\u5c31\u5e94\u8be5\u7ad9\u51fa\u6765\u4f7f\u4e4b\u6210\u4e3a\u73b0\u5b9e\u3002\u4e00\u822c\u6765\u8bf4\uff0c\u8fd9\u6837\u505a\u603b\u662f\u6b63\u786e\u7684\u505a\u6cd5\uff0c\u4f46\u8fd9\u8fdc\u8fdc\u4e0d\u662f\u4e00\u79cd\u5229\u4ed6\u4e3b\u4e49altruistic act\u7684\u884c\u4e3a\u3002\u5426\u5219\u7684\u8bdd\uff0c\u5c31\u4f1a\u4e0d\u65ad\u5730\u51fa\u73b0\u7c7b\u4f3c Log4j \u8fd9\u6837\u7684\u5371\u673a\u3002\u6b63\u5982\u76ee\u524d\u8bb8\u591a\u516c\u53f8\u90fd\u610f\u8bc6\u5230\u7684\uff0c\u8fd9\u79cd\u5371\u673a\u90fd\u4f1a\u4ed8\u51fa\u6602\u8d35\u7684\u4ee3\u4ef7\u3002<\/p>\n \u201c\u7ad9\u51fa\u6765\u201d \u5c31\u610f\u5473\u7740\u50cf\u652f\u6301\u5f00\u53d1\u8005\u4e00\u6837\u652f\u6301\u7ef4\u62a4\u8005\u3002\u6700\u4e25\u91cd\u7684\u95ee\u9898\u5f80\u5f80\u51fa\u5728\u7ef4\u62a4\u8005\u8fd9\u4e00\u8fb9\u3002\u5373\u4f7f\u662f\u50cf Linux \u5185\u6838\u8fd9\u6837\u7684\u9879\u76ee\uff0c\u6709\u6210\u5343\u4e0a\u4e07\u7684\u5f00\u53d1\u4eba\u5458\u6b63\u5728\u4e3a\u4ed6\u4eec\u6240\u505a\u7684\u5de5\u4f5c\u800c\u83b7\u5f97\u62a5\u916c\uff0c\u4f46\u5374 \u5f88\u96be\u627e\u5230\u5bf9\u7ef4\u62a4\u8005\u7684\u652f\u6301\u3002\u516c\u53f8\u6700\u597d\u7684\u89c2\u70b9\u4e5f\u662f\u8ba4\u4e3a\u7ef4\u62a4\u8005\u7684\u5de5\u4f5c\u5c31\u662f\u4e00\u4e9b\u5f00\u9500\uff1b\u6700\u574f\u7684\u89c2\u70b9\u662f\u8ba4\u4e3a\u652f\u6301\u7ef4\u62a4\u8005\u5c31\u662f\u5728\u5e2e\u52a9\u7ade\u4e89\u5bf9\u624b\uff1b\u800c\u901a\u5e38\u7684\u89c2\u70b9\u6765\u8bf4\u90fd\u8ba4\u4e3a\u8fd9\u662f\u522b\u4eba\u7684\u8d23\u4efb\u3002\u5f88\u5c11\u6709\u516c\u53f8\u4f1a\u5bf9\u4ed6\u4eec\u7684\u5458\u5de5\u62c5\u4efb\u7ef4\u62a4\u8005\u8fd9\u4e2a\u5de5\u4f5c\u7ed9\u51fa\u5956\u52b1\uff0c\u6240\u4ee5\u4ed6\u4eec\u4e2d\u7684\u8bb8\u591a\u4eba\u6700\u7ec8\u90fd\u662f\u5728\u7528\u81ea\u5df1\u7684\u65f6\u95f4\u6765\u505a\u8fd9\u4e9b\u5de5\u4f5c\u3002\u800c\u5de5\u4f5c\u7684\u6210\u679c\u4e5f\u8bb8\u4f1a\u6709\u6570\u767e\u4e07\u6b21\u4e0b\u8f7d\uff0c\u800c\u8fd9\u4e2a\u7ef4\u62a4\u5de5\u4f5c\u5176\u5b9e\u662f\u5728\u67d0\u4eba\u7684\u7a7a\u95f2\u65f6\u95f4\u5185\u5b8c\u6210\u7684\uff08\u5982\u679c\u5b83\u771f\u7684\u5b8c\u6210\u4e86\u7684\u8bdd\uff09\u3002<\/p>\n \u8fd9\u4e9b\u95ee\u9898\u5e76\u4e0d\u662f\u81ea\u7531\u8f6f\u4ef6\u6240\u7279\u6709\u7684\u3002\u4e5f\u4e0d\u662f\u6ca1\u6709\u8fc7\u53d1\u73b0\u67d0\u4e2a\u4e13\u6709\u8f6f\u4ef6\u5e76\u4e0d\u50cf\u6240\u5ba3\u79f0\u7684\u90a3\u6837\u5f97\u5230\u5f88\u597d\u7684\u652f\u6301\u3002\u81ea\u7531\u8f6f\u4ef6\uff0c\u81f3\u5c11\uff0c\u5373\u4f7f\u662f\u5728\u5176\u521b\u9020\u8005\u5e76\u4e0d\u914d\u5408\u7684\u60c5\u51b5\u4e0b\uff0c\u4e5f\u53ef\u4ee5\u5f97\u5230\u4fee\u590d\u3002\u4f46\u662f\uff0c\u6211\u4eec\u793e\u533a\u521b\u9020\u7684\u5927\u91cf\u8f6f\u4ef6\u4f7f\u5176\u4e2d\u7684\u4e00\u4e9b\u95ee\u9898\u53d8\u5f97\u66f4\u7cdf\u7cd5\u3002\u6709\u5927\u91cf\u7684\u4ee3\u7801\u9700\u8981\u7ef4\u62a4\uff0c\u800c\u8bb8\u591a\u7528\u6237\u5374\u6ca1\u6709\u52a8\u529b\u53bb\u5e2e\u52a9\u5b9e\u73b0\u8fd9\u4e00\u76ee\u6807\u3002\u6211\u4eec\u5927\u6982\u4f1a\u5728\u672a\u6765\u67d0\u4e2a\u65f6\u95f4\u70b9\u80fd\u5904\u7406\u597d\u8fd9\u4e9b\u95ee\u9898\uff0c\u4f46\u73b0\u5728\u8fd8\u5b8c\u5168\u4e0d\u6e05\u695a\u8be5\u5982\u4f55\u5904\u7406\u3002\u5728\u8fd9\u4e4b\u524d\uff0c\u6211\u4eec\u53ea\u80fd\u5c06\u7ee7\u7eed\u5411\u706b\u661f\uff08\u4ee5\u53ca\u66f4\u8fdc\u7684\u5730\u65b9\uff09\u90e8\u7f72\u90a3\u4e9b\u7f3a\u4e4f\u652f\u6301\u7684\u8f6f\u4ef6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" \u6709\u5f88\u591a\u6587\u7ae0\u8be6\u7ec6\u63cf\u8ff0\u4e86\u8fd9\u4e2a \u7684\u673a\u5236\uff0c\u4ee5\u53ca\u5982\u4f55\u5229\u7528\uff0c\u5728\u8fd9\u4e2a \u9875\u9762 \u4e0a\u5c31\u6536\u96c6\u4e86\u5f88\u591a\u3002\u7b80\u800c\u8a00\u4e4b\uff1aLog4jȒ […]<\/p>\n","protected":false},"author":1890,"featured_media":234189,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-234187","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/234187","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1890"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=234187"}],"version-history":[{"count":2,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/234187\/revisions"}],"predecessor-version":[{"id":234359,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/234187\/revisions\/234359"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/234189"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=234187"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=234187"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=234187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}} |