当前位置:首页 >英文主页 >中英对照 > 报告详情

Google:2024安全设计-Google对内存安全的洞察白皮书(英文版)(13页).pdf

上传人: Kell****reet 编号:156279 2024-03-11 13页 276.31KB

下载:

1、Google Security Engineering Technical ReportMarch 4,2024Secure by Design:Googles Perspective on Memory SafetyAlex RChristoph KExecutive Summary2022 marked the 50thanniversary of memory safety vulnera-bilities,first reported by Anderson 2.Half a century later,weare still dealing with memory safety bu

2、gs despite substantialinvestments to improve memory unsafe languages.Like others,Googles internal vulnerability data and re-search show that memory safety bugs are widespread and oneof the leading causes of vulnerabilities in memory-unsafe code-bases.Those vulnerabilities endanger end users,our indu

3、stry,and the broader society.At Google,we have decades of experience addressing,atscale,large classes of vulnerabilities that were once similarlyprevalent as memory safety issues.Based on this experience weexpect that high assurance memory safety can only be achievedvia a Secure-by-Design approach c

4、entered around comprehen-sive adoption of languages with rigorous memory safety guaran-tees.As a consequence,we are considering a gradual transitiontowards memory-safe languages.Over the past decades,Google has developed and accumu-lated hundreds of millions of lines of C+code that is in activeuse a

5、nd under active,ongoing development.This very large ex-isting codebase results in significant challenges for a transitionto memory safety:On one hand,we see no realistic path for an evolution ofC+into a language with rigorous memory safety guaran-tees that include temporal safety.At the same time,a

6、large-scale rewrite of existing C+code into a different,memory-safe language appears verydifficult and will likely remain impractical.This means that we will likely be operating a very substantialC+codebase for quite some time.We thus consider it impor-tant to complement a transition to memory safe

word格式文档无特别注明外均可编辑修改,预览文件经过压缩,下载原文更清晰!
三个皮匠报告文库所有资源均是客户上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作商用。
本文主要讨论了谷歌在内存安全方面的观点和实践。文章指出,尽管在提高内存不安全语言的安全性方面进行了大量投资,但内存安全漏洞仍然是导致内存不安全代码库中漏洞的主要原因之一。谷歌的内部漏洞数据和研究显示,内存安全漏洞普遍存在,是导致严重漏洞的主要原因。 谷歌认为,只有通过以安全为中心的设计方法,全面采用具有严格内存安全保证的语言,才能实现高保证的内存安全。因此,谷歌正在考虑逐步转向内存安全语言。 文章还详细讨论了内存安全漏洞的分类,包括空间安全漏洞、时间安全漏洞、类型安全漏洞、初始化安全漏洞和数据竞争安全漏洞。这些漏洞的出现是因为程序允许在程序处于未定义行为状态时执行读写内存的语句。 谷歌还提出了一个多方面的方法来解决内存安全问题,包括通过安全编码预防内存安全漏洞、通过使利用更加昂贵来减轻内存安全漏洞、以及尽早在整个开发生命周期中检测内存安全漏洞。 最后,文章深入探讨了谷歌在内存安全方面的实践,包括通过静态分析和模糊测试等工具检测内存安全漏洞,以及通过编译时检查和运行时保护等机制确保内存安全。
为什么内存安全漏洞难以解决? 如何通过安全编码预防内存安全漏洞? 静态分析和模糊测试在检测内存安全漏洞方面有何作用?
客服
商务合作
小程序
服务号
折叠