Method and system for identifying an optimized set of code commits to perform vulnerability remediation
Abstract
Embodiments of present disclosure relates to method and remediation system of performing remediation for managing vulnerabilities in application. The remediation system receives data related to source code associated with plurality of vulnerabilities and target code of application from one or more data sources. The remediation system identifies commit-log comprising plurality of code commits by extracting features, code commits and test cases from one or more data sources. The remediation system determines lower bound limit and upper bound limit to identify optimal code commits log from commit-log. Thereafter, the remediation system performs remediation by generating security patches for optimal code commits log. Thus, the present disclosure automatically identifies optimal code commits log for which security patches needs to be generated without any manual intervention.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 0.
Claims (8 — 2 Independent, 6 Dependent)
- Claim 1Independent Claim
A method of performing remediation for managing vulnerabilities in an application, the method comprising: receiving, by a processor of a remediation system, data related to one or more source code associated with a plurality of vulnerabilities and a target source code of an application, from one or more data sources for generating a remediation workflow for the one or more source code; identifying, by the processor of the remediation system, a commit-log comprising a plurality of code commits for the plurality of vulnerabilities of the one or more source code, wherein the identification comprises: extracting, by the processor of the remediation system, one or more features associated with each code commit of the commit-log from the one or more data sources; and extracting, by the processor of the remediation system, one or more test cases for each code commit based on the one or more features and exploit code associated with each code commit from the one or more data sources; generatin
- Claim 2Depends on #1
The method as claimed in claim 1, wherein the data comprises vulnerability data and configuration data related to the one or more source code and the target source code.
- Claim 3Depends on #1
The method as claimed in claim 1, wherein the one or more data sources comprises a plurality of databases.
- Claim 4Depends on #1
The method as claimed in claim 1, wherein determining the lower bound limit and the upper bound limit in the traversal path comprises: identifying, by the processor of the remediation system, the lower bound limit by traversing from the one or more source code to the target source code and eliminating one or more code commits from the commit-log based on failure of exploit test cases associated with the one or more code commits; and identifying, by the processor of the remediation system, the upper bound limit by traversing from the target source code to the one or more source code and eliminating features of the target source code based on failure of test cases related to the features.
- Claim 5Depends on #1
The method as claimed in claim 1, wherein the criteria are determined by: obtaining, by the processor of the remediation system, one or more exploit test cases associated with the one or more optimal code commits log from the one or more data sources; and determining, by the processor of the remediation system, the criteria based on the one or more exploit test cases, wherein the criteria comprise a critically criticality value and a code coverage value for the plurality of vulnerabilities of the one or more source code.
- Claim 6Depends on #1
The method as claimed in claim 1, wherein generating the one or more security patches comprises: identifying, by the processor of the remediation system, a weakness pattern between the one or more source code and the target source code based on weakness information of the one or more source code obtained from the one or more data sources; extracting, by the processor of the remediation system, information associated with the weakness pattern from the one or more data sources; and generating, by the processor of the remediation system, the one or more security patches for the one or more optimal code commits log based on the weakness pattern and the corresponding information.
- Claim 7Depends on #1
The method as claimed in claim 1 further comprising: validating, by the processor of the remediation system, the one or more security patches by executing the one or more security patches for the one or more optimal code commits log.
- Claim 8Independent Claim
A remediation system of performing remediation for managing vulnerabilities in an application, comprising: a processor; and a memory communicatively coupled to the processor, wherein the memory stores processor-executable instructions, which, on execution, cause the processor to: receive data related to one or more source code associated with a plurality of vulnerabilities and a target source code of an application, from one or more data sources for generating a remediation workflow for the one or more source code; identify a commit-log comprising a plurality of code commits for the plurality of vulnerabilities of the one or more source code, wherein the identification comprises: extracting one or more features associated with each code commit of the commit-log from the one or more data sources; and extracting one or more test cases for each code commit based on the one or more features and exploit code associated with each code commit from the one or more data sources; generate script
Technical Overview & Description
TECHNICAL FIELD The present subject matter is related in general to identifying vulnerabilities in an application, more particularly, but not exclusively, the present subject matter relates to a method and system of performing remediation for managing vulnerabilities in an application. BACKGROUND Generally, while developing and maintaining a software source code, the source code undergoes frequent and continuous changes until a final release of the source code. During the frequent and continuous changes, there may be a large number of commits in the source code between two successive releases. The commits are accepted changes in the source code from one release to another release. Also, security risk/security vulnerability may vary for each of the release. Once a version of the software source code is released and it is being used by end-users, maintainer of the software needs to provide appropriate security patches in order to alleviate the security risks associated with the released version of the software. The term “ security risk ” , “ security vulnerability ” , “ security weaknesses ” , and “ vulnerability ” may be used interchangeably throughout the document. In another scenario, a distributor of software may need to maintain different released versions of the software and provide verified version (hardened version) of the software to end users. That is, a verified (hardened) version includes appropriate security patch along with the released version. Hardening is a process of securing a system or a software by reducing number of vulnerabilities associated with the system/software. The appropriate security patch may be developed manually and thus results in long cycle-time for development and verification of the security patch. Currently, existing systems overcome the above problem by generating automated security patch for a particular release of software. However, the existing systems do not consider a possibility of new vulnerabilities being introduced due
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (14)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (1)
- Ban, G., Xu, L., Xiao, Y. et al. B2SMatcher: fine-Grained version identification of open-Source software in binary files. Cybersecur 4, 21 (2021). https://doi.org/10.1186/s42400-021-00085-7.