跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 密码学与安全

arXiv:2112.11745 (cs)
[提交于 2021年12月22日]

标题:Security Risks of Porting C Programs to WebAssembly

作者:Quentin Stiévenart, Coen De Roover, Mohammad Ghafari
查看论文《Security Risks of Porting C Programs to WebAssembly》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:WebAssembly is a compilation target for cross-platform applications that is increasingly being used. In this paper, we investigate whether one can transparently cross-compile C programs to WebAssembly, and if not, what impact porting can have on their security. We compile 17,802 programs that exhibit common vulnerabilities to 64-bit x86 and to WebAssembly binaries, and we observe that the execution of 4,911 binaries produces different results across these platforms. Through manual inspection, we identify three classes of root causes for such differences: the use of a different standard library implementation, the lack of security measures in WebAssembly, and the different semantics of the execution environments. We describe our observations and discuss the ones that are critical from a security point of view and need most attention from developers. We conclude that compiling an existing C program to WebAssembly for cross-platform distribution may require source code adaptations; otherwise, the security of the WebAssembly application may be at risk.
评论: The 37th ACM/SIGAPP Symposium on Applied Computing (SAC'22), 2022. arXiv admin note: text overlap with arXiv:2111.01421
主题: 密码学与安全 (cs.CR); 程序设计语言 (cs.PL)
引用方式: arXiv:2112.11745 [cs.CR]
  (或者 arXiv:2112.11745v1 [cs.CR] 对于此版本)
  https://doi.org/10.48550/arXiv.2112.11745
相关 DOI: https://doi.org/10.1145/3477314.3507308

提交历史

来自:Mohammad Ghafari
[v1] 2021年12月22日 星期三 09:24:55 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.CR
< 上一篇   |   下一篇 >
最新 | 近期 | 2021-12
切换浏览方式为:
cs
cs.PL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站