用于图数据库管理系统的图感知模糊测试
Graph-Aware Fuzzing for Graph Database Management Systems
AI总结:
针对图数据库管理系统现有测试方法不足,提出GRAF框架。通过基于级联依赖解析的图上下文感知查询生成有效多样查询,用执行状态反馈引导变异操作,提升测试效果,发现众多未知漏洞。
摘要:
图数据库管理系统(GDBMSs)是管理互连数据的重要基础设施。现有GDBMS测试方法主要依赖差分和变形测试,对单引擎运行时故障探索不足。开发专用模糊器面临生成有效多样查询和引导探索捕捉拓扑相关执行行为两大挑战。为此提出GRAF框架,介绍基于级联依赖解析的图上下文感知查询生成及执行状态反馈引导的变异操作,评估显示其效果显著,发现众多未知漏洞。
英文摘要:
Graph Database Management Systems (GDBMSs) are essential infrastructure for managing interconnected data. Existing GDBMS testing methods primarily rely on differential and metamorphic testing. The result consistency oracles of these methods constrain inputs to queries that are comparable across engines or transformations, leaving single engine runtime failures, such as crashes and memory errors, insufficiently explored. Developing dedicated fuzzers for GDBMSs faces two key challenges: (1) generating valid and structurally diverse queries under complex graph constraints, and (2) guiding exploration to capture topology dependent execution behavior. To address these challenges, we propose GRAF, a black box fuzzing framework for GDBMS query engines. First, GRAF introduces graph context aware query generation based on cascading dependency resolution. It instantiates parameterized Cypher skeletons generated by a Large Language Model (LLM) by jointly resolving labels, relationship types, properties, values, and variable scopes against the active graph state. This process produces structurally diverse queries while eliminating syntactic and semantic violations. Second, GRAF applies five graph specific mutation operators guided by execution state feedback, including execution time, result size, and system status. This feedback steers exploration away from unproductive queries and expensive traversals, while prioritizing local mutations around abnormal executions. We evaluated GRAF against three existing approaches on six widely used GDBMSs. GRAF consistently improves line coverage by 31.6% to 41.1% over the strongest baseline on each target. In 12 hour fuzzing, it triggered 25 unique bugs, compared to six from all baselines combined. Overall, GRAF discovered 34 previously unknown bugs, with 32 confirmed by developers and 23 assigned CVEs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。