{"id":55358,"date":"2020-01-18T00:00:00","date_gmt":"2020-01-17T21:00:00","guid":{"rendered":"https:\/\/prohoster.info\/blog\/blog_prohoster\/razrabotchik-rust-frejmvorka-actix-web-udalil-repozitorij-iz-za-travli"},"modified":"2020-02-18T14:03:28","modified_gmt":"2020-02-18T11:03:28","slug":"razrabotchik-rust-frejmvorka-actix-web-udalil-repozitorij-iz-za-travli","status":"publish","type":"post","link":"https:\/\/prohoster.info\/hu\/blog\/news\/razrabotchik-rust-frejmvorka-actix-web-udalil-repozitorij-iz-za-travli","title":{"rendered":"Az actix-web Rust keretrendszer fejleszt\u0151je t\u00f6r\u00f6lte a GitHub t\u00e1rol\u00f3j\u00e1t a zaklat\u00e1s miatt","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>A Rust nyelven \u00edrt webkeretrendszer szerz\u0151je <noindex><a rel=\"nofollow\" href=\"https:\/\/crates.io\/crates\/actix-web\">actix-web<\/a><\/noindex> t\u00f6r\u00f6lte <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/actix\/actix-web\">t\u00e1rhely<\/a><\/noindex> miut\u00e1n kritik\u00e1t kapott a Rust nyelv &#171;helytelen haszn\u00e1lata&#187; miatt. Az actix-web keretrendszer, amelyb\u0151l t\u00f6bb mint 800 ezer let\u00f6lt\u00e9s t\u00f6rt\u00e9nt, lehet\u0151v\u00e9 teszi HTTP szerver \u00e9s kliens funkcionalit\u00e1s beilleszt\u00e9s\u00e9t Rust nyelven \u00edrt alkalmaz\u00e1sokba, a fejleszt\u00e9s sor\u00e1n a maxim\u00e1lis teljes\u00edtm\u00e9ny el\u00e9r\u00e9s\u00e9re \u00f6sszpontos\u00edtva <noindex><a rel=\"nofollow\" href=\"https:\/\/www.techempower.com\/benchmarks\/\">vezet<\/a><\/noindex> sok webkeretrendszer tesztj\u00e9ben.<\/p>\n<p>Nem sokkal az incidens el\u0151tt a GitHub issue-j\u00e1ban jelentett\u00e9k be, hogy az actix-web szerver k\u00f3dj\u00e1ban meghat\u00e1rozatlan viselked\u00e9st (Undefined Behaviour) fedeztek fel, amely akkor fordul el\u0151, amikor <noindex><a rel=\"nofollow\" href=\"http:\/\/rustbook.ru\/ch19-01-unsafe-rust.html\">unsafe<\/a><\/noindex> (megengedi a mutat\u00f3kkal v\u00e9gzett nem biztons\u00e1gos m\u0171veleteket). Az actix-web szerz\u0151je nem t\u00e1vol\u00edtotta el az unsafe blokkot, de m\u00f3dos\u00edtotta a blokk h\u00edv\u00e1s\u00e1t, hogy elker\u00fclje a meghat\u00e1rozatlan viselked\u00e9st. Az unsafe elt\u00e1vol\u00edt\u00e1s\u00e1ra tett javaslatokat elutas\u00edtotta, hivatkozva a teljes\u00edtm\u00e9ny cs\u00f6kken\u00e9s\u00e9re, \u00e9s azt \u00e1ll\u00edtotta, hogy nem haszn\u00e1l unsfe-t sz\u00fcks\u00e9gtelen\u00fcl, \u00e9s biztos a biztons\u00e1gos m\u0171k\u00f6d\u00e9si blokkjainak biztons\u00e1g\u00e1ban.<\/p>\n<p>A RustSec csapat\u00e1nak tagja, aki a meghat\u00e1rozatlan viselked\u00e9st felfedezte, nem \u00e9rtett egyet ezzel, \u00e9s azt javasolta, hogy az actix-web sz\u00e1m\u00e1ra ellens\u00e9gesek a sok unsafe blokk alkalmaz\u00e1sai. Ezt k\u00f6vet\u0151en publik\u00e1lt<br \/>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/medium.com\/@shnatsel\/smoke-testing-rust-http-clients-b8f2ee5db4e6\">cikket<\/a><\/noindex> egy cikket az unsafe haszn\u00e1lat\u00e1nak elfogadhatatlans\u00e1g\u00e1r\u00f3l, amelyben t\u00f6bbek k\u00f6z\u00f6tt eml\u00edtette, hogy az actix-web-ben haszn\u00e1lt mutat\u00f3szerek kezel\u00e9si m\u00f3d (t\u00f6bb m\u00f3dos\u00edthat\u00f3 mutat\u00f3 ugyanarra az adatra) potenci\u00e1lisan use-after-free sebezhet\u0151s\u00e9gekhez vezethet, \u00e9s nem felel meg a Rust fejleszt\u00e9si paradigm\u00e1j\u00e1nak. <\/p>\n<p>Ut\u00e1n <noindex><a rel=\"nofollow\" href=\"https:\/\/www.reddit.com\/r\/rust\/comments\/epoloy\/ive_smoketested_rust_http_clients_heres_what_i\/\">vita<\/a><\/noindex> a cikkr\u0151l a <noindex><a rel=\"nofollow\" href=\"https:\/\/www.reddit.com\/r\/rust\/\">Reddit<\/a><\/noindex>, a GitHub issue-j\u00e1ban <noindex><a rel=\"nofollow\" href=\"https:\/\/words.steveklabnik.com\/a-sad-day-for-rust\">megjelentek<\/a><\/noindex> trollok \u00e9s az actix-web szerz\u0151j\u00e9nek <noindex><a rel=\"nofollow\" href=\"https:\/\/gist.github.com\/pcr910303\/d7722a26499d0e9d2f9034a06f2433b4\">kritik\u00e1k \u00e9s s\u00e9rt\u00e9sek \u00f6z\u00f6n\u00e9be ker\u00fclt a Rust helytelen haszn\u00e1lata miatt. A szerz\u0151 nem b\u00edrta a pszichol\u00f3giai nyom\u00e1st,<\/a><\/noindex> t\u00f6r\u00f6lte a t\u00e1rol\u00f3t <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/actix\/actix-web\">, ezzel v\u00e9get vetett az Open Source-nak.<\/a><\/noindex> \u00e9s <noindex><a rel=\"nofollow\" href=\"https:\/\/twitter.com\/fafhrd91\/status\/1218135374339301378\">\u00edrt<\/a><\/noindex>A Mozilla 70 embert bocs\u00e1t el, \u00e9s \u00e1tszervez\u00e9st v\u00e9gez<\/p>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Forr\u00e1s: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=52208\">opennet.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0410\u0432\u0442\u043e\u0440 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust web-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 actix-web \u0443\u0434\u0430\u043b\u0438\u043b \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043d\u0430 \u043d\u0435\u0433\u043e \u043e\u0431\u0440\u0443\u0448\u0438\u043b\u0430\u0441\u044c \u043a\u0440\u0438\u0442\u0438\u043a\u0430 \u0437\u0430 &#171;\u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435&#187; \u044f\u0437\u044b\u043a\u0430 Rust. \u0424\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a actix-web, \u043f\u0430\u043a\u0435\u0442 \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0431\u044b\u043b \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d \u0431\u043e\u043b\u0435\u0435 800 \u0442\u044b\u0441\u044f\u0447 \u0440\u0430\u0437, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c http-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u0430, \u043f\u0440\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d \u043d\u0430 \u0434\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u0435 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0438 \u043b\u0438\u0434\u0438\u0440\u0443\u0435\u0442 \u0432\u043e \u043c\u043d\u043e\u0433\u0438\u0445 \u0442\u0435\u0441\u0442\u0430\u0445 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-55358","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0410\u0432\u0442\u043e\u0440 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust web-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 actix-web \u0443\u0434\u0430\u043b\u0438\u043b\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/hu\/blog\/news\/razrabotchik-rust-frejmvorka-actix-web-udalil-repozitorij-iz-za-travli\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"hu_HU\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a Rust-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 actix-web \u0443\u0434\u0430\u043b\u0438\u043b \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0438\u0437-\u0437\u0430 \u0442\u0440\u0430\u0432\u043b\u0438 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0410\u0432\u0442\u043e\u0440 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust web-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 actix-web \u0443\u0434\u0430\u043b\u0438\u043b\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/hu\/blog\/news\/razrabotchik-rust-frejmvorka-actix-web-udalil-repozitorij-iz-za-travli\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-01-17T21:00:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-02-18T11:03:28+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Az actix-web Rust keretrendszer fejleszt\u0151je t\u00f6r\u00f6lte a GitHub t\u00e1rol\u00f3j\u00e1t a zaklat\u00e1s miatt | ProHoster","description":"\ud83e\udd47Az actix-web Rust keretrendszer fejleszt\u0151je t\u00f6r\u00f6lte a GitHub t\u00e1rol\u00f3j\u00e1t a zaklat\u00e1s miatt | ProHoster","canonical_url":"https:\/\/prohoster.info\/hu\/blog\/news\/razrabotchik-rust-frejmvorka-actix-web-udalil-repozitorij-iz-za-travli","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"hu_HU","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a Rust-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 actix-web \u0443\u0434\u0430\u043b\u0438\u043b \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0438\u0437-\u0437\u0430 \u0442\u0440\u0430\u0432\u043b\u0438 | ProHoster","og:description":"\u0410\u0432\u0442\u043e\u0440 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust web-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 actix-web \u0443\u0434\u0430\u043b\u0438\u043b","og:url":"https:\/\/prohoster.info\/hu\/blog\/news\/razrabotchik-rust-frejmvorka-actix-web-udalil-repozitorij-iz-za-travli","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-01-17T21:00:00+00:00","article:modified_time":"2020-02-18T11:03:28+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"55358","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 19:45:29","updated":"2022-09-30 12:43:21","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/55358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/comments?post=55358"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/55358\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media?parent=55358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/categories?post=55358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/tags?post=55358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}