{"id":6602,"date":"2019-09-29T17:24:31","date_gmt":"2019-09-29T11:54:31","guid":{"rendered":"https:\/\/bitcoinik.com\/?st-import=4b657321c3f6267296a0ae8ec5181f32"},"modified":"2019-09-29T17:24:31","modified_gmt":"2019-09-29T11:54:31","slug":"bitcoins-lighting-network-developer-discloses-network-security-vulnerability","status":"publish","type":"post","link":"https:\/\/bitcoinik.com\/?p=6602","title":{"rendered":"Bitcoin\u2019s Lighting Network Developer Discloses Network Security Vulnerability"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Recently Bitcoin\u2019s Lightning Networks Developer Rusty Russel <a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/cointelegraph.com\/news\/bitcoins-ln-developer-discloses-the-networks-vulnerability\" target=\"_blank\">published<\/a> the network\u2019s vulnerability which he accompanied with a solution to overcome it.<br><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As described by Russel the vulnerability was noticed while opening the funding channels, while explaining the process further the receiver usually is not required to check if the transaction is sent by a specific funder in terms of amount and the actual scriptpubkey.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_91 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/bitcoinik.com\/?p=6602\/#What_is_Scriptpubkey\" >What is Scriptpubkey?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/bitcoinik.com\/?p=6602\/#Also_Read_How_to_Earn_Bitcoin\" >Also Read: How to Earn Bitcoin?<\/a><\/li><\/ul><\/nav><\/div>\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_Scriptpubkey\"><\/span>What is Scriptpubkey?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Scriptpubkey describes as an output transaction script that requires specific condition to be observed for a receiver to spend their Bitcoin.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;Further explaining the file:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>\u201cA lightning node accepting a channel must check that the funding transaction output does indeed open the channel proposed. Otherwise an attacker can claim to open a channel but either not pay to the peer, or not pay the full amount. Once that transaction reaches the minimum depth, it can spend funds from the channel. The victim will only notice when it tries to close the channel and none of the commitment or mutual close transactions it has are valid.\u201d<br><\/p><\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">So a possible solution for the vulnerability as proposed by Russel it that as soon the funding transaction is seen peers must check for the outpoint as described in funding_created in the funding transaction output with the amount described in open channel source.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The file mentioned above also warns that the current c-lightning versions 0.7.1 and above are able to follow up and perform the above mentioned process, thus urging its users to upgrade the older version of their Lightning nodes to the latest one.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On the 10<sup>th<\/sup> of September the CTO of lightning network (LN) focused on the start-up and advised them to update there lightning version as soon as possible to as to overcome the vulnerability and instances of fund loss .<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Due to this on 26<sup>th<\/sup> of September the number of Bitcoin\u2019s Lightning Nodes (LN) reached 10,000 for the first time.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Also_Read_How_to_Earn_Bitcoin\"><\/span>Also Read: <a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"http:\/\/bitcoinik.com\/how-to-earn-bitcoin\/\" target=\"_blank\">How to Earn Bitcoin?<\/a><span class=\"ez-toc-section-end\"><\/span><\/h3>\n","protected":false},"excerpt":{"rendered":"<p>Recently Bitcoin\u2019s Lightning Networks Developer Rusty Russel published the network\u2019s vulnerability which he accompanied with a solution to overcome it. As described by Russel the vulnerability was noticed while opening the funding channels, while explaining the process further the receiver usually is not required to check if the transaction is sent by a specific funder&#8230;<\/p>\n","protected":false},"author":1,"featured_media":6097,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[15,20],"tags":[],"class_list":["post-6602","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bitcoin-news","category-crypto-news"],"acf":[],"jetpack_featured_media_url":"https:\/\/bitcoinik.com\/wp-content\/uploads\/2019\/09\/Bitcoin-Brain-wallet-1.jpg","_links":{"self":[{"href":"https:\/\/bitcoinik.com\/index.php?rest_route=\/wp\/v2\/posts\/6602","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitcoinik.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitcoinik.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitcoinik.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bitcoinik.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6602"}],"version-history":[{"count":0,"href":"https:\/\/bitcoinik.com\/index.php?rest_route=\/wp\/v2\/posts\/6602\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bitcoinik.com\/index.php?rest_route=\/wp\/v2\/media\/6097"}],"wp:attachment":[{"href":"https:\/\/bitcoinik.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitcoinik.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitcoinik.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}