{"id":295177,"date":"2021-07-09T19:12:25","date_gmt":"2021-07-09T16:12:25","guid":{"rendered":"https:\/\/en.buradabiliyorum.com\/new-tool-automatically-finds-buffer-overflow-vulnerabilities\/"},"modified":"2021-07-09T19:12:25","modified_gmt":"2021-07-09T16:12:25","slug":"new-tool-automatically-finds-buffer-overflow-vulnerabilities","status":"publish","type":"post","link":"https:\/\/buradabiliyorum.com\/en\/new-tool-automatically-finds-buffer-overflow-vulnerabilities\/","title":{"rendered":"#New tool automatically finds buffer overflow vulnerabilities"},"content":{"rendered":"<p>&#8220;<strong>#New tool automatically finds buffer overflow vulnerabilities<\/strong>&#8221;<\/p>\n<div>\n<div class=\"article-gallery lightGallery\">\n<div data-thumb=\"https:\/\/scx1.b-cdn.net\/csz\/news\/tmb\/2021\/overflow.jpg\" data-src=\"https:\/\/scx2.b-cdn.net\/gfx\/news\/hires\/2021\/overflow.jpg\" data-sub-html=\"Credit: Pixabay\/CC0 Public Domain\">\n<figure class=\"article-img\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/scx1.b-cdn.net\/csz\/news\/800a\/2021\/overflow.jpg\" alt=\"overflow\" title=\"Credit: Pixabay\/CC0 Public Domain\" width=\"800\" height=\"530\"\/><figcaption class=\"text-darken text-low-up text-truncate-js text-truncate mt-3\">\n                Credit: Pixabay\/CC0 Public Domain<br \/>\n            <\/figcaption><\/figure>\n<\/div>\n<\/div>\n<p>In 1988 when the internet was still in its infancy, a piece of malware known as the Morris Worm infected nearly 10 percent of the internet over the course of two days, eventually instigating between $100 thousand and $10 million in damages according to the Government Accountability Office. The Morris Worm would eventually be known as the &#8216;Grand Daddy&#8217; of a specific cyberattack common even to this day: the buffer overflow.<\/p>\n<p>                                                                                Put simply, a typical buffer overflow occurs when a computer program receives a request to process more data than its physical memory is capable of handling all at once and places the excess into a &#8216;buffer&#8217;. The buffer itself has a finite capacity, so if the buffer can&#8217;t handle the excess, it &#8216;overflows,&#8217; or crashes. Imagine pouring three gallons of water into a two-gallon bucket; things get messy.  <\/p>\n<p>&#8220;The goal is to automatically find memory bugs that lead to security vulnerabilities in Rust libraries,&#8221; says Jia. &#8220;Manually checking for these bugs is inefficient and time-consuming.&#8221;<\/p>\n<p>Their tool works on software libraries written in the increasingly popular Rust programming language, which brands itself as both safe and efficient. <\/p>\n<p>&#8220;It&#8217;s a superior language, but it only works if you write in the strict idioms of Rust,&#8221; says Jia. <\/p>\n<p>Rust developers often need complex data structures for their software. But these complex data structures and their operations typically are written using &#8216;unsafe&#8217; Rust, which are not checked by the Rust compiler for memory safety bugs. This is where SyRust comes in; the tool can automatically generate unit tests for library APIs and test these library implementations for memory bugs.  <\/p>\n<p>&#8220;We <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/download-scripts-themes-apps\/\" data-internallinksmanager029f6b8e52c=\"9\" title=\"Download Scripts &amp; Themes &amp; Apps\" target=\"_blank\" rel=\"noopener\">app<\/a>lied SyRust to 30 popular libraries and found four new bugs,&#8221; Jia says. &#8220;Given that these libraries were written in Rust already and have been tested, meaning that the programs themselves were very robust to begin with, we expect a small number of bugs to be discovered.&#8221; <\/p>\n<p>While the tool isn&#8217;t yet perfect, Jia says, it&#8217;s a step in the right direction. For instance, the tool does not generate enough tests to elicit all possible behaviors to ensure a bugless program. <\/p>\n<p>&#8220;If I knew that I enumerated all possible behaviors and I don&#8217;t find any bugs, then I&#8217;m happy,&#8221; Jia says. &#8220;That would mean the library truly has no bugs, but right now I don&#8217;t know how much I&#8217;ve tested, and I don&#8217;t know how much more I should be testing.&#8221; <\/p>\n<p>Moving forward, Jia says the team is trying to improve their method of what they refer to as &#8216;improved courage&#8217; of the testing. This &#8216;improved courage&#8217; would ensure more ground has been covered in the testing process, giving the user more confidence that most, if not all, of the bugs have been found.\n                                                                                                                        <\/p>\n<hr\/>\n<div class=\"article-main__explore my-4 d-print-none\">\n<p>                                            Report: Most Chrome security bugs rooted in faulty memory code\n                                        <\/p><\/div>\n<hr class=\"mb-4\"\/>\n<div class=\"article-main__more p-4\">\n                                                                                                <strong>More information:<\/strong><br \/>\n                                                Yoshiki Takashima et al, SyRust: automatic testing of Rust libraries with semantic-aware program synthesis, <i>Proceedings of the 42nd ACM SIGPLAN International Conference on Programming Language Design and Implementation<\/i> (2021).  <a rel=\"nofollow noopener\" target=\"_blank\" data-doi=\"1\" href=\"http:\/\/dx.doi.org\/10.1145\/3453483.3454084\">DOI: 10.1145\/3453483.3454084<\/a><\/p><\/div>\n<div class=\"d-inline-block text-medium my-4\">\n                                                Provided by<br \/>\n                                                                                                    Carnegie Mellon University<br \/>\n                                                                                                        <a rel=\"nofollow noopener\" target=\"_blank\" class=\"icon_open\" href=\"http:\/\/www.cmu.edu\/index.shtml\"><br \/>\n                                                        <svg><use href=\"https:\/\/techx.b-cdn.net\/tmpl\/v2\/img\/svg\/sprite.svg#icon_open\" x=\"0\" y=\"0\"\/><\/svg><\/a><\/p><\/div>\n<p>                                        <!-- print only --><\/p>\n<div class=\"d-none d-print-block\">\n<p>                                                 <strong>Citation<\/strong>:<br \/>\n                                                 New tool automatically finds buffer overflow vulnerabilities (2021, July  9)<br \/>\n                                                 retrieved  9 July 2021<br \/>\n                                                 from https:\/\/techxplore.com\/<a href=\"https:\/\/buradabiliyorum.com\/en\/category\/news\/\" data-internallinksmanager029f6b8e52c=\"2\" title=\"News\" target=\"_blank\" rel=\"noopener\">news<\/a>\/2021-07-tool-automatically-buffer-vulnerabilities.html<\/p>\n<p>                                            This document is subject to copyright. Apart from any fair dealing for the purpose of private study or research, no<br \/>\n                                            part may be reproduced without the written permission. The content is provided for information purposes only.<\/p><\/div>\n<\/p><\/div>\n<p><script id=\"facebook-jssdk\" async=\"\" src=\"https:\/\/connect.facebook.net\/en_US\/sdk.js\"><\/script><\/p>\n<blockquote><p><strong><span style=\"color: #ff6600;\">If you liked the article, do not forget to share it with your friends. Follow us on\u00a0<span style=\"color: #ff0000;\"><a style=\"color: #ff0000;\" href=\"https:\/\/news.google.com\/publications\/CAAqBwgKMLG0nwswvr63Aw\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Google News<\/a><\/span>\u00a0too, click on the star and choose us from your favorites.<\/span><\/strong><\/p><\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\">For forums sites go to <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/forum.buradabiliyorum.com\/\" target=\"_blank\" rel=\"noopener\">Forum.BuradaBiliyorum.Com<\/a><\/span><\/strong>\n<\/p><\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\"><strong>If you want to read more Like this articles, you can visit our <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/en.buradabiliyorum.com\/science\/\" target=\"_blank\" rel=\"noopener\">Science category.<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<p><span style=\"color: black;\"><a style=\"color: #ff9900;\" href=\"https:\/\/techxplore.com\/news\/2021-07-tool-automatically-buffer-vulnerabilities.html\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;#New tool automatically finds buffer overflow vulnerabilities&#8221; Credit: Pixabay\/CC0 Public Domain In 1988 when the internet was still in its infancy, a piece of malware known as the Morris Worm infected nearly 10 percent of the internet over the course of two days, eventually instigating between $100 thousand and $10 million in damages according to&#8230;<\/p>\n","protected":false},"author":1,"featured_media":295178,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/scx2.b-cdn.net\/gfx\/news\/hires\/2021\/overflow.jpg","fifu_image_alt":"","footnotes":""},"categories":[16],"tags":[],"class_list":["post-295177","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sciencee"],"_links":{"self":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/295177","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/comments?post=295177"}],"version-history":[{"count":0,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/295177\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media\/295178"}],"wp:attachment":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media?parent=295177"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/categories?post=295177"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/tags?post=295177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}