Container Image Scanning With File-Based Vulnerability Signatures

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing container image vulnerability scanning methods rely on package managers, which cannot detect manually installed packages, vulnerabilities in dependencies, or mitigations, and introduce potential vulnerabilities, leading to inaccurate scanning and performance issues.

Innovation Solution

A vulnerability scanning method that generates unique vulnerability signatures by indexing every file in a container image's layers, using hashes and metadata to create rules for each layer, allowing for accurate vulnerability detection without requiring a package manager.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If package managers are used for vulnerability scanning, then scanning can be performed using existing tools, but manually installed packages cannot be detected and potential vulnerabilities are introduced

Engineering Contradiction:
Improveease of scanningVSAvoidscanning accuracy
Core Design Contradiction:
Ease of manufactureVSReliability

Solution Approach 1:

The patent extracts the vulnerability scanning function from the package manager system and implements it independently through direct filesystem inspection. The scanner examines container image layers and package databases directly without relying on package manager tools, thereby detecting manually installed packages while avoiding package manager-introduced vulnerabilities.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent introduces an intermediary vulnerability signature database that mediates between the container image filesystem and the scanning process. Signatures are generated from known vulnerable packages and their dependencies, allowing accurate detection without direct package manager involvement.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of operation

If package managers are used for vulnerability scanning, then scanning functionality is available, but performance issues are introduced

Engineering Contradiction:
Improvescanning availabilityVSAvoidscanning efficiency
Core Design Contradiction:
Ease of operationVSProductivity

Solution Approach 1:

The patent performs preliminary actions by pre-generating vulnerability signatures from known vulnerable packages and their dependency relationships before scanning. During actual scanning, these pre-computed signatures are directly compared against the container image contents, eliminating the need for time-consuming package manager operations during the scanning process.

Inventive Principle:
Principle #10Preliminary action

3Measurement precision

If comprehensive vulnerability scanning is performed, then detection accuracy is improved, but false positives increase

Engineering Contradiction:
Improvevulnerability detection accuracyVSAvoidfalse positive rate
Core Design Contradiction:
Measurement precisionVSLoss of information

Solution Approach 1:

The patent skips unnecessary verification steps by directly comparing filesystem contents and package database entries against vulnerability signatures. The scanning process efficiently matches package names, versions, and dependency relationships without redundant checks, maintaining high detection accuracy while minimizing false positives through precise signature matching.

Inventive Principle:
Principle #21Skipping (Rushing through)

Data Source

PatentUS20250272409A1Container Image Vulnerability Scanning Based on Vulnerability Signatures
Publication Date: 2025.08.28 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US20250272409A1 patent drawing
  • US20250272409A1 patent drawing
  • US20250272409A1 patent drawing

AI summary

Mechanisms are provided for scanning container images for vulnerabilities. With these mechanisms, a container image is received for inclusion in a container image registry and each layer of the container image is scanned to generate file signatures for each file referenced in each layer. Vulnerability signature(s) are applied to each layer, based on the file signatures of the layer, to determine if criteria of the vulnerability rule(s) of the vulnerability signature(s) are satisfied by at least one layer of the container image. Registration of the container image in the container image registry is accepted or denied based on results of the application of the vulnerability signature(s). Each vulnerability signature comprises one or more vulnerability rules generated from a scanning and indexing of layers of one or more other container images.