clair

quayApache-2.0活跃维护

静态扫描容器镜像中的已知漏洞,帮你在部署前发现 Docker/OCI 镜像的安全问题。

Vulnerability Static Analysis for Containers

v4.9.0发布于 2025-12-10 18:34 UTC11,089star +2 / 7 天1,214fork同步于 2026-11-10 05:29 UTC

怎么上手

README 里没有找到可直接复制的安装命令

README 里没有找到可直接复制的安装命令,请到 README 或官方文档查看安装方式。

硬件要求

README 没有说明硬件要求。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

这个项目的说明还在生成中,先参考下面「最近发版」和 README。

最近发版

5 个版本v4.9.0
  1. v4.9.0v4.9.0 Release最新正式版2025-12-10 · 2025-12-10 18:34 UTC

    [Unreleased]

    [v4.9.0] - 2025-12-10

    Claircore

    • enrichment: don't consider vulnerability.Description for enrichments

    • postgres: better GetEnrichments query

    • rpm: fix use of unique.Handle pinning fs.FS

    • vex: account for new VEX RPM module logic

    • cvss: switch to NVD 2.0 JSON feeds

    • chore: upgrade from pgx v4 to v5

    • vex: allow timeout to pull down VEX archive to be configurable

    • rpm: add function to determine if packages are installed from RPMs

    • sbom: add encoder to encode index reports as SPDX documents

    • rhel: deprecate updater in favor of VEX updater

    • suse: dynamic distribution discovery

    All

    Amqp

    Build(Deps)

  2. v4.8.0v4.8.0 Release2024-10-09 · 2024-10-09 20:19 UTC
    查看更新说明

    [Unreleased]

    [v4.8.0] - 2024-10-09

    NOTE

    This release deprecates the updaters that rely on the Red Hat OVAL v2 security data in favor of the Red Hat VEX data. This change includes a database migration to delete all the vulnerabilities that originated from the OVAL v2 feeds, meaning there could be a time in production environments before the VEX updater completes for the first time when no Red Hat vulnerabilities exist. This release also contains a clairctl admin command to clean up the deprecated vulnerabilities outside of the migration workflow which allows an operator to pre-run the migration:

    clairctl -D admin pre v4.8.0
    

    Claircore

    • rhel: move IgnoreUnpatched config key from updater to matcher

    • rhel: add csaf/vex updater

    • datastore: add vuln and enrich stream updates

    • cpe: add match expression support

    'Chore

    Admin

    • d3467bad: add pre v4.8.0 admin command to delete OVAL vulns
    • d53780b6: add a check for compatible migration version
    • 87c24a9c: add command to update go packages with norm_version
    • 02e6c925: add pre v4.7.3 admin command to create index

    All

    Amqp

  3. v4.7.4v4.7.4 Release2024-05-01 · 2024-05-01 16:59 UTC
    查看更新说明

    [Unreleased]

    [v4.7.4] - 2024-05-01

    NOTE

    The default layer download location has changed

    Claircore

    • tarfs: follow hardlinks in ReadFile

    • debian: update how "source" packages are handled

    • dpkg: improve Source handling

    • libindex: add O_TMPFILE fallback logic

      Please see the documentation for specifics.

      26-0.20240325212310-fedb9d327aa7#NewRemoteFetchArena

    • osv: parse database_specific severity when no CVSS severity is defined

    Build(Deps)

    • 3ebd889c: bump peter-evans/create-pull-request from 6.0.0 to 6.0.1
    • b7566a0f: bump peter-evans/create-pull-request from 5.0.2 to 6.0.0
    • 4db2f09b: bump actions/cache from 3 to 4
    • 6cef8311: bump actions/upload-artifact from 3 to 4
    • 5ed80215: bump actions/download-artifact from 3 to 4
    • c9e1f56b: bump actions/setup-go from 4 to 5
    • 3ab3de55: bump actions/stale from 8 to 9
    • 591188f0: bump docker/setup-buildx-action from 2 to 3
    • 7ef6ef6b: bump docker/login-action from 2 to 3
    • 5597e7cc: bump docker/build-push-action from 4 to 5
    • 14d7f2b4: bump docker/setup-qemu-action from 2 to 3
    • 1204db98: bump actions/checkout from 3 to 4

    Chore

  4. v4.7.3v4.7.3 Release2024-02-26 · 2024-02-26 19:42 UTC
    查看更新说明

    Highlights:

    • The minimum TLS version is now 1.2. Previously, servers also allowed 1.1 connections.

    • Claircore is updated to v1.5.25:

      • rhcc, rhel: support compression of sideband data

      • datastore: add "delta" update interface

      • java: size buffers correctly before use

      • postgres: remove internal timeouts

      • integration: make PGVERSION a pattern

        Additionally, the version used is now read from the distributed manifest, rather than hard-coded versions. Other than occasional network calls to fetch this manifest, users shouldn't notice any difference.

      • alpine: add edge support

      • rpm: support PGP V4 signatures

      • jsonblob: add a disk buffering step

        This makes the API trickier but given that there's a single (known and intended) user, this should be fine.

      • tarfs: check a potential interger overflow

        The possibility of exploiting this is effectively 0, as it would require more bytes to represent a sufficiently large integer than is available in the tar header.

        See also: https://github.com/quay/claircore/security/code-scanning/5

      • gobin: take into account package replacements

      • all: purge http.DefaultClient usage

        This change breaks some API in exchange for unifying the *http.Client handling. The practical upshot is that it's much easier to control the network contact surface.

      • all: share single FS implementation

        This change should improve memory usage.

  5. v4.7.2v4.7.2 Release2023-10-09 · 2023-10-09 20:27 UTC
    查看更新说明

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Clair

    Docker Repository on Quay PkgGoDev IRC Channel

    Note: The main branch may be in an unstable or even broken state during development. Please use releases instead of the main branch in order to get stable binaries.

    Clair Logo

    Clair is an open source project for the static analysis of vulnerabilities in application containers (currently including OCI and docker).

    Clients use the Clair API to index their container images and can then match it against known vulnerabilities.

    Our goal is to enable a more transparent view of the security of container-based infrastructure. Thus, the project was named Clair after the French term which translates to clear, bright, transparent.

    The book contains all the documentation on Clair's architecture and operation.

    Community

    Contributing

    See CONTRIBUTING for details on submitting patches and the contribution workflow.

    License

    Clair is under the Apache 2.0 license. See the LICENSE file for details.