{"id":135724,"date":"2024-07-23T03:00:38","date_gmt":"2024-07-23T10:00:38","guid":{"rendered":"https:\/\/unit42.paloaltonetworks.com\/?p=135724"},"modified":"2024-07-24T04:17:27","modified_gmt":"2024-07-24T11:17:27","slug":"langchain-vulnerabilities","status":"publish","type":"post","link":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/langchain-vulnerabilities\/","title":{"rendered":"LangChain \u306e\u751f\u6210 AI \u306b\u304a\u3051\u308b\u8106\u5f31\u6027 (CVE-2023-46229\u3001CVE-2023-44467)"},"content":{"rendered":"<h2><a id=\"post-135724-_osycsjumou2a\"><\/a><strong>\u6982\u8981<\/strong><\/h2>\n<p>\u30d1\u30ed\u30a2\u30eb\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30b9\u306e\u30ea\u30b5\u30fc\u30c1\u30e3\u30fc\u306f GitHub \u3067 81,000 \u500b\u4ee5\u4e0a\u306e\u30b9\u30bf\u30fc\u3092\u7372\u5f97\u3057\u3066\u3044\u308b\u4eba\u6c17\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u751f\u6210 AI \u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af LangChain \u306b\u304a\u3051\u308b 2 \u3064\u306e\u8106\u5f31\u6027\u3092\u7279\u5b9a\u3057\u307e\u3057\u305f\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/nvd.nist.gov\/vuln\/detail\/CVE-2023-46229\" target=\"_blank\" rel=\"noopener\">CVE-2023-46229<\/a><\/li>\n<li><a href=\"https:\/\/nvd.nist.gov\/vuln\/detail\/CVE-2023-44467\" target=\"_blank\" rel=\"noopener\">CVE-2023-44467<\/a> (LangChain Experimental)<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.langchain.com\/langchain\" target=\"_blank\" rel=\"noopener\">LangChain \u306e Web \u30b5\u30a4\u30c8\u3067\u306f\u3001<\/a>\u306f\u300c100 \u4e07\u4eba\u4ee5\u4e0a\u306e\u958b\u767a\u8005\u304c LLM \u30a2\u30d7\u30ea\u306e\u958b\u767a\u306b LangChain \u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u4f7f\u3063\u3066\u3044\u308b\u300d\u3068\u8ff0\u3079\u3089\u308c\u3066\u3044\u307e\u3059\u3002LangChain \u306e\u30d1\u30fc\u30c8\u30ca\u30fc \u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u306f\u3001\u30af\u30e9\u30a6\u30c9\u3001AI\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306a\u3069\u306e\u6280\u8853\u958b\u767a\u5927\u624b\u4f01\u696d\u304c\u591a\u6570\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3089 2 \u3064\u306e\u8106\u5f31\u6027\u306f\u305d\u308c\u305e\u308c\u3001\u653b\u6483\u8005\u306b\u4efb\u610f\u306e\u30b3\u30fc\u30c9\u5b9f\u884c\u3092\u8a31\u53ef\u3059\u308b\u3082\u306e\u3068\u3001\u6a5f\u5fae\u30c7\u30fc\u30bf\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u8a31\u53ef\u3059\u308b\u3082\u306e\u3067\u3057\u305f\u3002LangChain \u306f\u305d\u306e\u5f8c\u3001\u3053\u308c\u3089\u306e\u8106\u5f31\u6027\u3092\u89e3\u6c7a\u3059\u308b\u30d1\u30c3\u30c1\u3092\u30ea\u30ea\u30fc\u30b9\u3057\u3066\u3044\u307e\u3059\u3002\u672c\u7a3f\u306f\u3001\u3053\u308c\u3089\u306e\u8106\u5f31\u6027\u3092\u3081\u3050\u308a\u6280\u8853\u7684\u306b\u691c\u8a0e\u3059\u3079\u304d\u70b9\u3092\u5305\u62ec\u7684\u306b\u63d0\u4f9b\u3057\u3001\u5c06\u6765\u540c\u69d8\u306e\u8105\u5a01\u3092\u7de9\u548c\u3059\u308b\u305f\u3081\u306e\u30ac\u30a4\u30c0\u30f3\u30b9\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3089\u306e\u8106\u5f31\u6027\u304c\u78ba\u5b9f\u306b\u4fee\u6b63\u3055\u308c\u308b\u3088\u3046\u3001\u30d1\u30ed\u30a2\u30eb\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30b9\u3067\u306f LangChain \u30e6\u30fc\u30b6\u30fc\u306b\u306f\u88fd\u54c1\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u3092\u63a8\u5968\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30d1\u30ed\u30a2\u30eb\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30b9\u88fd\u54c1\u3092\u304a\u4f7f\u3044\u306e\u304a\u5ba2\u69d8\u306f CVE-2023-46229 \u3068 CVE-2023-44467 \u3092\u4f7f\u3063\u305f\u653b\u6483\u304b\u3089\u3088\u308a\u9069\u5207\u306b\u4fdd\u8b77\u3055\u308c\u307e\u3059\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/www.paloaltonetworks.jp\/network-security\/advanced-threat-prevention\" target=\"_blank\" rel=\"noopener\">Advanced Threat Prevention<\/a> \u3092\u542b\u3080 <a href=\"https:\/\/www.paloaltonetworks.jp\/network-security\/security-subscriptions\" target=\"_blank\" rel=\"noopener\">Cloud-Delivered Security Services (\u30af\u30e9\u30a6\u30c9\u914d\u4fe1\u578b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3 \u30b5\u30fc\u30d3\u30b9)<\/a> \u3092\u6709\u52b9\u306b\u3057\u305f<a href=\"https:\/\/www.paloaltonetworks.jp\/network-security\/next-generation-firewall\" target=\"_blank\" rel=\"noopener\">\u6b21\u4e16\u4ee3\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb<\/a> \u306f\u30b3\u30de\u30f3\u30c9 \u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3 \u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3092\u8b58\u5225\u3057\u3066\u30d6\u30ed\u30c3\u30af\u3067\u304d\u307e\u3059\u3002<\/li>\n<li><a href=\"https:\/\/www.paloaltonetworks.jp\/prisma\/cloud\" target=\"_blank\" rel=\"noopener\">Prisma Cloud<\/a> \u306f\u3053\u308c\u3089\u306e\u653b\u6483\u304b\u3089\u30af\u30e9\u30a6\u30c9 \u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3092\u4fdd\u8b77\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/li>\n<li><a href=\"https:\/\/docs-cortex.paloaltonetworks.com\/p\/XDR\" target=\"_blank\" rel=\"noopener\">Cortex XDR<\/a> \u304a\u3088\u3073 <a href=\"https:\/\/docs-cortex.paloaltonetworks.com\/p\/XSIAM\" target=\"_blank\" rel=\"noopener\">Cortex XSIAM <\/a>\u306f\u591a\u5c64\u4fdd\u8b77\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u306b\u3088\u308a\u3001\u30a8\u30af\u30b9\u30d7\u30ed\u30a4\u30c8\u5f8c\u306e\u30a2\u30af\u30c6\u30a3\u30d3\u30c6\u30a3\u304b\u3089\u306e\u4fdd\u8b77\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/li>\n<li><a href=\"https:\/\/start.paloaltonetworks.com\/experience-precision-ai.html\" target=\"_blank\" rel=\"noopener\">Precision AI\u2122<\/a> \u3092\u642d\u8f09\u3057\u305f\u88fd\u54c1\u306f\u3001AI \u306e\u751f\u6210\u3057\u305f\u653b\u6483\u3092\u8b58\u5225\u30fb\u30d6\u30ed\u30c3\u30af\u3057\u3001\u30dd\u30ea\u30e2\u30fc\u30d5\u30a3\u30c3\u30af\u578b\u8105\u5a01\u306e\u52a0\u901f\u9632\u6b62\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/li>\n<\/ul>\n<table style=\"width: 100%;\">\n<thead>\n<tr>\n<td style=\"width: 35%;\"><b>\u95a2\u9023\u3059\u308b Unit 42 \u306e\u30c8\u30d4\u30c3\u30af<\/b><\/td>\n<td style=\"width: 100%;\"><a href=\"https:\/\/unit42.paloaltonetworks.jp\/category\/vulnerabilities-ja\/\" target=\"_blank\" rel=\"noopener\"><b>\u8106\u5f31\u6027<\/b><\/a><\/td>\n<\/tr>\n<\/thead>\n<\/table>\n<h2><a id=\"post-135724-_rvuotdb9xui1\"><\/a><strong>\u6280\u8853\u5206\u6790<\/strong><\/h2>\n<h3><a id=\"post-135724-_45hilmse8izr\"><\/a>LangChain \u306e\u6982\u8981<\/h3>\n<p>LangChain \u306f\u3001\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb (Large Language Model: LLM) \u306e\u5229\u7528\u3092\u7c21\u7d20\u5316\u3059\u308b\u305f\u3081\u306e\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9 \u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u3067\u3059\u3002\u540c\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u306f\u7d44\u307f\u7acb\u3066\u3066\u4f7f\u3048\u308b\u69cb\u6210\u30d6\u30ed\u30c3\u30af\u3092\u591a\u6570\u63d0\u4f9b\u3057\u3066\u3044\u3066\u3001\u305f\u3068\u3048\u3070\u30e2\u30c7\u30eb\u3078\u306e\u30b3\u30cd\u30af\u30bf\u30fc\u3084\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3 \u30b5\u30fc\u30d3\u30b9\u7d71\u5408\u3001LLM \u3067\u4f7f\u3048\u308b\u30c4\u30fc\u30eb \u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306a\u3069\u304c\u63d0\u4f9b\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30e6\u30fc\u30b6\u30fc\u306f\u3053\u308c\u3089\u306e\u30d6\u30ed\u30c3\u30af\u3092\u3064\u306a\u3044\u3067\u30c1\u30a7\u30fc\u30f3\u3092\u4f5c\u308c\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u691c\u7d22\u62e1\u5f35\u751f\u6210 (RAG) \u306a\u3069\u306e\u6a5f\u80fd\u3092\u4f7f\u3063\u3066 LLM \u3092\u62e1\u5f35\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002RAG \u306f\u3001\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306a\u5185\u90e8\u6587\u66f8\u3001\u6700\u65b0\u30cb\u30e5\u30fc\u30b9\u3084\u30d6\u30ed\u30b0\u306a\u3069\u306e\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\u306b\u8ffd\u52a0\u306e\u77e5\u8b58\u3092\u63d0\u4f9b\u3067\u304d\u308b\u6280\u8853\u3067\u3059\u3002<\/p>\n<p>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u8005\u306f\u3053\u308c\u3089\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f7f\u3063\u3066\u9ad8\u5ea6\u306a LLM \u6a5f\u80fd\u3092\u81ea\u5206\u305f\u3061\u306e\u30a2\u30d7\u30ea\u306b\u7d71\u5408\u3067\u304d\u307e\u3059\u3002\u958b\u767a\u8005\u304c\u57fa\u672c\u7684\u306a\u5927\u898f\u6a21\u8a00\u8a9e\u30e2\u30c7\u30eb\u3092 LangChain \u306b\u63a5\u7d9a\u3059\u308b\u524d\u306f\u3001\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u4e2d\u3001\u305d\u306e\u30e2\u30c7\u30eb\u306f\u305d\u306e\u6642\u70b9\u3067\u5229\u7528\u53ef\u80fd\u306a\u30c7\u30fc\u30bf\u306b\u4f9d\u5b58\u3057\u3066\u3044\u307e\u3057\u305f\u3002LangChain \u3078\u306e\u63a5\u7d9a\u3092\u78ba\u7acb\u3057\u3066 RAG \u3092\u7d71\u5408\u3057\u305f\u5f8c\u306f\u3001\u305d\u306e\u30e2\u30c7\u30eb\u306f\u6700\u65b0\u30c7\u30fc\u30bf\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u3001\u6700\u65b0\u60c5\u5831\u3067\u56de\u7b54\u3092\u63d0\u4f9b\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>LangChain \u306f\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u3067\u5927\u304d\u306a\u4eba\u6c17\u3092\u535a\u3057\u3066\u3044\u307e\u3059\u30022024 \u5e74 5 \u6708\u73fe\u5728\u3001\u30b3\u30a2 \u30ea\u30dd\u30b8\u30c8\u30ea\u30fc\u306b\u306f 81,900 \u3092\u8d85\u3048\u308b\u30b9\u30bf\u30fc\u3068 2,550 \u4eba\u3092\u8d85\u3048\u308b\u8ca2\u732e\u8005\u304c\u3044\u307e\u3059\u3002LangChain \u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u30fc\u5185\u3067\u591a\u6570\u306e\u69cb\u7bc9\u6e08\u307f\u30c1\u30a7\u30fc\u30f3\u3092\u63d0\u4f9b\u3057\u3066\u304a\u308a\u3001\u305d\u306e\u591a\u304f\u306f\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u306b\u3088\u3063\u3066\u8ca2\u732e\u3055\u308c\u305f\u3082\u306e\u3067\u3059\u3002\u958b\u767a\u8005\u306f\u3053\u308c\u3089\u306e\u30c1\u30a7\u30fc\u30f3\u3092\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u76f4\u63a5\u4f7f\u7528\u3067\u304d\u308b\u306e\u3067\u3001\u72ec\u81ea\u306e LLM \u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u69cb\u7bc9\u3057\u3066\u30c6\u30b9\u30c8\u3059\u308b\u5fc5\u8981\u6027\u304c\u7de9\u548c\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u30d1\u30ed\u30a2\u30eb\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30b9\u306e\u30ea\u30b5\u30fc\u30c1\u30e3\u30fc\u306f\u3001LangChain \u3068 LangChain Experimental \u306b\u8106\u5f31\u6027\u304c\u3042\u308b\u3053\u3068\u3092\u7279\u5b9a\u3057\u307e\u3057\u305f\u3002\u3053\u3053\u3067\u306f\u3053\u308c\u3089\u306e\u8106\u5f31\u6027\u306e\u5305\u62ec\u7684\u5206\u6790\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>\n<h3><a id=\"post-135724-_w7srrypefzoq\"><\/a>CVE-2023-46229<\/h3>\n<p>0.0.317 \u3088\u308a\u524d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e LangChain \u306f\u3001\u7d30\u5de5\u3055\u308c\u305f\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u306b\u3088\u308b\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9 \u30ea\u30af\u30a8\u30b9\u30c8 \u30d5\u30a9\u30fc\u30b8\u30a7\u30ea (SSRF) \u306b\u5bfe\u3057\u3066\u8106\u5f31\u3067\u3059\u3002\u653b\u6483\u8005\u306b\u3053\u306e\u8106\u5f31\u6027\u3092\u60aa\u7528\u3055\u308c\u305f\u5834\u5408\u3001\u30a2\u30af\u30bb\u30b9\u5236\u5fa1\u304c\u56de\u907f\u3055\u308c\u3001\u30a4\u30f3\u30c8\u30e9\u30cd\u30c3\u30c8\u304b\u3089\u6a5f\u5fae\u60c5\u5831\u3092\u53d6\u5f97\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u8106\u5f31\u6027\u306f <a href=\"https:\/\/nvd.nist.gov\/vuln\/detail\/CVE-2023-46229\" target=\"_blank\" rel=\"noopener\">CVE-2023-46229<\/a> \u3068\u3057\u3066\u8ffd\u8de1\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30d1\u30ed\u30a2\u30eb\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30b9\u306e\u8abf\u67fb\u306b\u3088\u308a 2023 \u5e74 10 \u6708 13 \u65e5\u306b\u3053\u306e\u8106\u5f31\u6027\u304c\u767a\u898b\u3055\u308c\u3001LangChain \u306e\u30b5\u30dd\u30fc\u30c8\u306b\u305f\u3060\u3061\u306b\u901a\u77e5\u3055\u308c\u307e\u3057\u305f\u3002LangChain \u306f\u30d7\u30eb \u30ea\u30af\u30a8\u30b9\u30c8 <a href=\"https:\/\/github.com\/langchain-ai\/langchain\/pull\/11925\" target=\"_blank\" rel=\"noopener\">langchain#11925<\/a> \u3067\u3053\u306e\u8106\u5f31\u6027\u3092\u4fee\u6b63\u3057\u3001\u30d0\u30fc\u30b8\u30e7\u30f3 0.0.317 \u3067\u30ea\u30ea\u30fc\u30b9\u3057\u307e\u3057\u305f\u3002<\/p>\n<h4><a id=\"post-135724-_7jy0b4gsijhu\"><\/a>CVE-2023-46229 \u306e\u6280\u8853\u7684\u8a73\u7d30<\/h4>\n<p>LangChain \u306f\u3001\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u306e Web \u30b5\u30a4\u30c8\u304b\u3089\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u8aad\u307f\u8fbc\u3080\u6a5f\u80fd\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002\u516c\u958b\u3055\u308c\u305f Web \u30b5\u30a4\u30c8\u304b\u3089\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u3092\u5b66\u7fd2\u3059\u308b\u3053\u306e\u6a5f\u80fd\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u306b\u3068\u3063\u3066\u975e\u5e38\u306b\u4fa1\u5024\u306e\u9ad8\u3044\u6a5f\u80fd\u3067\u3059\u3002\u3053\u306e\u6a5f\u80fd\u306f RAG \u306e\u5b9f\u88c5\u306e 1 \u3064\u3067\u3001\u3053\u308c\u3092\u4f7f\u3048\u3070\u30e6\u30fc\u30b6\u30fc\u304c\u30e2\u30c7\u30eb\u306b\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u624b\u52d5\u3067\u63d0\u4f9b\u3059\u308b\u901a\u4fe1\u30d7\u30ed\u30bb\u30b9\u306e\u51e6\u7406\u304c\u697d\u306b\u306a\u308a\u307e\u3059\u3002\u3055\u3089\u306b\u3001\u30b5\u30a4\u30c8\u30de\u30c3\u30d7 URL \u3092\u53d7\u3051\u5165\u308c\u3066\u3001\u305d\u306e\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b URL \u306b\u30a2\u30af\u30bb\u30b9\u3055\u305b\u308b LangChain \u306e\u6a5f\u80fd\u306b\u3088\u308a\u3001\u305d\u306e\u30d1\u30ef\u30fc\u3068\u5b9f\u7528\u6027\u304c\u3055\u3089\u306b\u5f37\u5316\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>LangChain \u306e\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u306b\u3064\u3044\u3066\u306e<a href=\"https:\/\/python.langchain.com\/docs\/integrations\/document_loaders\/sitemap\/\" target=\"_blank\" rel=\"noopener\">\u516c\u5f0f\u6587\u66f8<\/a>\u306f\u3001<span style=\"font-family: 'courier new', courier, monospace;\">SitemapLoader<\/span> \u304c\u6307\u5b9a\u3055\u308c\u305f URL \u306e\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u306b\u8a18\u9332\u3055\u308c\u305f\u5168\u30da\u30fc\u30b8\u304b\u3089\u60c5\u5831\u3092\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\u3057\u3001\u5404\u30da\u30fc\u30b8\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u51fa\u529b\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>SitemapLoader \u6a5f\u80fd\u306b\u3088\u308a\u3001LangChain \u3068\u7d71\u5408\u3055\u308c\u305f LLM \u306f\u6b21\u306e\u3088\u3046\u306a\u6a5f\u80fd\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u306e Web \u30da\u30fc\u30b8\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3068\u89e3\u6790<\/li>\n<li>\u3053\u308c\u3089\u306e Web \u30da\u30fc\u30b8\u306b\u542b\u307e\u308c\u308b\u30ea\u30f3\u30af\u306e\u62bd\u51fa<\/li>\n<li>\u3053\u308c\u3089\u306e Web \u30da\u30fc\u30b8\u304b\u3089\u62bd\u51fa\u3055\u308c\u305f\u30ea\u30f3\u30af\u3078\u306e\u30a2\u30af\u30bb\u30b9<\/li>\n<\/ul>\n<p>\u305f\u3060\u3057\u3001\u5f53\u521d\u306e LangChain \u306f\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u306e\u30a2\u30af\u30bb\u30b9\u7bc4\u56f2\u306b\u5236\u9650\u3092\u8a2d\u3051\u3066\u3044\u306a\u304b\u3063\u305f\u305f\u3081\u3001SSRF \u306e\u8106\u5f31\u6027\u306b\u3064\u306a\u304c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><span style=\"font-family: 'courier new', courier, monospace;\">SitemapLoader <\/span>\u30af\u30e9\u30b9\u306f <span style=\"font-family: 'courier new', courier, monospace;\">langchain\/libs\/langchain\/langchain\/document_loaders\/sitemap.py<\/span> \u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u5185\u3067\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b <span style=\"font-family: 'courier new', courier, monospace;\"> WebBaseLoader <\/span> \u30af\u30e9\u30b9\u306e\u62e1\u5f35\u30af\u30e9\u30b9\u3067\u3059\u3002<span style=\"font-family: 'courier new', courier, monospace;\"> WebBaseLoader <\/span>\u30af\u30e9\u30b9\u306f <span style=\"font-family: 'courier new', courier, monospace;\">langchain\/document_loaders\/web_base.py<\/span> \u5185\u3067\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u3066\u3001\u30af\u30e9\u30b9 \u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u30fc\u3068\u3057\u3066 <span style=\"font-family: 'courier new', courier, monospace;\"> web_path <\/span> \u3092\u53d7\u3051\u53d6\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u57fa\u5e95\u30af\u30e9\u30b9\u306e <span style=\"font-family: 'courier new', courier, monospace;\"> WebBaseLoader <\/span> \u306f\u307e\u305f\u3001<span style=\"font-family: 'courier new', courier, monospace;\"> web_path <\/span> \u304c\u6587\u5b57\u5217\u304b\u3069\u3046\u304b\u3082\u30c1\u30a7\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p><span style=\"font-family: 'courier new', courier, monospace;\">WebBaseLoader <\/span> \u306f\u3001Web \u30da\u30fc\u30b8\u3092\u8aad\u307f\u8fbc\u3080\u3068\u304d\u306b <a href=\"https:\/\/docs.python.org\/3\/library\/urllib.html\" target=\"_blank\" rel=\"noopener\"><span style=\"font-family: 'courier new', courier, monospace;\">urllib<\/span><\/a> (URL \u64cd\u4f5c\u7528\u30e1\u30bd\u30c3\u30c9\u3092\u63d0\u4f9b\u3059\u308b Python \u30e2\u30b8\u30e5\u30fc\u30eb) \u3092\u4f7f\u3044\u3001HTML \u3092\u89e3\u6790\u3059\u308b\u3068\u304d\u306b <a href=\"https:\/\/pypi.org\/project\/beautifulsoup4\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-family: 'courier new', courier, monospace;\">BeautifulSoup<\/span><\/a> (HTML \u89e3\u6790\u7528\u30e1\u30bd\u30c3\u30c9\u3092\u63d0\u4f9b\u3059\u308b Python \u30e2\u30b8\u30e5\u30fc\u30eb) \u3092\u4f7f\u3044\u307e\u3059\u3002<span style=\"font-family: 'courier new', courier, monospace;\">SitemapLoader <\/span> \u306f <span style=\"font-family: 'courier new', courier, monospace;\"> WebBaseLoader <\/span> \u3092\u7d99\u627f\u3057\u3066\u3044\u308b\u306e\u3067\u3001URL (<span style=\"font-family: 'courier new', courier, monospace;\">web_path<\/span>) \u3092\u5165\u529b\u3068\u3057\u3066\u53d7\u3051\u53d6\u308a\u3001\u305d\u306e URL \u5185\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u3068\u3057\u3066\u89e3\u6790\u3057\u307e\u3059\u3002<span style=\"font-family: 'courier new', courier, monospace;\"> SitemapLoader <\/span> \u306f\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u5185\u306e\u5404 URL \u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001\u305d\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<p><span style=\"font-family: 'courier new', courier, monospace;\"> SitemapLoader <\/span>\u30af\u30e9\u30b9\u306f <span style=\"font-family: 'courier new', courier, monospace;\">load<\/span> \u30e1\u30bd\u30c3\u30c9\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30e1\u30bd\u30c3\u30c9\u306f <span style=\"font-family: 'courier new', courier, monospace;\"> web_path <\/span> \u304c\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u3068\u3057\u3066\u6307\u5b9a\u3057\u305f XML \u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u91c8\u3057\u307e\u3059\u3002\u305d\u306e\u5f8c\u306f <span style=\"font-family: 'courier new', courier, monospace;\">parse_sitemap<\/span> \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u3066\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u304b\u3089\u3059\u3079\u3066\u306e URL \u3092\u89e3\u6790\u30fb\u62bd\u51fa\u3057\u307e\u3059\u3002\u305d\u306e\u5f8c\u3001<span style=\"font-family: 'courier new', courier, monospace;\">scrape_all <\/span>\u30e1\u30bd\u30c3\u30c9\u304c <span style=\"font-family: 'courier new', courier, monospace;\">_fetch<\/span> \u30e1\u30bd\u30c3\u30c9\u3092\u76f4\u63a5\u547c\u3073\u51fa\u3057\u3066 <span style=\"font-family: 'courier new', courier, monospace;\">aiohttp.ClientSession.get<\/span> \u3092\u4f7f\u3044\u307e\u3059\u3002\u3053\u306e\u3055\u3044\u3001\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3084\u30b5\u30cb\u30bf\u30a4\u30ba\u306f\u4f55\u3082\u884c\u308f\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u8105\u5a01\u30a2\u30af\u30bf\u30fc\u306f\u3001\u63d0\u4f9b\u3055\u308c\u308b\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u5185\u306b\u30a4\u30f3\u30c8\u30e9\u30cd\u30c3\u30c8 \u30ea\u30bd\u30fc\u30b9\u3078\u306e URL \u3092\u542b\u3081\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3057\u305f\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30ea\u30b9\u30c8\u3055\u308c\u305f URL \u304b\u3089\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u53d6\u5f97\u3055\u308c\u3066\u8fd4\u3055\u308c\u305f\u3068\u304d\u306b SSRF \u304c\u767a\u751f\u3057\u3001\u6a5f\u5fae\u30c7\u30fc\u30bf\u304c\u610f\u56f3\u305b\u305a\u6f0f\u3048\u3044\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u7d44\u7e54\u306e\u30a4\u30f3\u30c8\u30e9\u30cd\u30c3\u30c8\u306b\u306f\u3001\u6a5f\u5fae\u60c5\u5831\u3092\u8fd4\u3059\u53ef\u80fd\u6027\u304c\u3042\u308b\u3053\u3068\u3092\u7406\u7531\u3068\u3057\u3066\u3001\u516c\u958b\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u3092\u60f3\u5b9a\u3057\u3066\u3044\u306a\u3044 HTTP API \u304c\u5b58\u5728\u3057\u3066\u3044\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u8106\u5f31\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u306f\u3001\u653b\u6483\u8005\u304c\u8106\u5f31\u6027\u3092\u5229\u7528\u3057\u3066\u3053\u306e\u7a2e\u306e API \u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u6a5f\u5fae\u60c5\u5831\u3092\u76d7\u307f\u51fa\u3057\u305f\u308a\u3001API \u306e\u8a2d\u8a08\u304c\u4e0d\u9069\u5207\u306a\u5834\u5408\u306f\u3001\u30ea\u30e2\u30fc\u30c8 \u30b3\u30fc\u30c9\u5b9f\u884c\u3092\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h4><a id=\"post-135724-_e9ot7pstmsjg\"><\/a>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af \u30c8\u30e9\u30d5\u30a3\u30c3\u30af \u30d5\u30ed\u30fc<\/h4>\n<h5><a id=\"post-135724-_9cc5afw4i4tv\"><\/a>\u7d50\u679c<\/h5>\n<p>\u56f3 1 \u306f\u3001\u3042\u308b\u4eee\u60f3\u306e\u30b7\u30ca\u30ea\u30aa\u3067\u306e\u653b\u6483\u3092\u8868\u3059\u56f3\u3067\u3059\u3002\u3053\u3053\u3067\u306f\u3042\u308b\u653b\u6483\u8005\u304c <span style=\"font-family: 'courier new', courier, monospace;\">sensitive.html<\/span> \u3078\u306e\u30a2\u30af\u30bb\u30b9\u306b\u6210\u529f\u3057\u3001\u6a5f\u5fae\u60c5\u5831\u3092\u5165\u624b\u3057\u305f\u3082\u306e\u3068\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_135704\" aria-describedby=\"caption-attachment-135704\" style=\"width: 700px\" class=\"wp-caption aligncenter\"><img  class=\"wp-image-135704 lozad\"  data-src=\"https:\/\/unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/word-image-956769-135701-1-ja.png\" alt=\"\u653b\u6483\u8005\u304c\u60aa\u610f\u306e\u3042\u308b\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u3066\u3001\u30d1\u30d6\u30ea\u30c3\u30af \u30b5\u30fc\u30d0\u30fc\u304a\u3088\u3073\u30a4\u30f3\u30c8\u30e9\u30cd\u30c3\u30c8 \u30b5\u30fc\u30d0\u30fc\u3092\u4ecb\u3057\u3066\u5185\u90e8\u30b5\u30fc\u30d0\u30fc\u306e\u6a5f\u5fae\u30c7\u30fc\u30bf\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3044\u3046\u30b5\u30a4\u30d0\u30fc\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u8105\u5a01\u30b7\u30ca\u30ea\u30aa\u3092\u793a\u3057\u305f\u56f3\u3002\u3053\u306e\u56f3\u306b\u306f\u3001\u30c7\u30fc\u30bf\u3068\u30b3\u30de\u30f3\u30c9\u306e\u6d41\u308c\u3092\u793a\u3059\u30e9\u30d9\u30eb\u4ed8\u304d\u306e\u30d6\u30ed\u30c3\u30af\u3068\u77e2\u5370\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u53f3\u4e0b\u9685\u306b\u306f\u3001Palo Alto Networks \u3068 UNIT 42 \u306e\u30ed\u30b4\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002\" width=\"700\" height=\"682\" \/><figcaption id=\"caption-attachment-135704\" class=\"wp-caption-text\">\u56f3 1. CVE-2023-46229 \u306e\u653b\u6483\u30b7\u30fc\u30b1\u30f3\u30b9\u56f3<\/figcaption><\/figure>\n<p>\u3053\u306e\u4f8b\u3067 <span style=\"font-family: 'courier new', courier, monospace;\">sensitive.html<\/span> \u306f\u6975\u79d8\u3068\u307f\u306a\u3055\u308c\u3001\u305d\u306e\u60c5\u5831\u306f\u5f93\u696d\u54e1\u306e\u307f\u304c\u95b2\u89a7\u3067\u304d\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3053\u308c\u306f\u793e\u4f1a\u4fdd\u969c\u756a\u53f7 (SSN) \u3084\u5f93\u696d\u54e1\u306e\u81ea\u5b85\u4f4f\u6240\u306a\u3069\u5b9f\u969b\u306e\u6a5f\u5fae\u60c5\u5831\u306b\u76f8\u5f53\u3059\u308b\u3068\u8003\u3048\u308c\u3070\u3088\u3044\u3067\u3057\u3087\u3046\u3002\u3055\u3089\u306b\u3053\u306e\u30b7\u30ca\u30ea\u30aa\u3067\u306f\u3001\u653b\u6483\u8005\u306f\u7d44\u7e54\u5185\u306e API \u30a2\u30af\u30bb\u30b9\u3092\u4fb5\u5bb3\u3057\u3001\u305d\u306e API \u6a5f\u80fd\u3092\u5229\u7528\u3057\u3066\u60aa\u610f\u306e\u3042\u308b\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u56f3 2 \u306b\u793a\u3059\u3088\u3046\u306b\u3001CVE-2024-46229 \u306e SSRF \u653b\u6483\u304c\u6210\u529f\u3059\u308b\u3068\u3001\u7d44\u7e54\u5185\u3067\u306e\u4e0d\u6b63\u30a2\u30af\u30c6\u30a3\u30d3\u30c6\u30a3\u3084\u30c7\u30fc\u30bf \u30a2\u30af\u30bb\u30b9\u306b\u3064\u306a\u304c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u5834\u5408\u306b\u3088\u3063\u3066\u306f\u3053\u306e SSRF \u304c API \u8a2d\u8a08\u306b\u554f\u984c\u306e\u3042\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3084\u305d\u3046\u3057\u305f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u5bfe\u8a71\u3059\u308b\u5225\u306e\u30d0\u30c3\u30af\u30a8\u30f3\u30c9 \u30b7\u30b9\u30c6\u30e0\u3067\u767a\u751f\u3057\u3001\u653b\u6483\u8005\u306b\u4efb\u610f\u306e\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c\u3092\u8a31\u3057\u3066\u3057\u307e\u3044\u304b\u306d\u307e\u305b\u3093\u3002<\/p>\n<figure id=\"attachment_135706\" aria-describedby=\"caption-attachment-135706\" style=\"width: 800px\" class=\"wp-caption aligncenter\"><img  class=\"wp-image-135706 lozad\"  data-src=\"https:\/\/unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/word-image-961628-135701-2.png\" alt=\"\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u753b\u9762\u3067\u30aa\u30fc\u30d7\u30f3\u306b\u306a\u3063\u305f\u30bf\u30fc\u30df\u30ca\u30eb \u30a6\u30a3\u30f3\u30c9\u30a6\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u30bf\u30fc\u30df\u30ca\u30eb \u30a6\u30a3\u30f3\u30c9\u30a6\u306b\u306f\u3001\u30bd\u30fc\u30b9 \u30b3\u30fc\u30c9\u306e\u884c\u3068 API \u304b\u3089\u306e\u5fdc\u7b54\u30c7\u30fc\u30bf\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002\" width=\"800\" height=\"421\" srcset=\"https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/word-image-961628-135701-2.png 2048w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/word-image-961628-135701-2-786x413.png 786w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/word-image-961628-135701-2-1331x700.png 1331w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/word-image-961628-135701-2-768x404.png 768w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/word-image-961628-135701-2-1536x808.png 1536w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption id=\"caption-attachment-135706\" class=\"wp-caption-text\">\u56f3 2. CVE-2023-46229 \u306e\u30a8\u30af\u30b9\u30d7\u30ed\u30a4\u30c8\u7d50\u679c<\/figcaption><\/figure>\n<h4><a id=\"post-135724-_nebs69ia6zzj\"><\/a>CVE-2023-46229 \u306e\u7de9\u548c\u7b56<\/h4>\n<p>\u3053\u306e\u8106\u5f31\u6027\u306e\u7de9\u548c\u306e\u305f\u3081\u3001LangChain \u306f <span style=\"font-family: 'courier new', courier, monospace;\">_extract_scheme_and_domain<\/span> \u3068\u3044\u3046\u95a2\u6570\u3068\u3001\u8a31\u53ef\u3055\u308c\u305f\u30c9\u30e1\u30a4\u30f3\u3092\u30e6\u30fc\u30b6\u30fc\u304c\u5236\u5fa1\u3067\u304d\u308b\u8a31\u53ef\u30ea\u30b9\u30c8 (allowlist) \u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002<\/p>\n<h3><a id=\"post-135724-_vwvvbuu3w9x\"><\/a>CVE-2023-44467<\/h3>\n<p>CVE-2023-44467 \u306f <a href=\"https:\/\/pypi.org\/project\/langchain-experimental\/\" target=\"_blank\" rel=\"noopener\">LangChain Experimental<\/a> \u306e 0.0.306 \u3088\u308a\u524d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u304a\u3044\u3066\u7279\u5b9a\u3055\u308c\u305f\u3001\u7dca\u6025 (critical) \u306e\u30d7\u30ed\u30f3\u30d7\u30c8 \u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u306e\u8106\u5f31\u6027\u3067\u3059\u3002LangChain Experimental \u306f\u7814\u7a76\u304a\u3088\u3073\u5b9f\u9a13\u76ee\u7684\u306e\u95a2\u6570\u3092\u542b\u3080\u3001\u5225\u500b\u306e Python \u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u3067\u3059\u3002\u3053\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u306b\u306f\u3001\u60aa\u610f\u306e\u3042\u308b\u30d7\u30ed\u30f3\u30d7\u30c8\u304c\u5165\u529b\u3055\u308c\u305f\u5834\u5408\u306b\u60aa\u7528\u3055\u308c\u3046\u308b\u7d71\u5408\u304c\u8907\u6570\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8106\u5f31\u6027\u306f PALChain \u547c\u3070\u308c\u308b\u6a5f\u80fd\u306b\u5f71\u97ff\u3057\u307e\u3059\u3002PALChain \u306f\u30b3\u30fc\u30c9 \u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u306e\u751f\u6210\u80fd\u529b\u306b\u3088\u3063\u3066\u8a00\u8a9e\u30e2\u30c7\u30eb\u3092\u5f37\u5316\u3059\u308b\u3088\u3046\u8a2d\u8a08\u3055\u308c\u3066\u3044\u308b\u6a5f\u80fd\u3067\u3001\u305d\u306e\u5b9f\u73fe\u306b\u30d7\u30ed\u30b0\u30e9\u30e0\u652f\u63f4\u8a00\u8a9e\u30e2\u30c7\u30eb (PAL) \u3068\u547c\u3070\u308c\u308b\u6280\u8853\u304c\u4f7f\u308f\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u8106\u5f31\u6027\u304c\u3042\u308b\u3053\u3068\u3067\u3001PALChain \u306e\u51e6\u7406\u80fd\u529b\u3092\u30d7\u30ed\u30f3\u30d7\u30c8 \u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u306b\u3088\u3063\u3066\u653b\u6483\u8005\u306b\u60aa\u7528\u3055\u308c\u3001\u30b7\u30b9\u30c6\u30e0\u306b\u3088\u308b\u5b9f\u884c\u304c\u610f\u56f3\u3055\u308c\u3066\u3044\u306a\u3044\u3088\u3046\u306a\u6709\u5bb3\u306a\u30b3\u30de\u30f3\u30c9\u3084\u30b3\u30fc\u30c9\u304c\u5b9f\u884c\u3055\u308c\u3066\u3057\u307e\u3046\u304a\u305d\u308c\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u4e0d\u6b63\u30a2\u30af\u30bb\u30b9\u3084\u6539\u3056\u3093\u306a\u3069\u3001\u91cd\u5927\u306a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3 \u30ea\u30b9\u30af\u306b\u3064\u306a\u304c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30d1\u30ed\u30a2\u30eb\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30b9\u306e\u30ea\u30b5\u30fc\u30c1\u30e3\u30fc\u304c\u3053\u306e\u8106\u5f31\u6027\u3092\u767a\u898b\u3057\u30012023 \u5e74 9 \u6708 1 \u65e5\u306b LangChain \u306e\u958b\u767a\u30c1\u30fc\u30e0\u306b\u9023\u7d61\u3057\u307e\u3057\u305f\u3002\u305d\u306e\u7fcc\u65e5\u3001LangChain \u30c1\u30fc\u30e0\u306f <a href=\"https:\/\/pypi.org\/project\/langchain-experimental\/0.0.13\/\" target=\"_blank\" rel=\"noopener\">LangChain Experimental \u306e pypi \u30da\u30fc\u30b8<\/a>\u4e0a\u3067\u8b66\u544a\u3092\u767a\u3057\u307e\u3057\u305f\u3002<\/p>\n<h4><a id=\"post-135724-_lczxaz6sk0w4\"><\/a>CVE-2023-44467 \u306e\u6280\u8853\u7684\u8a73\u7d30<\/h4>\n<p>PALChain \u306f <span style=\"font-family: 'courier new', courier, monospace;\">langchain_experimental<\/span> \u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u542b\u307e\u308c\u308b Python \u30af\u30e9\u30b9\u306e 1 \u3064\u3067\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u30af\u30a8\u30ea\u30fc\u3092\u5b9f\u884c\u53ef\u80fd\u306a Python \u30b3\u30fc\u30c9\u306b\u5909\u63db\u3059\u308b\u6a5f\u80fd\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002LangChain \u306f\u3001<span style=\"font-family: 'courier new', courier, monospace;\">langchain\/libs\/experimental\/langchain_experimental\/pal_chain\/base.py<\/span> \u5185\u3067\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b <span style=\"font-family: 'courier new', courier, monospace;\">from_math_prompt()<\/span> \u30e1\u30bd\u30c3\u30c9\u5185\u3067\u3001\u305d\u306e\u4f8b\u3092 1 \u3064\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30e6\u30fc\u30b6\u30fc\u306f\u81ea\u7136\u8a00\u8a9e\u3067\u6570\u5b66\u7684\u306a\u30af\u30a8\u30ea\u30fc\u3092\u5165\u529b\u3067\u304d\u307e\u3059\u3002\u3059\u308b\u3068 PALChain \u304c API \u547c\u3073\u51fa\u3057\u7d4c\u7531\u3067 LLM \u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001\u305d\u306e\u6570\u5b66\u7684\u306a\u30af\u30a8\u30ea\u30fc\u3092 Python \u30b3\u30fc\u30c9\u306b\u5909\u63db\u3059\u308b\u3088\u3046\u6307\u793a\u3057\u307e\u3059\u3002\u5f97\u3089\u308c\u305f\u30b3\u30fc\u30c9\u306f\u76f4\u63a5\u8a55\u4fa1\u3055\u308c\u3001\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u6a5f\u80fd\u306f\u3001AI \u3092\u6d3b\u7528\u3057\u3066\u5b9f\u7528\u7684\u306a\u8a08\u7b97\u30bf\u30b9\u30af\u3092\u89e3\u6c7a\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u308b\u4eba\u306b\u3068\u3063\u3066\u5f37\u529b\u306a\u30c4\u30fc\u30eb\u3068\u306a\u308a\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u3053\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u306b\u306f\u3001\u30d7\u30ed\u30f3\u30d7\u30c8 \u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u653b\u6483\u306b\u5bfe\u3059\u308b\u8106\u5f31\u6027\u306a\u3069\u3001\u4e00\u5b9a\u306e\u30ea\u30b9\u30af\u304c\u4f34\u3044\u307e\u3059\u3002\u5b89\u5168\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u57fa\u790e\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u5165\u529b\u306e\u53b3\u683c\u306a\u691c\u8a3c\u307e\u305f\u306f\u30b5\u30cb\u30bf\u30a4\u30ba\u3067\u3059\u3002<\/p>\n<h5><a id=\"post-135724-_ntokhz7bxgmj\"><\/a>\u30d7\u30ed\u30f3\u30d7\u30c8 \u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3<\/h5>\n<p>\u30d7\u30ed\u30f3\u30d7\u30c8 \u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u3068\u306f\u3001\u4e0e\u3048\u3089\u308c\u305f\u6307\u793a (\u300c\u30d7\u30ed\u30f3\u30d7\u30c8\u300d\u3068\u3082\u547c\u3070\u308c\u308b) \u3092\u64cd\u4f5c\u3057\u3066 AI \u3092\u9a19\u3057\u3001\u610f\u56f3\u3057\u306a\u3044\u30a2\u30af\u30b7\u30e7\u30f3\u3092 AI \u306b\u5b9f\u884c\u3055\u305b\u308b\u3053\u3068\u3068\u540c\u69d8\u306e\u3082\u306e\u3067\u3059\u3002\u3053\u306e\u6280\u8853\u3067\u306f\u3001AI \u306e\u30b3\u30de\u30f3\u30c9\u51e6\u7406\u30b7\u30b9\u30c6\u30e0\u306e\u8106\u5f31\u6027\u3092\u60aa\u7528\u3057\u3001\u6709\u5bb3\u306a\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u305f\u308a\u3001\u5236\u9650\u3055\u308c\u305f\u30c7\u30fc\u30bf\u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u308a\u3057\u307e\u3059\u3002<\/p>\n<p>LangChain \u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u306e\u30c6\u30b9\u30c8\u7528<a href=\"https:\/\/github.com\/langchain-ai\/langchain\/blob\/master\/libs\/experimental\/tests\/unit_tests\/test_pal.py\" target=\"_blank\" rel=\"noopener\">\u30b9\u30af\u30ea\u30d7\u30c8<\/a>\u304b\u3089\u62bd\u51fa\u3057\u305f PALChain \u306e\u30e6\u30fc\u30b6\u30fc\u5165\u529b\u4f8b\u306f\u6b21\u306e\u3088\u3046\u306a\u3082\u306e\u3067\u3059\u3002<\/p>\n<p><!-- Crayon Syntax Highlighter v_2.7.2_beta --><\/p>\n<pre class=\"lang:default decode:true\">\u30aa\u30ea\u30d3\u30a2\u306f 23 \u30c9\u30eb\u6301\u3063\u3066\u3044\u307e\u3059\u3002\u5f7c\u5973\u306f\u30d9\u30fc\u30b0\u30eb\u3092 1 \u3064 3 \u30c9\u30eb\u3067 5 \u3064\u8cfc\u5165\u3057\u307e\u3057\u305f\u3002\u5f7c\u5973\u306e\u624b\u5143\u306b\u6b8b\u3063\u305f\u91d1\u984d\u306f\u3044\u304f\u3089\u3067\u3059\u304b\u3002<\/pre>\n<p><!-- [Format Time: 0.0001 seconds] --><\/p>\n<p>\u3053\u3053\u3067 PALChain \u304c LLM \u306b Python \u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u751f\u6210\u3059\u308b\u3088\u3046\u6307\u793a\u3057\u307e\u3059\u3002<\/p>\n<p><!-- Crayon Syntax Highlighter v_2.7.2_beta --><\/p>\n<pre class=\"lang:default decode:true\">def solution():\r\n    \"\"\"\u30aa\u30ea\u30d3\u30a2\u306f 23 \u30c9\u30eb\u6301\u3063\u3066\u3044\u307e\u3059\u3002\u5f7c\u5973\u306f\u30d9\u30fc\u30b0\u30eb\u3092 1 \u3064 3 \u30c9\u30eb\u3067 5 \u3064\u8cfc\u5165\u3057\u307e\u3057\u305f\u3002\u5f7c\u5973\u306e\u624b\u5143\u306b\u6b8b\u3063\u305f\u91d1\u984d\u306f\u3044\u304f\u3089\u3067\u3059\u304b\u3002\"\"\"\r\n\r\n    money_initial = 23\r\n    bagels = 5\r\n    bagel_cost = 3\r\n    money_spent = bagels * bagel_cost\r\n    money_left = money_initial - money_spent\r\n    result = money_left\r\n    return result<\/pre>\n<p><!-- [Format Time: 0.0001 seconds] --><\/p>\n<p>\u30e6\u30fc\u30b6\u30fc\u5165\u529b\u306b\u56f3 3 \u306b\u793a\u3057\u305f\u3088\u3046\u306a\u30b3\u30de\u30f3\u30c9\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u5834\u5408\u3001LLM \u306b\u306f\u4e0a\u8a18\u306e\u4f8b\u306e\u3088\u3046\u306a\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3 \u30b3\u30fc\u30c9\u306e\u751f\u6210\u304c\u8981\u6c42\u3055\u308c\u307e\u305b\u3093\u3002\u4ee3\u308f\u308a\u306b\u3001LangChain \u3092\u5b9f\u884c\u3057\u3066\u3044\u308b\u30b5\u30fc\u30d0\u30fc\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u8981\u6c42\u306b\u5fdc\u3058\u3066\u6307\u5b9a\u3055\u308c\u305f\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_135708\" aria-describedby=\"caption-attachment-135708\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><img  class=\"wp-image-135708 lozad\"  data-src=\"https:\/\/unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/word-image-966386-135701-3.png\" alt=\"\" width=\"600\" height=\"236\" srcset=\"https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/word-image-966386-135701-3.png 1044w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/word-image-966386-135701-3-786x309.png 786w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/word-image-966386-135701-3-768x302.png 768w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><figcaption id=\"caption-attachment-135708\" class=\"wp-caption-text\">\u56f3 3. \u60aa\u610f\u306e\u3042\u308b\u30e6\u30fc\u30b6\u30fc\u5165\u529b<\/figcaption><\/figure>\n<p>\u3053\u306e\u60aa\u610f\u306e\u3042\u308b\u30b3\u30fc\u30c9\u306f\u3069\u306e\u3088\u3046\u306a\u3082\u306e\u3067\u3082\u304b\u307e\u3044\u307e\u305b\u3093\u3002\u4e0a\u306e\u56f3 3 \u3067\u306f\u3001<span style=\"font-family: 'courier new', courier, monospace;\">ls<\/span> \u30b3\u30de\u30f3\u30c9\u3092\u4f8b\u3068\u3057\u3066\u793a\u3057\u3066\u3044\u307e\u3059\u3002LLM \u306f\u3001\u56f3 4 \u306b\u793a\u3057\u305f\u3088\u3046\u306a\u5fdc\u7b54\u5185\u3067\u3001\u60aa\u610f\u306e\u3042\u308b\u30b3\u30fc\u30c9\u3092\u8fd4\u3059\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_135710\" aria-describedby=\"caption-attachment-135710\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><img  class=\"wp-image-135710 lozad\"  data-src=\"https:\/\/unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/word-image-968845-135701-4.png\" alt=\"Python \u30b3\u30fc\u30c9\u3092\u8868\u793a\u3059\u308b\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0 \u30bf\u30fc\u30df\u30ca\u30eb\u306e\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u3002\u3053\u306e\u30b3\u30fc\u30c9\u306f 'os' \u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u3001Linux \u306e 'ls' \u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u306e\u5185\u5bb9\u3092\u4e00\u89a7\u8868\u793a\u3057\u307e\u3059\u3002\u30bf\u30fc\u30df\u30ca\u30eb \u30a6\u30a3\u30f3\u30c9\u30a6\u306b\u306f\u30c0\u30fc\u30af \u30c6\u30fc\u30de\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u3066\u3001\u9ed2\u3044\u80cc\u666f\u3068\u767d\u3044\u30c6\u30ad\u30b9\u30c8\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u5de6\u4e0a\u9685\u306b\u306f macOS \u306e 3 \u8272\u306e\u30dc\u30bf\u30f3 (\u5de6\u304b\u3089\u8d64\u306e\u9589\u3058\u308b\u30dc\u30bf\u30f3\u3001\u9ec4\u306e\u3057\u307e\u3046\u30dc\u30bf\u30f3\u3001\u7dd1\u306e\u753b\u9762\u30b5\u30a4\u30ba\u5909\u66f4 \u30dc\u30bf\u30f3) \u304c\u3042\u308a\u307e\u3059\u3002\" width=\"600\" height=\"253\" srcset=\"https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/word-image-968845-135701-4.png 996w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/word-image-968845-135701-4-786x331.png 786w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/word-image-968845-135701-4-768x324.png 768w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><figcaption id=\"caption-attachment-135710\" class=\"wp-caption-text\">\u56f3 4. Python \u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u30fc\u304c\u5b9f\u884c\u3059\u308b\u30b3\u30fc\u30c9<\/figcaption><\/figure>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u7d44\u307f\u8fbc\u307f\u30e2\u30b8\u30e5\u30fc\u30eb\u306e <span style=\"font-family: 'courier new', courier, monospace;\">os<\/span> \u304c\u30a4\u30f3\u30dd\u30fc\u30c8\u3055\u308c\u3001<span style=\"font-family: 'courier new', courier, monospace;\">system()<\/span> \u95a2\u6570\u3092\u547c\u3073\u51fa\u3057\u3066\u30b7\u30b9\u30c6\u30e0 \u30b3\u30de\u30f3\u30c9\u306e <span style=\"font-family: 'courier new', courier, monospace;\">ls<\/span> \u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<p>\u4e00\u822c\u306b\u3001\u6b63\u5f53\u306a\u8cea\u554f\u3068\u30d7\u30ed\u30f3\u30d7\u30c8 \u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u653b\u6483\u3092\u533a\u5225\u3059\u308b\u3053\u3068\u306f\u56f0\u96e3\u3067\u3059\u3002\u305d\u3053\u3067 PALChain \u306f\u751f\u6210\u3055\u308c\u305f\u30b3\u30fc\u30c9\u304c Python \u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u30fc\u3067\u8a55\u4fa1\u3055\u308c\u308b\u524d\u306b\u3001\u30b3\u30fc\u30c9\u306e\u691c\u8a3c\u3092\u5b9f\u65bd\u3057\u3088\u3046\u3068\u3057\u307e\u3059\u3002<\/p>\n<h5><a id=\"post-135724-_6hsaivk7gztf\"><\/a>\u30b5\u30cb\u30bf\u30a4\u30ba\u306e\u30d0\u30a4\u30d1\u30b9<\/h5>\n<p>PALChain \u30af\u30e9\u30b9\u306e <span style=\"font-family: 'courier new', courier, monospace;\">from_math_prompt()<\/span> \u30e1\u30bd\u30c3\u30c9\u5185\u90e8\u3067\u306f\u3001LangChain Experimental \u306e\u63a1\u7528\u3059\u308b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3 \u30e1\u30ab\u30cb\u30ba\u30e0\u306b 2 \u3064\u306e\u30d5\u30e9\u30b0\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li><span style=\"font-family: 'courier new', courier, monospace;\">allow_imports<\/span><\/li>\n<li><span style=\"font-family: 'courier new', courier, monospace;\">allow_command_exec<\/span><\/li>\n<\/ul>\n<p>\u3053\u308c\u3089\u306e\u30d5\u30e9\u30b0\u306f\u305d\u308c\u305e\u308c\u3001\u300c\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\u304c\u8a31\u53ef\u3055\u308c\u308b\u304b\u300d\u3001\u300c\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u6a5f\u80fd\u304c\u8a31\u53ef\u3055\u308c\u308b\u304b\u300d\u3092\u5236\u5fa1\u3057\u307e\u3059\u3002\u56f3 5 \u306b\u3053\u308c\u3089\u306e\u30c1\u30a7\u30c3\u30af\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li><span style=\"font-family: 'courier new', courier, monospace;\">allow_imports <\/span>\u304c<span style=\"font-family: 'courier new', courier, monospace;\"> False <\/span>\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u691c\u8a3c\u3067 import \u6587\u304c\u30c1\u30a7\u30c3\u30af\u3055\u308c\u3001\u898b\u3064\u304b\u3063\u305f\u5834\u5408\u306f\u4f8b\u5916\u3092\u767a\u751f\u3055\u305b\u307e\u3059\u3002<\/li>\n<li><span style=\"font-family: 'courier new', courier, monospace;\">allow_command_exec<\/span> \u304c <span style=\"font-family: 'courier new', courier, monospace;\">False<\/span> \u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u691c\u8a3c\u3067\u30b3\u30fc\u30c9\u304c\u5371\u967a\u3068\u307f\u306a\u3055\u308c\u308b\u95a2\u6570\u3092\u547c\u3073\u51fa\u3057\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u304c\u30c1\u30a7\u30c3\u30af\u3055\u308c\u307e\u3059\u3002\n<ul>\n<li>\u691c\u8a3c\u30b3\u30fc\u30c9\u306b\u306f\u5371\u967a\u306a\u95a2\u6570\u306e\u30d6\u30ed\u30c3\u30af\u30ea\u30b9\u30c8\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/li>\n<li>\u30b3\u30fc\u30c9\u304c\u9001\u4fe1\u3055\u308c\u308b\u3068\u3001\u30b3\u30fc\u30c9\u306f\u69cb\u6587\u30c4\u30ea\u30fc\u3078\u3068\u30d1\u30fc\u30b9\u3055\u308c\u3001\u305d\u306e\u30ce\u30fc\u30c9\u304c\u30a4\u30c6\u30ec\u30fc\u30c8\u3055\u308c\u3066\u95a2\u6570\u547c\u3073\u51fa\u3057\u304c\u8b58\u5225\u3055\u308c\u307e\u3059\u3002<\/li>\n<li>\u3044\u305a\u308c\u304b\u306e\u95a2\u6570\u304c\u30d6\u30ed\u30c3\u30af\u30ea\u30b9\u30c8\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u306b\u4e00\u81f4\u3059\u308c\u3070\u3001<span style=\"font-family: 'courier new', courier, monospace;\">ValueError<\/span> \u304c\u30c8\u30ea\u30ac\u30fc\u3055\u308c\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<figure id=\"attachment_135712\" aria-describedby=\"caption-attachment-135712\" style=\"width: 800px\" class=\"wp-caption aligncenter\"><img  class=\"wp-image-135712 lozad\"  data-src=\"https:\/\/unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/word-image-971414-135701-5.png\" alt=\"\u30c0\u30fc\u30af\u30c6\u30fc\u30de\u306e\u9ed2\u3044\u80cc\u666f\u306e\u4e0a\u306b\u3001\u8d64\u3001\u7dd1\u3001\u767d\u306a\u3069\u306e\u30c6\u30ad\u30b9\u30c8\u304c\u30b3\u30fc\u30c9\u3092\u8868\u793a\u3057\u3066\u3044\u308b\u3001\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 \u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306e\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u3002\u3053\u306e\u30b3\u30fc\u30c9\u306b\u306f\u3055\u307e\u3056\u307e\u306a\u8981\u7d20\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u95a2\u6570\u5b9a\u7fa9\u3001\u6761\u4ef6\u6587\u3001\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u3084\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9 \u30ce\u30fc\u30c9\u306e\u6a5f\u80fd\u306b\u95a2\u9023\u3059\u308b\u554f\u984c\u3092\u793a\u3059\u30a8\u30e9\u30fc \u30e1\u30c3\u30bb\u30fc\u30b8\u306a\u3069\u3067\u3059\u3002\" width=\"800\" height=\"627\" srcset=\"https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/word-image-971414-135701-5.png 1996w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/word-image-971414-135701-5-562x440.png 562w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/word-image-971414-135701-5-893x700.png 893w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/word-image-971414-135701-5-768x602.png 768w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/word-image-971414-135701-5-1536x1204.png 1536w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption id=\"caption-attachment-135712\" class=\"wp-caption-text\">\u56f3 5. CVE-2023-44467 \u306e\u8106\u5f31\u306a\u30b3\u30fc\u30c9<\/figcaption><\/figure>\n<p>\u30d0\u30fc\u30b8\u30e7\u30f3 0.3.5 \u307e\u3067\u306f\u3001LangChain \u306e\u30d6\u30ed\u30c3\u30af\u30ea\u30b9\u30c8\u306b\u306f <span style=\"font-family: 'courier new', courier, monospace;\">system<\/span>\u3001<span style=\"font-family: 'courier new', courier, monospace;\">exec<\/span>\u3001<span style=\"font-family: 'courier new', courier, monospace;\">execfile<\/span>\u3001<span style=\"font-family: 'courier new', courier, monospace;\">eval<\/span> \u306e 4 \u3064\u306e\u95a2\u6570\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3057\u305f\u3002LangChain \u3067\u306f\u3001\u3068\u304f\u306b import \u6587\u3068\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u306e\u4e21\u65b9\u304c\u5236\u9650\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u3053\u308c\u3089\u306e\u95a2\u6570\u3060\u3051\u3067\u5371\u967a\u306a\u95a2\u6570\u306e\u5b9f\u884c\u30ea\u30b9\u30af\u306e\u7de9\u548c\u3067\u304d\u308b\u3068\u5224\u65ad\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u4f8b\u3092\u4ee5\u4e0b\u306b\u3042\u3052\u307e\u3059\u3002<\/p>\n<ul>\n<li><span style=\"font-family: 'courier new', courier, monospace;\">system<\/span>: <span style=\"font-family: 'courier new', courier, monospace;\">os.system()<\/span> \u3092\u9632\u6b62\u3059\u308b\u3002\u3053\u308c\u306e\u5b9f\u884c\u306b\u306f <span style=\"font-family: 'courier new', courier, monospace;\">import os<\/span> \u3082\u5fc5\u8981\u3060\u304c <span style=\"font-family: 'courier new', courier, monospace;\">allow_imports<\/span> \u304c <span style=\"font-family: 'courier new', courier, monospace;\">False<\/span> \u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308c\u3070 <span style=\"font-family: 'courier new', courier, monospace;\">import os<\/span> \u306f\u7981\u6b62\u3055\u308c\u308b\u3002<\/li>\n<li><span style=\"font-family: 'courier new', courier, monospace;\">exec<\/span>: <span style=\"font-family: 'courier new', courier, monospace;\">exec()<\/span> \u95a2\u6570\u3092\u30d6\u30ed\u30c3\u30af\u3059\u308b\u3002\u3053\u306e <span style=\"font-family: 'courier new', courier, monospace;\">exec()<\/span> \u95a2\u6570\u306f\u3001\u4efb\u610f\u306e\u6587\u5b57\u5217\u3092\u30b3\u30fc\u30c9\u3068\u3057\u3066\u8a55\u4fa1\u3067\u304d\u308b\u95a2\u6570\u3002<\/li>\n<li><span style=\"font-family: 'courier new', courier, monospace;\">execfile<\/span>: <span style=\"font-family: 'courier new', courier, monospace;\">execfile(\"malicious.py\")<\/span> \u3068\u3044\u3063\u305f\u6587\u306e\u4f7f\u7528\u3092\u7981\u6b62\u3057\u3001\u6307\u5b9a\u30d5\u30a1\u30a4\u30eb\u5185\u306e\u4efb\u610f\u306e\u30b3\u30fc\u30c9\u306e\u5b9f\u884c\u3092\u9632\u3050\u3002<\/li>\n<li><span style=\"font-family: 'courier new', courier, monospace;\">eval<\/span>: <span style=\"font-family: 'courier new', courier, monospace;\">eval()<\/span> \u95a2\u6570\u3092\u30d6\u30ed\u30c3\u30af\u3059\u308b\u3002<span style=\"font-family: 'courier new', courier, monospace;\">eval()<\/span> \u95a2\u6570\u306f\u4efb\u610f\u306e\u6587\u5b57\u5217\u3092\u30b3\u30fc\u30c9\u3068\u3057\u3066\u8a55\u4fa1\u3067\u304d\u308b\u95a2\u6570\u3002<\/li>\n<\/ul>\n<p>\u3053\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u3067\u306f\u3001import \u6587\u3092\u7981\u6b62\u3057\u3001\u7279\u5b9a\u306e\u7d44\u307f\u8fbc\u307f\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u95a2\u6570\u3092\u30d6\u30ed\u30c3\u30af\u3059\u308b\u3053\u3068\u3067\u3001\u7406\u8ad6\u4e0a\u3001\u8a31\u53ef\u3055\u308c\u306a\u3044\u30b3\u30fc\u30c9\u3084\u6709\u5bb3\u30b3\u30fc\u30c9\u306e\u5b9f\u884c\u30ea\u30b9\u30af\u304c\u7de9\u548c\u3055\u308c\u307e\u3059\u3002\u305f\u3060\u3057\u3053\u3046\u3057\u305f\u5236\u9650\u306e\u5b9f\u88c5\u306f\u96e3\u3057\u304f\u3001\u3068\u304f\u306b\u30d0\u30a4\u30d1\u30b9\u6280\u8853\u304c\u305f\u304f\u3055\u3093\u3042\u308bPython \u306e\u3088\u3046\u306b\u9ad8\u5ea6\u306b\u52d5\u7684\u306a\u8a00\u8a9e\u3067\u306f\u305d\u308c\u304c\u9855\u8457\u3067\u3059\u3002<\/p>\n<p>\u3053\u308c\u3089\u306e\u30d0\u30a4\u30d1\u30b9\u306e\u8457\u540d\u306a\u4f8b\u306f\u3001\u7d44\u307f\u8fbc\u307f <a href=\"https:\/\/docs.python.org\/3\/library\/functions.html#import__\" target=\"_blank\" rel=\"noopener\"><span style=\"font-family: 'courier new', courier, monospace;\">__import__()<\/span><\/a> \u95a2\u6570\u306e\u5229\u7528\u3067\u3001\u3053\u306e\u95a2\u6570\u306f\u30e2\u30b8\u30e5\u30fc\u30eb\u540d\u306e\u6587\u5b57\u5217\u3092\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306b\u6307\u5b9a\u3057\u3066\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u65b9\u6cd5\u3067\u3001\u62bd\u8c61\u69cb\u6587\u6728 (AST) \u3092\u56de\u907f\u3057\u3001import \u6587\u306e\u30b5\u30cb\u30bf\u30a4\u30ba\u3092\u56de\u907f\u3057\u3001<span style=\"font-family: 'courier new', courier, monospace;\">subprocess<\/span> \u306e\u3088\u3046\u306a\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u6982\u5ff5\u5b9f\u8a3c (\u56f3 6 \u3068 7) \u306f\u3001<span style=\"font-family: 'courier new', courier, monospace;\">subprocess <\/span>\u30e2 \u30b8\u30e5\u30fc\u30eb\u3092\u4f7f\u3063\u305f\u30ea\u30e2\u30fc\u30c8 \u30b3\u30fc\u30c9\u5b9f\u884c\u3092\u8868\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h4><a id=\"post-135724-_182ntg3awiol\"><\/a>PoC (\u6982\u5ff5\u5b9f\u8a3c)<\/h4>\n<figure id=\"attachment_135714\" aria-describedby=\"caption-attachment-135714\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><img  class=\"wp-image-135714 lozad\"  data-src=\"https:\/\/unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/word-image-975910-135701-6.png\" alt=\"Python \u30b3\u30fc\u30c9\u3092\u8868\u793a\u3059\u308b\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc \u30b3\u30fc\u30c9 \u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u3002\u30b3\u30fc\u30c9\u306f\u3001LangChain \u3068 OpenAI \u304b\u3089\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u3066\u3044\u3066\u3001\u8a08\u7b97\u30bf\u30b9\u30af\u7528\u306e\u30d7\u30ec\u30fc\u30b9\u30db\u30eb\u30c0\u30fc\u3092\u542b\u3093\u3067\u3044\u307e\u3059\u3002\" width=\"600\" height=\"290\" srcset=\"https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/word-image-975910-135701-6.png 1618w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/word-image-975910-135701-6-786x380.png 786w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/word-image-975910-135701-6-1448x700.png 1448w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/word-image-975910-135701-6-768x371.png 768w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/word-image-975910-135701-6-1536x742.png 1536w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><figcaption id=\"caption-attachment-135714\" class=\"wp-caption-text\">\u56f3 6. CVE-2023-44467 \u306e\u6982\u5ff5\u5b9f\u8a3c\u30b3\u30fc\u30c9<\/figcaption><\/figure>\n<figure id=\"attachment_135716\" aria-describedby=\"caption-attachment-135716\" style=\"width: 523px\" class=\"wp-caption aligncenter\"><img  class=\"wp-image-135716 lozad\"  data-src=\"https:\/\/unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/word-image-980062-135701-7.png\" alt=\"\u30c0\u30fc\u30af \u30c6\u30fc\u30de\u3092\u4f7f\u3063\u305f\u9ed2\u3044\u80cc\u666f\u306b\u3001\u30b3\u30de\u30f3\u30c9 \u30e9\u30a4\u30f3 \u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u8868\u793a\u3057\u3066\u3044\u308b\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u753b\u9762\u3002\u30c6\u30ad\u30b9\u30c8\u306b\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u304c Python \u3068 Linux \u30b3\u30de\u30f3\u30c9\u3092\u64cd\u4f5c\u3057\u3066\u3044\u308b\u69d8\u5b50\u304c\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u30c6\u30ad\u30b9\u30c8\u306b\u306f\u3001subprocess \u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u3066\u5b9f\u884c\u3059\u308b Python \u30b3\u30fc\u30c9\u3068\u3001\u300cls\u300d\u3084\u300cvim\u300d\u306a\u3069\u306e Linux \u30b3\u30de\u30f3\u30c9\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\" width=\"523\" height=\"306\" \/><figcaption id=\"caption-attachment-135716\" class=\"wp-caption-text\">\u56f3 7. CVE-2023-44467 \u306e\u6982\u5ff5\u5b9f\u8a3c\u306e\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8<\/figcaption><\/figure>\n<p>\u30d1\u30ed\u30a2\u30eb\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30b9\u306f\u3001\u3053\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u554f\u984c\u306b\u3064\u3044\u3066\u3001\u305f\u3060\u3061\u306b LangChain \u30c1\u30fc\u30e0\u306b\u9023\u7d61\u3057\u307e\u3057\u305f\u3002\u3053\u306e\u554f\u984c\u306b\u5bfe\u5fdc\u3057\u3001\u5c06\u6765\u540c\u69d8\u306e\u30ea\u30b9\u30af\u3092\u8efd\u6e1b\u3059\u308b\u305f\u3081\u3001\u901a\u77e5\u306e\u7fcc\u65e5\u306b LangChain \u30c1\u30fc\u30e0\u306f <a href=\"https:\/\/pypi.org\/project\/langchain-experimental\/0.0.13\/\" target=\"_blank\" rel=\"noopener\">langchain-experimental \u306e pypi \u30da\u30fc\u30b8<\/a>\u306b\u8b66\u544a\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u516c\u958b\u3057\u307e\u3057\u305f\u3002<\/p>\n<h4><a id=\"post-135724-_icltyeyxmfrt\"><\/a>CVE-2023-44467 \u306e\u7de9\u548c\u7b56<\/h4>\n<p>LangChain Experimental \u306f\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u3067\u3042\u308a\u305d\u306e\u7de9\u548c\u7b56\u306f\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u306e\u4f7f\u7528\u65b9\u6cd5\u306b\u5927\u304d\u304f\u4f9d\u5b58\u3057\u307e\u3059\u304c\u3001\u4fb5\u5bb3\u30ea\u30b9\u30af\u306e\u7de9\u548c\u65b9\u6cd5\u306f\u3042\u308a\u307e\u3059\u3002\u30d7\u30eb \u30ea\u30af\u30a8\u30b9\u30c8 <a href=\"https:\/\/github.com\/langchain-ai\/langchain\/pull\/11233\" target=\"_blank\" rel=\"noopener\">langchain-ai\/langchain#11233<\/a> \u306f\u30d6\u30ed\u30c3\u30af\u306e\u5bfe\u8c61\u3092\u62e1\u5927\u3057\u3001\u8ffd\u52a0\u306e\u95a2\u6570\u3084\u30e1\u30bd\u30c3\u30c9\u3092\u542b\u3081\u308b\u3053\u3068\u3067\u3001\u8a31\u53ef\u3055\u308c\u306a\u3044\u30b3\u30fc\u30c9\u306e\u5b9f\u884c\u30ea\u30b9\u30af\u3092\u3055\u3089\u306b\u7de9\u548c\u3057\u3088\u3046\u3068\u3059\u308b\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>LLM \u304c\u751f\u6210\u3057\u305f\u30b3\u30fc\u30c9\u306e\u4f7f\u7528\u306f\u3001\u3053\u3046\u3057\u305f\u30e2\u30c7\u30eb\u304c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u4e0a\u306e\u8106\u5f31\u6027\u3084\u8ad6\u7406\u30a8\u30e9\u30fc\u306e\u3042\u308b\u30b3\u30fc\u30c9\u3092\u8aa4\u3063\u3066\u751f\u6210\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u3053\u3068\u304b\u3089\u3001\u91cd\u5927\u306a\u30ea\u30b9\u30af\u306b\u3064\u306a\u304c\u308a\u304b\u306d\u307e\u305b\u3093\u3002\u3053\u3046\u3057\u305f\u30b3\u30fc\u30c9\u306f\u3001\u5b89\u5168\u306a\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u624b\u6cd5\u306b\u5bfe\u3059\u308b\u6df1\u3044\u7406\u89e3\u304c\u3042\u308b\u308f\u3051\u3067\u306a\u304f\u3001\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0 \u30c7\u30fc\u30bf\u306e\u30d1\u30bf\u30fc\u30f3\u306b\u4f9d\u5b58\u3057\u3066\u3044\u308b\u3053\u3068\u304b\u3089\u3001\u504f\u3063\u305f\u30b3\u30fc\u30c9\u3084\u30b3\u30f3\u30d7\u30e9\u30a4\u30a2\u30f3\u30b9\u306b\u6e96\u62e0\u3057\u306a\u3044\u30b3\u30fc\u30c9\u3092\u751f\u3080\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u3046\u3057\u305f\u751f\u6210\u30b3\u30fc\u30c9\u3092\u7d44\u307f\u8fbc\u3093\u3060\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2 \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u6574\u5408\u6027\u3068\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u78ba\u4fdd\u306b\u306f\u3001\u53b3\u683c\u306a\u691c\u8a3c\u3068\u7d99\u7d9a\u7684\u76e3\u8996\u304c\u4e0d\u53ef\u6b20\u3067\u3059\u3002<\/p>\n<h2><a id=\"post-135724-_pfzur28qss3g\"><\/a><strong>\u7d50\u8ad6<\/strong><\/h2>\n<p>AI (\u3068\u304f\u306b LLM) \u306e\u5c0e\u5165\u304c\u52a0\u901f\u3057\u3066\u3044\u308b\u3053\u3068\u304b\u3089\u3001\u3053\u308c\u3089\u306e\u30c6\u30af\u30ce\u30ed\u30b8\u30fc\u306b\u5185\u5728\u3059\u308b\u30ea\u30b9\u30af\u306e\u8a8d\u8b58\u304c\u91cd\u8981\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002AI \u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u306e\u5c0e\u5165\u3092\u6025\u3050\u3042\u307e\u308a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5bfe\u7b56\u306e\u5fc5\u8981\u6027\u304c\u8efd\u3093\u3058\u3089\u308c\u3001\u305d\u308c\u304c\u8106\u5f31\u6027\u306b\u3064\u306a\u304c\u3063\u3066\u3001\u60aa\u610f\u306e\u3042\u308b\u653b\u6483\u8005\u306b\u60aa\u7528\u3055\u308c\u3066\u3057\u307e\u3046\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30b5\u30a4\u30d0\u30fc\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3 \u30c1\u30fc\u30e0\u306b\u3068\u3063\u3066\u3001\u3053\u308c\u3089\u306e\u30ea\u30b9\u30af\u306e\u4e88\u6e2c\u3068\u53b3\u683c\u306a\u9632\u5fa1\u7b56\u306e\u5b9f\u88c5\u306f\u4e0d\u53ef\u6b20\u3067\u3059\u3002\u305d\u3046\u3059\u308c\u3070\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u4e0a\u306e\u5f31\u70b9\u3092\u60aa\u7528\u3055\u308c\u308b\u524d\u306b\u7279\u5b9a\u3057\u3066\u5bfe\u51e6\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u9632\u5fa1\u5074\u306f\u3001\u6d1e\u5bdf\u306e\u5171\u6709\u3084\u4fdd\u8b77\u306e\u5f37\u5316\u3067\u5354\u529b\u3057\u3042\u3046\u30b5\u30a4\u30d0\u30fc\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3 \u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u306e\u80b2\u6210\u306b\u53d6\u308a\u7d44\u3080\u306e\u3082\u3088\u3044\u3067\u3057\u3087\u3046\u3002\u305d\u3046\u3057\u305f\u30a2\u30d7\u30ed\u30fc\u30c1\u306f\u3001AI \u30c6\u30af\u30ce\u30ed\u30b8\u30fc\u306e\u6025\u901f\u306a\u9032\u6b69\u306b\u3082\u5bfe\u5fdc\u3057\u3046\u308b\u3001\u6253\u305f\u308c\u5f37\u3044\u30b5\u30a4\u30d0\u30fc\u74b0\u5883\u306e\u69cb\u7bc9\u306b\u3068\u3063\u3066\u4e0d\u53ef\u6b20\u3067\u3059\u3002<\/p>\n<h3><a id=\"post-135724-_pnatwjz9ohy7\"><\/a>\u30d1\u30ed\u30a2\u30eb\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30b9\u306e\u4fdd\u8b77\u3068\u7de9\u548c\u7b56<\/h3>\n<p>\u30d1\u30ed\u30a2\u30eb\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30b9\u306e\u304a\u5ba2\u69d8\u306f\u3001<a href=\"https:\/\/www.paloaltonetworks.jp\/network-security\/advanced-threat-prevention\" target=\"_blank\" rel=\"noopener\">Advanced Threat Prevention<\/a> \u3092\u542b\u3080 <a href=\"https:\/\/www.paloaltonetworks.jp\/network-security\/security-subscriptions\" target=\"_blank\" rel=\"noopener\">Cloud-Delivered Security Services (\u30af\u30e9\u30a6\u30c9\u914d\u4fe1\u578b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b5\u30fc\u30d3\u30b9)<\/a> \u3092\u6709\u52b9\u306b\u3057\u305f<a href=\"https:\/\/www.paloaltonetworks.jp\/network-security\/next-generation-firewall\" target=\"_blank\" rel=\"noopener\">\u6b21\u4e16\u4ee3\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb(NGFW) <\/a>\u306a\u3069\u306e\u88fd\u54c1\u306b\u3088\u3063\u3066\u3055\u3089\u306b\u9069\u5207\u306b\u4fdd\u8b77\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/docs.paloaltonetworks.com\/pan-os\/10-2\/pan-os-admin\/threat-prevention\/about-threat-prevention\/advanced-threat-prevention\" target=\"_blank\" rel=\"noopener\">Advanced Threat Prevention<\/a> \u306e\u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3\u3092\u6709\u52b9\u306b\u3057\u305f\u6b21\u4e16\u4ee3\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb (<a href=\"https:\/\/docs.paloaltonetworks.com\/ngfw\" target=\"_blank\" rel=\"noopener\">NGFW<\/a>) \u306f\u3001Threat Prevention \u30b7\u30b0\u30cd\u30c1\u30e3 <a href=\"https:\/\/threatvault.paloaltonetworks.com\/?query=95113\" target=\"_blank\" rel=\"noopener\">95113<\/a> \u3092\u901a\u3058\u305f<a href=\"https:\/\/docs.paloaltonetworks.com\/advanced-threat-prevention\" target=\"_blank\" rel=\"noopener\">\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9<\/a>\u306b\u3088\u308a\u3001\u30b3\u30de\u30f3\u30c9 \u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3 \u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3092\u8b58\u5225\u30fb\u30d6\u30ed\u30c3\u30af\u3067\u304d\u307e\u3059\u3002<\/li>\n<li><a href=\"https:\/\/docs-cortex.paloaltonetworks.com\/p\/XDR\" target=\"_blank\" rel=\"noopener\">Cortex XDR<\/a> \u304a\u3088\u3073 <a href=\"https:\/\/docs-cortex.paloaltonetworks.com\/p\/XSIAM\" target=\"_blank\" rel=\"noopener\">Cortex XSIAM <\/a>\u306f\u591a\u5c64\u4fdd\u8b77\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u306b\u3088\u308a\u3001\u30a8\u30af\u30b9\u30d7\u30ed\u30a4\u30c8\u5f8c\u306e\u30a2\u30af\u30c6\u30a3\u30d3\u30c6\u30a3\u304b\u3089\u306e\u4fdd\u8b77\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/li>\n<li><a href=\"https:\/\/start.paloaltonetworks.com\/experience-precision-ai.html\" target=\"_blank\" rel=\"noopener\">Precision AI\u2122<\/a> \u3092\u642d\u8f09\u3057\u305f\u65b0\u88fd\u54c1\u306f\u3001AI \u306e\u751f\u6210\u3057\u305f\u653b\u6483\u3092\u8b58\u5225\u30fb\u30d6\u30ed\u30c3\u30af\u3057\u3001\u30dd\u30ea\u30e2\u30fc\u30d5\u30a3\u30c3\u30af\u578b\u8105\u5a01\u306e\u52a0\u901f\u9632\u6b62\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/li>\n<li><a href=\"https:\/\/www.paloaltonetworks.jp\/prisma\/cloud\" target=\"_blank\" rel=\"noopener\">Prisma Cloud<\/a> \u306f\u3001\u30af\u30e9\u30a6\u30c9\u4eee\u60f3\u30de\u30b7\u30f3\u306a\u3044\u3057\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306b<a href=\"https:\/\/docs.prismacloud.io\/en\/classic\/compute-admin-guide\/vulnerability-management\/search-cves\" target=\"_blank\" rel=\"noopener\">\u8106\u5f31\u306a<\/a>\u30d0\u30fc\u30b8\u30e7\u30f3\u306e LangChain \u304c\u30c7\u30d7\u30ed\u30a4\u306a\u3044\u3057\u516c\u958b\u3055\u308c\u308b\u3053\u3068\u3092\u691c\u51fa\u3057\u3066\u9632\u6b62\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>\u4fb5\u5bb3\u306e\u61f8\u5ff5\u304c\u3042\u308a\u5f0a\u793e\u306b\u30a4\u30f3\u30b7\u30c7\u30f3\u30c8\u30ec\u30b9\u30dd\u30f3\u30b9\u306b\u95a2\u3059\u308b\u3054\u76f8\u8ac7\u3092\u306a\u3055\u308a\u305f\u3044\u5834\u5408\u306f\u3001<a href=\"https:\/\/start.paloaltonetworks.jp\/contact-unit42.html\" target=\"_blank\" rel=\"noopener\">\u3053\u3061\u3089\u306e\u30d5\u30a9\u30fc\u30e0<\/a>\u304b\u3089\u3054\u9023\u7d61\u3044\u305f\u3060\u304f\u304b\u3001infojapan@paloaltonetworks.com\u307e\u3067\u30e1\u30fc\u30eb\u306b\u3066\u3054\u9023\u7d61\u3044\u305f\u3060\u304f\u304b\u3001\u4e0b\u8a18\u306e\u96fb\u8a71\u756a\u53f7\u307e\u3067\u304a\u554f\u3044\u5408\u308f\u305b\u304f\u3060\u3055\u3044(\u3054\u76f8\u8ac7\u306f\u5f0a\u793e\u88fd\u54c1\u306e\u304a\u5ba2\u69d8\u306b\u306f\u9650\u5b9a\u3055\u308c\u307e\u305b\u3093)\u3002<\/p>\n<ul>\n<li>\u5317\u7c73\u30d5\u30ea\u30fc\u30c0\u30a4\u30e4\u30eb: 866.486.4842 (866.4.UNIT42)<\/li>\n<li>EMEA: +31.20.299.3130<\/li>\n<li>APAC: +65.6983.8730<\/li>\n<li>\u65e5\u672c: (+81) 50-1790-0200<\/li>\n<\/ul>\n<h2><a id=\"post-135724-_ooxafngtfwuq\"><\/a><strong>\u8ffd\u52a0\u30ea\u30bd\u30fc\u30b9<\/strong><\/h2>\n<ul>\n<li><a href=\"https:\/\/python.langchain.com\/docs\/get_started\/introduction\" target=\"_blank\" rel=\"noopener\">Introduction to LangChain<\/a> \u2013 LangChain<\/li>\n<\/ul>\n<p class=\"p1\"><i>2024-07-24 08:40 JST \u82f1\u8a9e\u7248\u66f4\u65b0\u65e5 2024-07-23 11:20 PDT \u306e\u5185\u5bb9\u3092\u53cd\u6620<\/i><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981 \u30d1\u30ed\u30a2\u30eb\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30b9\u306e\u30ea\u30b5\u30fc\u30c1\u30e3\u30fc\u306f GitHub \u3067 81,000 \u500b\u4ee5\u4e0a\u306e\u30b9\u30bf\u30fc\u3092\u7372\u5f97\u3057\u3066\u3044\u308b\u4eba\u6c17\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u751f\u6210 AI \u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af LangChain \u306b\u304a\u3051\u308b 2 \u3064\u306e\u8106\u5f31\u6027\u3092\u7279\u5b9a\u3057\u307e\u3057\u305f\u3002 CV<\/p>\n","protected":false},"author":340,"featured_media":135703,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[4428,4470],"tags":[8353,8354,8355,8356,8357],"product_categories":[4442,4446,8283,4447,4448,4450,4456,4465],"coauthors":[3736,2070],"class_list":["post-135724","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-threat-research-ja","category-vulnerabilities-ja","tag-cve-2023-44467-ja","tag-cve-2023-46229-ja","tag-genai-ja","tag-langchain-ja","tag-llm-ja","product_categories-advanced-threat-prevention-ja","product_categories-cloud-delivered-security-services-ja","product_categories-code-to-cloud-platform-ja","product_categories-cortex-ja","product_categories-cortex-xdr-ja","product_categories-cortex-xsiam-ja","product_categories-next-generation-firewall-ja","product_categories-unit-42-incident-response-ja"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.0 (Yoast SEO v27.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>LangChain \u306e\u751f\u6210 AI \u306b\u304a\u3051\u308b\u8106\u5f31\u6027 (CVE-2023-46229\u3001CVE-2023-44467)<\/title>\n<meta name=\"description\" content=\"Unit 42 \u306e\u30ea\u30b5\u30fc\u30c1\u30e3\u30fc\u304c\u751f\u6210 AI \u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e LangChain \u306b\u898b\u3064\u3051\u305f 2 \u3064\u306e\u8106\u5f31\u6027\u306e\u6280\u8853\u6982\u8981\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002 CVE-2023-46229 \u306f SSRF \u306b\u3064\u306a\u304c\u308a\u3046\u308b\u8106\u5f31\u6027\u3067 CVE-2023-44467 \u306f\u30d7\u30ed\u30f3\u30d7\u30c8 \u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u306e\u8106\u5f31\u6027\u3067\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/unit42.paloaltonetworks.jp\/langchain-vulnerabilities\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"LangChain \u306e\u751f\u6210 AI \u306b\u304a\u3051\u308b\u8106\u5f31\u6027 (CVE-2023-46229\u3001CVE-2023-44467)\" \/>\n<meta property=\"og:description\" content=\"Unit 42 \u306e\u30ea\u30b5\u30fc\u30c1\u30e3\u30fc\u304c\u751f\u6210 AI \u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e LangChain \u306b\u898b\u3064\u3051\u305f 2 \u3064\u306e\u8106\u5f31\u6027\u306e\u6280\u8853\u6982\u8981\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002 CVE-2023-46229 \u306f SSRF \u306b\u3064\u306a\u304c\u308a\u3046\u308b\u8106\u5f31\u6027\u3067 CVE-2023-44467 \u306f\u30d7\u30ed\u30f3\u30d7\u30c8 \u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u306e\u8106\u5f31\u6027\u3067\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/unit42.paloaltonetworks.jp\/langchain-vulnerabilities\/\" \/>\n<meta property=\"og:site_name\" content=\"Unit 42\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-23T10:00:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-24T11:17:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/07_Vulnerabilities_1920x900.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"900\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Yiheng An, Haozhe Zhang\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"LangChain \u306e\u751f\u6210 AI \u306b\u304a\u3051\u308b\u8106\u5f31\u6027 (CVE-2023-46229\u3001CVE-2023-44467)","description":"Unit 42 \u306e\u30ea\u30b5\u30fc\u30c1\u30e3\u30fc\u304c\u751f\u6210 AI \u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e LangChain \u306b\u898b\u3064\u3051\u305f 2 \u3064\u306e\u8106\u5f31\u6027\u306e\u6280\u8853\u6982\u8981\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002 CVE-2023-46229 \u306f SSRF \u306b\u3064\u306a\u304c\u308a\u3046\u308b\u8106\u5f31\u6027\u3067 CVE-2023-44467 \u306f\u30d7\u30ed\u30f3\u30d7\u30c8 \u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u306e\u8106\u5f31\u6027\u3067\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/unit42.paloaltonetworks.jp\/langchain-vulnerabilities\/","og_locale":"ja_JP","og_type":"article","og_title":"LangChain \u306e\u751f\u6210 AI \u306b\u304a\u3051\u308b\u8106\u5f31\u6027 (CVE-2023-46229\u3001CVE-2023-44467)","og_description":"Unit 42 \u306e\u30ea\u30b5\u30fc\u30c1\u30e3\u30fc\u304c\u751f\u6210 AI \u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e LangChain \u306b\u898b\u3064\u3051\u305f 2 \u3064\u306e\u8106\u5f31\u6027\u306e\u6280\u8853\u6982\u8981\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002 CVE-2023-46229 \u306f SSRF \u306b\u3064\u306a\u304c\u308a\u3046\u308b\u8106\u5f31\u6027\u3067 CVE-2023-44467 \u306f\u30d7\u30ed\u30f3\u30d7\u30c8 \u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u306e\u8106\u5f31\u6027\u3067\u3059\u3002","og_url":"https:\/\/unit42.paloaltonetworks.jp\/langchain-vulnerabilities\/","og_site_name":"Unit 42","article_published_time":"2024-07-23T10:00:38+00:00","article_modified_time":"2024-07-24T11:17:27+00:00","og_image":[{"width":1920,"height":900,"url":"https:\/\/unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/07_Vulnerabilities_1920x900.jpg","type":"image\/jpeg"}],"author":"Yiheng An, Haozhe Zhang","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/unit42.paloaltonetworks.jp\/langchain-vulnerabilities\/#article","isPartOf":{"@id":"https:\/\/unit42.paloaltonetworks.com\/ja\/langchain-vulnerabilities\/"},"author":{"name":"Haozhe Zhang","@id":"https:\/\/unit42.paloaltonetworks.com\/#\/schema\/person\/a55d18d178eaf2a45f790ec5af0356c0"},"headline":"LangChain \u306e\u751f\u6210 AI \u306b\u304a\u3051\u308b\u8106\u5f31\u6027 (CVE-2023-46229\u3001CVE-2023-44467)","datePublished":"2024-07-23T10:00:38+00:00","dateModified":"2024-07-24T11:17:27+00:00","mainEntityOfPage":{"@id":"https:\/\/unit42.paloaltonetworks.com\/ja\/langchain-vulnerabilities\/"},"wordCount":404,"commentCount":0,"image":{"@id":"https:\/\/unit42.paloaltonetworks.jp\/langchain-vulnerabilities\/#primaryimage"},"thumbnailUrl":"https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/07_Vulnerabilities_1920x900.jpg","keywords":["CVE-2023-44467","CVE-2023-46229","GenAI","LangChain","LLM"],"articleSection":["\u8105\u5a01\u30ea\u30b5\u30fc\u30c1","\u8106\u5f31\u6027"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/unit42.paloaltonetworks.jp\/langchain-vulnerabilities\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/unit42.paloaltonetworks.com\/ja\/langchain-vulnerabilities\/","url":"https:\/\/unit42.paloaltonetworks.jp\/langchain-vulnerabilities\/","name":"LangChain \u306e\u751f\u6210 AI \u306b\u304a\u3051\u308b\u8106\u5f31\u6027 (CVE-2023-46229\u3001CVE-2023-44467)","isPartOf":{"@id":"https:\/\/unit42.paloaltonetworks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/unit42.paloaltonetworks.jp\/langchain-vulnerabilities\/#primaryimage"},"image":{"@id":"https:\/\/unit42.paloaltonetworks.jp\/langchain-vulnerabilities\/#primaryimage"},"thumbnailUrl":"https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/07_Vulnerabilities_1920x900.jpg","datePublished":"2024-07-23T10:00:38+00:00","dateModified":"2024-07-24T11:17:27+00:00","author":{"@id":"https:\/\/unit42.paloaltonetworks.com\/#\/schema\/person\/a55d18d178eaf2a45f790ec5af0356c0"},"description":"Unit 42 \u306e\u30ea\u30b5\u30fc\u30c1\u30e3\u30fc\u304c\u751f\u6210 AI \u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e LangChain \u306b\u898b\u3064\u3051\u305f 2 \u3064\u306e\u8106\u5f31\u6027\u306e\u6280\u8853\u6982\u8981\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002 CVE-2023-46229 \u306f SSRF \u306b\u3064\u306a\u304c\u308a\u3046\u308b\u8106\u5f31\u6027\u3067 CVE-2023-44467 \u306f\u30d7\u30ed\u30f3\u30d7\u30c8 \u30a4\u30f3\u30b8\u30a7\u30af\u30b7\u30e7\u30f3\u306e\u8106\u5f31\u6027\u3067\u3059\u3002","breadcrumb":{"@id":"https:\/\/unit42.paloaltonetworks.jp\/langchain-vulnerabilities\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/unit42.paloaltonetworks.jp\/langchain-vulnerabilities\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/unit42.paloaltonetworks.jp\/langchain-vulnerabilities\/#primaryimage","url":"https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/07_Vulnerabilities_1920x900.jpg","contentUrl":"https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/07\/07_Vulnerabilities_1920x900.jpg","width":1920,"height":900,"caption":"A pictorial representation of vulnerabilities affecting LangChain."},{"@type":"BreadcrumbList","@id":"https:\/\/unit42.paloaltonetworks.jp\/langchain-vulnerabilities\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/unit42.paloaltonetworks.com\/ja\/"},{"@type":"ListItem","position":2,"name":"LangChain \u306e\u751f\u6210 AI \u306b\u304a\u3051\u308b\u8106\u5f31\u6027 (CVE-2023-46229\u3001CVE-2023-44467)"}]},{"@type":"WebSite","@id":"https:\/\/unit42.paloaltonetworks.com\/#website","url":"https:\/\/unit42.paloaltonetworks.com\/","name":"Unit 42","description":"Palo Alto Networks","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/unit42.paloaltonetworks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/unit42.paloaltonetworks.com\/#\/schema\/person\/a55d18d178eaf2a45f790ec5af0356c0","name":"Haozhe Zhang","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/unit42.paloaltonetworks.com\/#\/schema\/person\/image\/9213e49ea48b7676660bac40d05c9e3e","url":"https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2018\/11\/unit-news-meta.svg","contentUrl":"https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2018\/11\/unit-news-meta.svg","caption":"Haozhe Zhang"},"jobTitle":"Principle Security Researcher","url":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/author\/haozhe-zhang\/"}]}},"_links":{"self":[{"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/posts\/135724","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/users\/340"}],"replies":[{"embeddable":true,"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/comments?post=135724"}],"version-history":[{"count":15,"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/posts\/135724\/revisions"}],"predecessor-version":[{"id":135833,"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/posts\/135724\/revisions\/135833"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/media\/135703"}],"wp:attachment":[{"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/media?parent=135724"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/categories?post=135724"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/tags?post=135724"},{"taxonomy":"product_categories","embeddable":true,"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/product_categories?post=135724"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/coauthors?post=135724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}