A security response method and system for homologous vulnerability based on propagation impact analysis

Through the propagation impact analysis method, a vulnerability propagation impact graph is constructed, which solves the problem of failure to consider component dependencies in the existing technology, achieves more accurate vulnerability analysis and repair, and improves the security and stability of the software.

CN117556432BActive Publication Date: 2024-09-10BEIJING BEIDA SOFTWARE ENG DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410047059.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-12
Publication Date
2024-09-10
Estimated Expiration
2044-01-12

AI Technical Summary

Technical Problem

Existing vulnerability security response technologies fail to effectively consider the dependencies between software components, resulting in weakened vulnerability analysis and limited security response effects.

Method used

Using a method based on propagation impact analysis, through the alignment of component information and vulnerability information, a vulnerability propagation impact graph is constructed, the vulnerability propagation path and impact scope are identified, and targeted security response measures are implemented, such as replacing or repairing components with vulnerabilities.

Benefits of technology

It improves the efficiency and accuracy of vulnerability security response, can more accurately discover and repair deep-seated security vulnerabilities, enhances the security and stability of software, and reduces the impact of vulnerabilities on the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117556432B
    Figure CN117556432B
Patent Text Reader

Abstract

The present invention relates to the field of software code analysis, and discloses a method and system for security response to homologous vulnerabilities based on propagation impact analysis, including: determining the correspondence between components and vulnerabilities according to the alignment results of component information and vulnerability information, determining a vulnerability propagation impact graph according to the dependency relationship between components, and responding to the vulnerability based on the propagation path and impact range of the vulnerability. The present invention can more accurately determine the propagation path and impact range of the vulnerability through propagation impact analysis of homologous vulnerabilities, further improve the efficiency and accuracy of vulnerability security response, effectively prevent the occurrence of homologous vulnerability attacks, and provide multiple methods to timely respond to and repair discovered vulnerabilities.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of software code analysis, and in particular to a method and system for responding to homologous vulnerabilities based on propagation impact analysis. Background Art

[0002] As the number of open source components used in software development continues to increase, security vulnerabilities in software components are becoming more common. These security vulnerabilities may be exploited by hackers, posing a serious threat to the security of the software. Currently, vulnerability security response technology is usually used to discover and fix these vulnerabilities.

[0003] General vulnerability security response technologies mainly include the following aspects: vulnerability scanning and analysis: by scanning and analyzing the vulnerabilities of software components, the existing security vulnerabilities can be discovered in time and classified and evaluated so as to take targeted security response measures; security access control: adopting a secure access control strategy to limit the interaction between software components and prevent malicious attackers from exploiting vulnerabilities to attack; vulnerability sharing management: for the codes and resources shared between software components, strict permission control and audit mechanisms are adopted to ensure that vulnerabilities are repaired in time; log monitoring and analysis: real-time monitoring and analysis of the relevant operation logs of software components, timely discovery and response to abnormal situations, including security vulnerability attacks; emergency response: for security vulnerability attacks, timely launch the emergency response plan, isolate and repair the affected software components, and prevent the further spread of the attack; vulnerability repair: take appropriate measures to repair the vulnerability, such as installing security patches, modifying code or configuration files, updating software, etc.; vulnerability verification: verify whether the vulnerability has been successfully repaired and ensure the security of the system; vulnerability reporting: record the vulnerability and repair situation, and report it to the relevant parties.

[0004] The current common method of checking open source component vulnerabilities is to only respond to vulnerabilities in the component itself. Vulnerabilities in associated dependencies may not be discovered, which may miss some vulnerabilities that may cause great harm to the system. The current phenomenon is mainly caused by not considering the dependencies between components. In particular, the complex internal relationships between software dependencies have greatly weakened the impact of its analysis and limited the effectiveness of security responses. Summary of the invention

[0005] The purpose of the present invention is to overcome one or more of the above-mentioned existing technical problems and provide a homologous vulnerability security response method and system based on propagation impact analysis.

[0006] To achieve the above object, the present invention provides a homologous vulnerability security response method based on propagation impact analysis, comprising:

[0007] According to the alignment results of component information and vulnerability information, the corresponding relationship between components and vulnerabilities is determined;

[0008] Determine the vulnerability propagation impact graph based on the dependencies between components;

[0009] Respond to vulnerabilities based on their propagation path and impact scope.

[0010] According to one aspect of the present invention, the component information includes source code, bytecode, binary file or configuration file of the dependent package; the vulnerability information includes vulnerability information in NVD, CNVD and CNNVD.

[0011] According to one aspect of the present invention, the process of obtaining the alignment result includes:

[0012] Use CPE format information to align component information and vulnerability information.

[0013] Natural language processing is used to perform secondary alignment on the results of the preliminary alignment to obtain the alignment results of component information and vulnerability information.

[0014] According to one aspect of the present invention, a visualization interface is constructed based on the alignment structure of component information and vulnerability information after secondary alignment, and in response to an operation of associating component information and vulnerability information on the visualization interface, the component information and vulnerability information are configured to have association.

[0015] According to one aspect of the present invention, the dependency relationship between components is determined by a component analysis method.

[0016] According to one aspect of the present invention, the dependency propagation influence graph is constructed as follows:

[0017] Use nodes to represent components, use edges to represent dependencies between components, and build a dependency graph;

[0018] Determine the propagation path and impact scope of the vulnerability based on the dependency graph and the components corresponding to the vulnerability.

[0019] According to one aspect of the present invention, responding to a vulnerability includes:

[0020] Based on the vulnerability propagation impact graph, components with vulnerabilities are identified, and the association between the current component and the vulnerable component in the dependency graph is determined through the depth-first search algorithm. Based on the public vulnerability information and security patch information of the vulnerable component, the impact of the vulnerable component on the system is determined.

[0021] According to one aspect of the present invention, responding to the vulnerability further includes:

[0022] Identify components with vulnerabilities based on the vulnerability propagation impact graph, determine alternative versions of the corresponding components without vulnerabilities or versions with controllable vulnerabilities based on the graph algorithm, and replace the components with vulnerabilities;

[0023] Or determine the repair method of the vulnerable component based on the component vulnerability information and repair the vulnerability.

[0024] To achieve the above object, the present invention provides a homologous vulnerability security response system based on propagation impact analysis, comprising:

[0025] The component vulnerability alignment unit is used to align component information and vulnerability data to determine the corresponding relationship between components and vulnerabilities;

[0026] A vulnerability propagation image graph acquisition unit, used to determine a vulnerability propagation impact graph according to the dependency relationship between components;

[0027] The response unit responds to vulnerabilities based on their propagation paths and impact ranges.

[0028] Based on this, the beneficial effects of the present invention are:

[0029] The method proposed in the present invention tracks and analyzes security vulnerabilities existing in software components to understand the propagation patterns and influencing factors of the vulnerabilities, so as to take effective security response measures. The security analysis method of the same-source vulnerability security response is used to discover deeper security vulnerabilities existing in software components and repair them. The same-source vulnerability security response technology based on propagation impact analysis can effectively improve the security and stability of the software, reduce the impact of security vulnerabilities on the software development process and the use process, and solve the impact of vulnerabilities introduced by component dependency transmission.

[0030] Through the propagation impact analysis of homologous vulnerabilities, the propagation path and impact range of the vulnerabilities can be determined more accurately, further improving the efficiency and accuracy of vulnerability security response, effectively preventing the occurrence of homologous vulnerability attacks, and providing multiple methods to respond to and repair discovered vulnerabilities in a timely manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is a flow chart of a homologous vulnerability security response method based on propagation impact analysis of the present invention;

[0032] Figure 2 The present invention is a flowchart of a homologous vulnerability security response system based on propagation impact analysis. DETAILED DESCRIPTION

[0033] The present invention will now be discussed with reference to exemplary embodiments. It should be understood that the embodiments discussed are only for enabling those skilled in the art to better understand and thereby implement the present invention, rather than implying any limitation on the scope of the present invention.

[0034] As used herein, the term “including” and variations thereof are to be interpreted as open-ended terms meaning “including but not limited to.” The term “based on” is to be interpreted as “based, at least in part, on,” and the terms “one embodiment” and “an embodiment” are to be interpreted as “at least one embodiment.”

[0035] According to one embodiment of the present invention, Figure 1 Flow chart of a method for security response to homologous vulnerabilities based on propagation impact analysis in the present invention, such as Figure 1 As shown, to achieve the above purpose, the present invention provides a homologous vulnerability security response method based on propagation impact analysis, comprising:

[0036] According to the alignment results of component information and vulnerability information, the corresponding relationship between components and vulnerabilities is determined;

[0037] Determine the vulnerability propagation impact graph based on the dependencies between components;

[0038] Respond to vulnerabilities based on their propagation path and impact scope.

[0039] According to one embodiment of the present invention, the component information is bytecode information, which is obtained by compiling the source code. At runtime, the bytecode is interpreted to obtain machine code or binary code that can be recognized by the machine, so that the component can specify one or more processors of the computer and enable the corresponding computing resources to be called.

[0040] According to another embodiment of the present invention, the component information is source code, such as a py file or a js file, which is interpreted at runtime to obtain machine code or binary code that can be recognizable by the machine, so that the component can specify one or more processors of the computer and enable the corresponding computing resources to be called.

[0041] According to another embodiment of the present invention, the component information is a binary file, such as a py file or a js file, and the source code is interpreted at runtime to obtain machine code or binary code that can be recognizable by the machine, so that the component can specify one or more processors of the computer and enable the corresponding computing resources to be called.

[0042] The present invention first determines the alignment results of component information and vulnerability information based on public information, natural language processing and manual review, and obtains the corresponding relationship between components and vulnerabilities;

[0043] Then, the vulnerability propagation impact graph is determined based on the dependency relationship between components. The vulnerability propagation impact graph reflects the association between vulnerabilities and can determine the propagation path of the vulnerability between components and the impact scope of the vulnerability based on the vulnerability.

[0044] Afterwards, the present invention evaluates and repairs the vulnerability based on the vulnerability propagation impact diagram. Compared with conventional vulnerability analysis, this process can avoid false positives and identify vulnerability information on deep-level dependent links, thereby reducing the harm of system vulnerabilities.

[0045] According to one embodiment of the present invention, the component information includes source code, bytecode, binary file or configuration file of the dependent package; the vulnerability information includes vulnerability information in NVD, CNVD and CNNVD.

[0046] The NVD (National Vulnerability Database) used in some embodiments of the present invention is a comprehensive vulnerability database maintained by the National Institute of Standards and Technology (NIST) of the United States; CNVD (China National Vulnerability Database) is a national information security vulnerability sharing platform, that is, an information security vulnerability information sharing knowledge base jointly established by the National Computer Network Emergency Response Technical Processing Coordination Center; CNNVD (China National Vulnerability Database of Information Security) is a national information security vulnerability database of China, which is a national information security vulnerability database built and maintained by the China Information Security Evaluation Center.

[0047] By using the above-mentioned security vulnerability library, it is possible to timely identify publicly available information, or to identify unreported component vulnerabilities that can be confirmed through the propagation impact diagram.

[0048] According to one embodiment of the present invention, the process of obtaining the alignment result includes:

[0049] Use CPE format information to align component information and vulnerability information.

[0050] Natural language processing is used to perform secondary alignment on the results of the preliminary alignment to obtain the alignment results of component information and vulnerability information.

[0051] The present invention aligns component information and vulnerability information by using a three-way alignment method, wherein one alignment is used for the first association based on the same naming convention of IT products. In this process, some information cannot be associated due to the lack of auxiliary information, and the information is supplemented by natural language processing, wherein the data source relied on by natural language processing comes from a network search engine, such as providing a method containing vulnerability names or component name keywords, obtaining relevant information from a page of network search results, and matching it with component information and vulnerability information to determine the association between them.

[0052] The above method can solve most of the alignment problems of component information and vulnerability information.

[0053] According to an embodiment of the present invention, a visualization interface is constructed based on the alignment structure of component information and vulnerability information after secondary alignment, and in response to an operation of associating component information and vulnerability information on the visualization interface, the component information and vulnerability information are configured to have association.

[0054] Since some network sources or vulnerability information disclosed on security information disclosure websites are inaccurate, or some vulnerability information is updated late, and some search engines obtain information generated by content farms or AIGC, which causes the actual component information and vulnerability information to not match, the component information and vulnerability information can be further aligned with manual assistance.

[0055] For example, a user interface running on a client or a web page interface provided in the form of a browser can be constructed, or a user interface running on a mobile terminal in the form of an App can be constructed, and at least component information and system-recommended vulnerability information can be provided on the interface. Users can make associations by confirming and deny the association between component information and vulnerability information by rejecting.

[0056] Alternatively, within the constructed user interface, users can directly deny vulnerability information through the provided component information and directly confirm that the component information is safe;

[0057] Alternatively, in the constructed user interface, corresponding to the provided component information, the user selects one or more vulnerabilities from the collected vulnerability options to match them with the component information;

[0058] Alternatively, in the constructed user interface, corresponding to the provided component information, the user selects one or more vulnerabilities from the collected vulnerability options, and selects one or more component information from the provided component information, and matches it with the selected vulnerability information;

[0059] In the above-mentioned user interface, corresponding to the provided component information or vulnerability information, and its corresponding vulnerability information or component information part is generated based on the recommendation. The recommendation here can be based on the similarity between the vulnerability information and the component information, or based on the source. For example, the vulnerability information based on CNVD or CCNVD is considered reliable and provided as recommended information.

[0060] In this way, the accuracy of the degree of association is further improved based on public information.

[0061] According to one embodiment of the present invention, the dependency relationship between components is determined by a component analysis method.

[0062] Software Composition Analysis (SCA) is a technique for identifying, managing, and tracking software by analyzing the information and features it contains. Using SCA technology to perform security testing on applications is a common software analysis method.

[0063] In theory, SCA is a universal analysis method that can analyze any development language object, such as Java, C / C++, Golang, Python, JavaScript, etc. It focuses on the file content at the file level, the relationship between files, and the details of the process of combining them into a target. From the perspective of the target program analyzed by SCA, it can be either source code or various types of compiled binary files. The analyzed data objects are insensitive to the program architecture and compilation method.

[0064] The SCA analysis process includes decompressing the target source code or binary file, extracting features from the file, identifying and analyzing the features, and obtaining the relationship between the various parts to obtain a portrait of the application - component name + version number, and then associating a list of known vulnerabilities.

[0065] The present invention obtains the dependency relationship between components through component analysis and further provides the association between vulnerabilities.

[0066] According to one embodiment of the present invention, the dependency propagation influence graph is constructed as follows:

[0067] Use nodes to represent components, use edges to represent dependencies between components, and build a dependency graph;

[0068] Determine the propagation path and impact scope of the vulnerability based on the dependency graph and the components corresponding to the vulnerability.

[0069] The present invention realizes the association between vulnerabilities and components by using a graph network, and based on this, the propagation path and impact range of the vulnerability can be intuitively confirmed.

[0070] According to one embodiment of the present invention, responding to a vulnerability includes:

[0071] Based on the vulnerability propagation impact graph, components with vulnerabilities are identified, and the association between the current component and the vulnerable component in the dependency graph is determined through the depth-first search algorithm. Based on the public vulnerability information and security patch information of the vulnerable component, the impact of the vulnerable component on the system is determined.

[0072] When there is a vulnerability in the system, a depth-first search algorithm can be used to determine how a component is related to the vulnerability.

[0073] Specifically, the depth-first traversal of the graph starts from the component corresponding to a node in the graph: visit the component; start from the unvisited adjacent points of the component in turn, and perform depth-first traversal of the graph; until all components in the graph that have paths connecting to the component are visited; if there are still components in the graph that have not been visited, start from an unvisited node and re-perform depth-first traversal until all components in the graph have been visited.

[0074] According to one embodiment of the present invention, responding to a vulnerability includes:

[0075] Identify components with vulnerabilities based on the vulnerability propagation impact graph, determine alternative versions of the corresponding components without vulnerabilities or versions with controllable vulnerabilities based on the graph algorithm, and replace the components with vulnerabilities;

[0076] Or determine the repair method of the vulnerable component based on the component vulnerability information and repair the vulnerability.

[0077] This method can be used to determine the corresponding security response measures when the same-origin security vulnerability is identified.

[0078] According to one embodiment of the present invention, a method for constructing a dependency propagation influence graph includes:

[0079] Based on the alignment results of component information and vulnerability information, determine the correspondence between components and vulnerabilities;

[0080] Use component analysis to determine dependencies between components;

[0081] Identify vulnerable components;

[0082] Construct a dependency propagation impact graph based on the vulnerability propagation path and dependency relationships.

[0083] In one embodiment of the present invention, the analysis and response of the same-source security vulnerability is performed in the following manner:

[0084] Step 1: Data collection, which uses crawler programs to automatically collect component information such as source code, binary files, bytecode, third-party package dependencies, and domestic and foreign vulnerability data.

[0085] The data sources collected include: Source code projects, source code projects from domestic and foreign open source websites and communities, including GITHUB, GITEE, GOOGLE CODE, APACHE and other open source websites and communities. Since the number of source code projects is too large, and many open source projects are sample projects or student graduation projects, these projects are basically not relied on by other projects. For time efficiency and space saving, priority can be given to collection based on popularity and popularity, such as the star and fork index in GITHUB. Bytecode projects, full collection of bytecode projects in the Maven central warehouse. Binary projects, collection of commonly used dynamic link libraries, static dependency libraries and commonly used binary software package projects for Windows and Linux systems. Third-party package dependencies, collection of configuration file information for multiple programming languages, including configuration file information for more than 20 programming languages ​​such as JS, Python, PHP, etc. Vulnerability information, collection of official vulnerability libraries and private well-known vulnerability library data at home and abroad, including NVD, CNVD, CNNVD, and vulnerability data in other private vulnerability libraries.

[0086] The second step: vulnerability alignment is the process of analyzing and aligning the associations between the collected vulnerability information and source code, bytecode, binary projects, and third-party package dependencies: processing the native vulnerability data, using CPE format information to perform some version normalization processing for preliminary alignment. CPE stands for Common Platform Enumeration, which means common platform enumeration items. It is a unified naming specification for IT products, including systems, platforms, and software packages. Using the search information obtained based on search engines, further alignment operations are performed through natural language processing. Using the alignment information after the above two steps, a vulnerability recommendation alignment system is built, and the final association alignment is performed through manual review.

[0087] Step 3: Dependency resolution. During software development and deployment, the dependencies between components are very complex. The present invention uses component analysis technology to analyze and process the dependencies of software components. The dependency resolution process includes the following steps: Determine components. Before analyzing dependencies, it is necessary to first determine all collected components. The contents of these components may be source code files, library files, configuration files, etc. Different types of components are processed by different preprocessing methods. Determine dependencies. Determine the dependencies between components by analyzing the reference relationships between components. Dependencies may include compilation dependencies, runtime dependencies, configuration dependencies, etc. Resolve dependency conflicts. In some cases, there may be dependency conflicts between different components, such as conflicts between different versions of the same component. Dependency conflict resolution is required, the appropriate version is selected, and corresponding configuration is performed. Manage dependencies. During software development and deployment, manage dependencies, manage dependent versions, update dependencies, and so on.

[0088] Step 4: Construct a dependency propagation impact graph. After determining the dependencies of all components according to the third step, use the graph algorithm to construct a dependency propagation impact graph. Determine all the collected components, including source code projects, binary projects, bytecode projects, third-party package dependency project information, etc., and classify and group all components. Establish a component dependency graph. Represent the components and their dependencies with nodes and edges, and construct a component dependency graph. Nodes represent components, and edges represent dependencies. Nodes can be represented by points of different sizes according to the number of references and reference dependencies, and vulnerable components can be marked. In the component dependency graph, components containing vulnerabilities are marked in combination with vulnerability alignment information. Vulnerable components can be distinguished by color marking according to severity, so as to further analyze the propagation path and impact range of the vulnerability. Analyze the vulnerability propagation path. According to the dependency graph, analyze the path of vulnerability propagation from the vulnerable component to other components. Vulnerability propagation can be simulated by graph algorithms or analyzed manually. Analyze the impact range of the vulnerability. According to the vulnerability propagation path, analyze the impact range of the vulnerability, including the affected component sub-dependencies, parent dependencies, direct dependencies, indirect dependencies, etc.

[0089] Step 5: Security response to homologous vulnerabilities. According to the propagation path and impact scope, security response is carried out for components, including homologous vulnerability analysis, checking the impact scope of the vulnerability, and determining corresponding security measures, such as patching vulnerabilities, upgrading components, and restricting access. Vulnerability identification: Use the propagation impact dependency graph to identify components with vulnerabilities, including vulnerabilities directly with vulnerabilities and vulnerabilities introduced through propagation dependencies. Dependency extraction is implemented in the propagation impact graph through the depth-first search algorithm to thoroughly find the association between the current component and the component containing the vulnerability in the dependency tree, and monitor the public vulnerability information and security patch information, and further evaluate its impact on the system. Vulnerability assessment: Assess the risk and potential impact of the vulnerability, and determine the priority and urgency of the vulnerability based on the difficulty of exploitation, impact scope, severity level, etc. Vulnerability repair: Take appropriate measures to repair the vulnerability, use the propagation impact graph to locate component information, use the graph algorithm to find similar versions without vulnerabilities, or locate the corresponding repair method based on the repair suggestions of the component vulnerability information, such as upgrading the component version, installing security patches, modifying the code or configuration file, and restricting the use of components. Vulnerability verification: Verify whether the vulnerability has been successfully repaired based on the vulnerability description information, POC information, etc., and ensure the security of the component. Vulnerability reporting: Record vulnerabilities and fixes, and report and notify relevant parties.

[0090] In order to verify the effect of this embodiment, through experiments, 1000 commonly used component versions were randomly selected from the package dependency repositories corresponding to 5 popular programming languages, and the component versions themselves did not contain vulnerabilities. These components were further analyzed through the propagation impact diagram to locate the direct dependency and indirect dependency information as well as the vulnerability information on the dependency propagation path. The results are shown in Table 1.

[0091] Table 1 Utilization of communication impact analysis results

[0092] Component type (1000 of each component were selected for experiment) Average dependency path length Average path length leading to vulnerabilities Number of components affected by the vulnerability Number of vulnerabilities introduced Average fix recommendations for a single vulnerability JAVA (MAVEN) 5.6 3.3 217 1347 2.7 JS (NPM) 3.9 2.1 173 763 2.5 Python (PIP) 4.2 2.7 198 862 2.4 PHP(composer) 3.6 2.2 146 347 2.6 C++ (CMAKE) 5.1 3.0 202 933 2.5

[0093] Table 1 summarizes the results of the propagation impact analysis of all the above components, including the average dependency path length (such as A->B->C means the length is 2), the average path length of the introduced vulnerability, the number of components affected by the vulnerability, the number of introduced vulnerabilities, and the average recommended repair method for a single vulnerability.

[0094] The operation results show that the security response of homologous vulnerabilities using propagation impact analysis can effectively identify vulnerability information on deep-level dependency links, reduce the number of missed vulnerabilities, and ensure that there is centrality on vulnerable paths, that is, most vulnerable paths will pass through limited dependencies, which can be used to cut off vulnerable paths. It can provide program developers with effective and diverse repair suggestions and emergency plans to effectively reduce the harm caused by vulnerabilities to the system in a timely manner.

[0095] Furthermore, in order to achieve the above-mentioned purpose of the invention, the present invention also provides a homologous vulnerability security response system based on propagation impact analysis. Figure 2 Flow chart of a homologous vulnerability security response system based on propagation impact analysis in the present invention, such as Figure 2 As shown, a homologous vulnerability security response system based on propagation impact analysis in the present invention includes:

[0096] The component vulnerability alignment unit is used to align component information and vulnerability data to determine the corresponding relationship between components and vulnerabilities;

[0097] A vulnerability propagation image graph acquisition unit, used to determine a vulnerability propagation impact graph according to the dependency relationship between components;

[0098] The response unit responds to vulnerabilities based on their propagation paths and impact ranges.

[0099] Based on this, the beneficial effect of the present invention is that it can adaptively adjust the code analysis system detection configuration for the code to be tested using different program frameworks, saving the steps of manually customizing the analysis configuration of a specific framework, streamlining the construction of relevant models of the system analysis layer, and reducing the false alarm rate of security vulnerability detection, thereby solving the problem of adaptive detection of the code to be tested using different program frameworks.

[0100] Those of ordinary skill in the art will appreciate that the modules and algorithm steps described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0101] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and equipment can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0102] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0103] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the embodiments of the present invention.

[0104] In addition, each functional module in the embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.

[0105] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the energy-saving signal sending / receiving method of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, ROM, RAM, disk or optical disk and other media that can store program codes.

[0106] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with (but not limited to) technical features with similar functions disclosed in the present application.

[0107] It should be understood that the size of the serial numbers of each step in the content of the invention and the embodiments of the present invention does not absolutely mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

Claims

1. A security response method for homologous vulnerabilities based on propagation impact analysis, characterized in that: include: According to the alignment results of component information and vulnerability information, the corresponding relationship between components and vulnerabilities is determined; Determine the vulnerability propagation impact graph based on the dependencies between components; Respond to vulnerabilities based on their propagation paths and impact areas; Among them, the vulnerability propagation impact graph is constructed as follows: Use nodes to represent components, use edges to represent dependencies between components, and build a component dependency graph; Determine the propagation path and impact range of the vulnerability based on the component dependency diagram and the components corresponding to the vulnerability; The process of obtaining the alignment results includes: Use CPE format information to align component information and vulnerability information. Use natural language processing to perform secondary alignment on the results of the preliminary alignment to obtain the alignment results of component information and vulnerability information; The process of resolving the dependency relationship between the components includes determining the components, determining the dependency relationship and resolving dependency conflicts; the dependency relationship between the components is determined by a component analysis method; Determining the propagation path and impact scope of the vulnerability based on the component dependency graph and the components corresponding to the vulnerability includes: According to the component dependency graph, analyze the path of the vulnerability from the vulnerable component to other components; analyze the impact of the vulnerability according to the propagation path of the vulnerability point; The response to the vulnerability based on the propagation path and impact scope of the vulnerability includes: Based on the vulnerability propagation impact graph, components with vulnerabilities are identified, and the relationship between the current component and the vulnerable component in the component dependency graph is determined through the depth-first search algorithm. Based on the public vulnerability information and security patch information of the vulnerable component, the impact of the vulnerable component on the system is determined.

2. A homologous vulnerability security response method based on propagation impact analysis as claimed in claim 1, characterized in that: Component information includes source code, bytecode, binary files, or configuration files of dependent packages; vulnerability information includes vulnerability information in NVD, CNVD, and CNNVD.

3. A homologous vulnerability security response method based on propagation impact analysis as claimed in claim 1, characterized in that: A visualization interface is constructed based on the alignment structure of the component information and the vulnerability information after the secondary alignment, and in response to an operation of associating the component information and the vulnerability information on the visualization interface, the component information and the vulnerability information are configured to have association.

4. The method for security response to homologous vulnerabilities based on propagation impact analysis according to claim 1, characterized in that: Responding to vulnerabilities also includes: Identify components with vulnerabilities based on the vulnerability propagation impact graph, determine alternative versions of the corresponding components without vulnerabilities or versions with controllable vulnerabilities based on the graph algorithm, and replace the components with vulnerabilities; Or determine the repair method of the vulnerable component based on the component vulnerability information and repair the vulnerability.

5. A homologous vulnerability security response system based on propagation impact analysis, characterized in that: include: The component vulnerability alignment unit is used to align component information and vulnerability data to determine the corresponding relationship between components and vulnerabilities; A vulnerability propagation image graph acquisition unit, used to determine a vulnerability propagation impact graph according to the dependency relationship between components; The response unit responds to vulnerabilities based on their propagation paths and impact ranges; Among them, the vulnerability propagation impact graph is constructed as follows: Use nodes to represent components, use edges to represent dependencies between components, and build a component dependency graph; Determine the propagation path and impact range of the vulnerability based on the component dependency diagram and the components corresponding to the vulnerability; The process of obtaining the alignment results includes: Use CPE format information to align component information and vulnerability information. Use natural language processing to perform secondary alignment on the results of the preliminary alignment to obtain the alignment results of component information and vulnerability information; The process of obtaining the dependency relationship between the components includes determining the components, determining the dependency relationship and resolving the dependency conflict; the dependency relationship between the components is determined by a component analysis method; Determining the propagation path and impact scope of the vulnerability based on the component dependency graph and the components corresponding to the vulnerability includes: According to the component dependency graph, analyze the path of the vulnerability from the vulnerable component to other components; analyze the impact of the vulnerability according to the propagation path of the vulnerability point; The response to the vulnerability based on the propagation path and impact scope of the vulnerability includes: Based on the vulnerability propagation impact graph, components with vulnerabilities are identified, and the relationship between the current component and the vulnerable component in the component dependency graph is determined through the depth-first search algorithm. Based on the public vulnerability information and security patch information of the vulnerable component, the impact of the vulnerable component on the system is determined.