The invention belongs to the technical field of
Internet of Things security, and particularly relates to a
software supply chain-oriented high-risk component security
knowledge base construction method. Comprising the following steps: S100, capturing and collecting component information in the field of
Internet of Things, and collecting basic information of a
binary component; s200, analyzing configuration files of the components, obtaining a dependency relationship among the components, and constructing three data sets; s300, identifying a high-risk component name and a version range from the public
vulnerability database description information to obtain a
vulnerability-version mapping relationship; s400, collecting a
vulnerability diff file from the
open source vulnerability
database, reversely extracting a vulnerability function, adding a function where a vulnerability trigger statement is located into a vulnerability
knowledge base as a vulnerability function, and establishing a vulnerability-version relationship
knowledge base of the high-risk component; and S500, performing
search ranking on submission codes in the high-risk component patch submission range, determining security patches from the top
ranking position, and constructing a security patch knowledge base according to the security patches.