{"id":120526,"date":"2024-04-08T10:17:49","date_gmt":"2024-04-08T01:17:49","guid":{"rendered":"https:\/\/softantenna.com\/blog\/?p=120526"},"modified":"2024-04-08T10:17:49","modified_gmt":"2024-04-08T01:17:49","slug":"rubygems-xz-backdoor","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/rubygems-xz-backdoor\/","title":{"rendered":"\u3010\u6717\u5831\u3011RubyGems\u306fxz\/liblzma\u30d0\u30c3\u30af\u30c9\u30a2\u306e\u8106\u5f31\u6027\u306b\u5f71\u97ff\u3055\u308c\u3066\u3044\u306a\u3044\u4e8b\u304c\u5224\u660e"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2024\/04\/s_20240408_95743.jpg\" alt=\"S 20240408 95743\" title=\"s_20240408_95743.jpg\" border=\"0\" width=\"860\" height=\"560\" \/><\/p>\n<p>Unix\u7cfbOS\u3067\u5e83\u304f\u4f7f\u7528\u3055\u308c\u3066\u3044<a href=\"https:\/\/softantenna.com\/blog\/xz-backdoor\/\">\u308bxz\/liblzma\u3067\u767a\u898b\u3055\u308c\u305f\u8106\u5f31\u6027<\/a>\u306b\u95a2\u3057\u3066\u3001Ruby gem\u306e\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u30b5\u30fc\u30d3\u30b9<a href=\"https:\/\/rubygems.org\/\">RubyGems.org<\/a>\u306f\u5f71\u97ff\u3092\u53d7\u3051\u3066\u3044\u306a\u3044\u3053\u3068\u304c\u660e\u3089\u304b\u3068\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"https:\/\/blog.rubygems.org\/2024\/03\/31\/rubygems-and-xz.html\">\u516c\u5f0f\u30d6\u30ed\u30b0<\/a>\u306b\u3088\u308b\u3068\u3001RubyGems.org\u306e\u5b9f\u884c\u306b\u4f7f\u7528\u3055\u308c\u3066\u3044\u308b\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3060\u3051\u3067\u306a\u304f\u3001\u3053\u308c\u307e\u3067\u306b\u516c\u958b\u3055\u308c\u305f\u3059\u3079\u3066\u306egem\u306b\u3064\u3044\u3066\u5185\u90e8\u76e3\u67fb\u3092\u884c\u3044\u3001RubyGems.org\u304c\u5f71\u97ff\u3092\u53d7\u3051\u3066\u3044\u306a\u3044\u3060\u3051\u3067\u306a\u304f\u3001RubyGems.org\u3067\u516c\u958b\u3055\u308c\u3066\u3044\u308bgem\u306b\u3001\u8106\u5f31\u6027\u306e\u3042\u308bliblzma\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u542b\u307e\u308c\u3066\u3044\u306a\u3044\u3053\u3068\u304c\u78ba\u8a8d\u3055\u308c\u305f\u3068\u306e\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001Dockerfile\u7d4c\u7531\u3067\u30d3\u30eb\u30c9\u3055\u308c\u305fRubyGems.org\u306e\u30a2\u30d7\u30ea\u30b3\u30f3\u30c6\u30ca\u306b\u3001\u8106\u5f31\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u306eliblzma\u3084xz\u304c\u542b\u307e\u308c\u3066\u3044\u306a\u3044\u3053\u3068\u304c\u78ba\u8a8d\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u30a4\u30e1\u30fc\u30b8\u306fAlpine 3.18\u5b89\u5b9a\u7248\u306b\u57fa\u3065\u3044\u3066\u3044\u3066\u3001Alpine Linux\u306fmusl libc\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u30d0\u30c3\u30af\u30c9\u30a2\u3092\u8d77\u52d5\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u308b<a href=\"https:\/\/sourceware.org\/glibc\/wiki\/GNU_IFUNC\">glibc\u306eIFUNC<\/a>\u30e1\u30ab\u30cb\u30ba\u30e0\u306f\u542b\u307e\u308c\u3066\u3044\u306a\u3068\u306e\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u672c\u756a\u74b0\u5883\u306b\u30c7\u30d7\u30ed\u30a4\u3055\u308c\u308b\u30b3\u30f3\u30c6\u30ca\u306e\u30d3\u30eb\u30c9\u30d7\u30ed\u30bb\u30b9\u3082\u516c\u958b\u3055\u308c\u3066\u3044\u3066\u3001\u516c\u958b\u3055\u308c\u3066\u3044\u308bRubyGems.org\u306e\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9\u306b\u30b3\u30df\u30c3\u30c8\u3055\u308c\u308b\u305f\u3073\u306bGitHub Actions\u7d4c\u7531\u3067\u5b9f\u884c\u3055\u308c\u3001\u6700\u65b0\u306e\u30b3\u30f3\u30c6\u30ca\u30d3\u30eb\u30c9\u30b8\u30e7\u30d6\u306e\u30ed\u30b0\u306f\u3001\u95a2\u4fc2\u8005\u304c\u30d3\u30eb\u30c9\u3092\u518d\u73fe\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30d3\u30eb\u30c9\u3057\u305f\u30b3\u30f3\u30c6\u30ca\u3067find\/ -name'*lzma*' \u3092\u5b9f\u884c\u3057\u3066\u78ba\u8a8d\u3057\u305f\u3068\u3053\u308d\u3001\u30d0\u30fc\u30b8\u30e7\u30f35.4.3\u306b\u306e\u307f\u4f9d\u5b58\u3057\u3066\u304a\u308a\u3001\u8106\u5f31\u6027\u306e\u3042\u308b\u30d0\u30fc\u30b8\u30e7\u30f35.6.0\u30845.6.1\u306b\u306f\u4f9d\u5b58\u3057\u3066\u3044\u306a\u3044\u3053\u3068\u304c\u78ba\u8a8d\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>2024\u5e743\u670831\u65e5\u73fe\u5728\u3001RubyGems.org\u3067liblzma\u3092\u542b\u3080gem\u306f\u3001liblzma\u3068\u3044\u3046\u540c\u3058\u540d\u524d\u306egem\u3060\u3051\u3067\u3001\u3053\u306egem\u306b\u306f\u3001\u30d0\u30c3\u30af\u30c9\u30a2\u3092\u542b\u307e\u306a\u3044\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30d0\u30fc\u30b8\u30e7\u30f30.2\u30680.3\u306e\u307f\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u3001xz\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u3092\u542b\u3080gem\u306f\u78ba\u8a8d\u3055\u308c\u3066\u3044\u306a\u3044\u305d\u3046\u3067\u3059\u3002<\/p>\n<p>xz\/liblzma\u306e\u8106\u5f31\u6027\u306b\u95a2\u3057\u3066\u306f\u4ee5\u4e0b\u306e\u30ea\u30f3\u30af\u304c\u53c2\u8003\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/xeiaso.net\/notes\/2024\/xz-vuln\/\">liblzma and xz version 5.6.0 and 5.6.1 are vulnerable to arbitrary code execution compromise - Xe Iaso<\/a><\/li>\n<li><a href=\"https:\/\/gist.github.com\/thesamesam\/223949d5a074ebc3dce9ee78baad9e27\">xz-utils backdoor situation (CVE-2024-3094)<\/a><\/li>\n<li><a href=\"https:\/\/boehs.org\/node\/everything-i-know-about-the-xz-backdoor\">Everything I know about the XZ backdoor<\/a><\/li>\n<li><a href=\"https:\/\/nvd.nist.gov\/vuln\/detail\/CVE-2024-3094\">NVD - CVE-2024-3094<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Unix\u7cfbOS\u3067\u5e83\u304f\u4f7f\u7528\u3055\u308c\u3066\u3044\u308bxz\/liblzma\u3067\u767a\u898b\u3055\u308c\u305f\u8106\u5f31\u6027\u306b\u95a2\u3057\u3066\u3001Ruby gem\u306e\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u30b5\u30fc\u30d3\u30b9RubyGems.org\u306f\u5f71\u97ff\u3092\u53d7\u3051\u3066\u3044\u306a\u3044\u3053\u3068\u304c\u660e\u3089\u304b\u3068\u306a\u308a\u307e\u3057\u305f\u3002 \u516c\u5f0f\u30d6\u30ed\u30b0\u306b\u3088\u308b\u3068\u3001Ruby [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":120527,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[66],"tags":[4723],"class_list":["post-120526","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-webservice","tag-rubygems"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/120526","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=120526"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/120526\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/120527"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=120526"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=120526"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=120526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}