面向Web应用的Python包漏洞实证分析
An Empirical Analysis of Vulnerabilities in Python Packages for Web Applications
摘要:
本文研究了常见Python包中的软件漏洞,特别是用于Web开发。经验数据集基于PyPI包存储库和所谓的Safety DB,用于跟踪存储库中选定包的漏洞。该方法的基础是对软件包发布的条件概率进行基于发布的时间序列分析。根据结果,观察到的许多Python漏洞似乎只是适度严重;输入验证和跨站点脚本是最典型的漏洞。在基于释放历史的时间序列分析方面,只有最近的过去被观察到与统计预测相关;经典的马尔可夫性质成立。
英文摘要:
This paper examines software vulnerabilities in common Python packages used particularly for web development. The empirical dataset is based on the PyPI package repository and the so-called Safety DB used to track vulnerabilities in selected packages within the repository. The methodological approach builds on a release-based time series analysis of the conditional probabilities for the releases of the packages to be vulnerable. According to the results, many of the Python vulnerabilities observed seem to be only modestly severe; input validation and cross-site scripting have been the most typical vulnerabilities. In terms of the time series analysis based on the release histories, only the recent past is observed to be relevant for statistical predictions; the classical Markov property holds.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。