grype 0.120.1+ds1-1
Package Information
| Description | vulnerability scanner for container images and filesystems Grype is a vulnerability scanner for container images and filesystems. It can scan container images, filesystems, and SBOMs (Software Bill of Materials) for known vulnerabilities. Features: - Scan container images and filesystems for vulnerabilities - Works with Syft SBOMs or generates its own - Supports multiple output formats (table, JSON, CycloneDX, SARIF) - Matches against multiple vulnerability databases - Integrates with CI/CD pipelines Grype reads CSAF VEX documents given with --vex. The csaf-tools package downloads and validates them. It is in contrib because it needs the OASIS CSAF JSON schemas, whose terms forbid modification. Grype also writes SARIF; sarif-oasis-schemas, in non-free for the same reason, has the schema to validate it. |
|---|---|
| Maintainer | Debian Go Packaging Team <team+pkg-go@tracker.debian.org> |
| Changed By | Juan Manuel Méndez Rey <juan.mendezr@proton.me> |
| Sponsor | tsimonq2@debian.org |
| Distribution | unstable |
| Architecture | any |
| VCS | git: https://salsa.debian.org/go-team/packages/grype.git (browse) |
| Closes | #1061720 |
| Tracker | https://tracker.debian.org/pkg/grype |
| Uploaded | 2 hours ago |
New Package Report
.changes
| Version | 0.120.1+ds1-1 |
|---|---|
| Changed-By | Juan Manuel Méndez Rey <juan.mendezr@proton.me> |
| Architecture | source amd64 |
| Distribution | unstable |
| Date | Fri, 25 Sep 2026 19:30:54 +0200 |
| Source | grype |
Changelog
grype (0.120.1+ds1-1) unstable; urgency=medium . * Initial release (Closes: #1061720)
.dsc
| Component | main |
|---|---|
| Package-List | grype deb devel optional arch=any |
| Section | devel |
| Priority | optional |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: grype
Upstream-Contact: Anchore, Inc. <dev@anchore.com>
Source: https://github.com/anchore/grype
Files-Excluded:
test/integration/testdata/image-debian-match-coverage/java/example-java-app-maven-0.1.0.jar
grype/presenter/sarif/testdata/sarif-schema-2.1.0.json
Comment: Files-Excluded removes a prebuilt Java archive shipped as an
integration test fixture. It contains compiled joda-time classes with no
corresponding source, and is only read by test/integration, which needs
docker and a live vulnerability database and is not run at build time.
It also removes the OASIS SARIF 2.1.0 schema, whose terms say it "may not be
modified in any way". Debian ships it in sarif-oasis-schemas (non-free), and
the test that reads it uses that copy when it is installed.
Dependencies are not vendored: they are Debian golang-*-dev packages listed
in Build-Depends, resolved by dh-go through the generated Go workspace.
Files: *
Copyright: 2020-2026 Anchore, Inc.
License: Apache-2.0
Comment:
LICENSE is the Apache-2.0 text with its appendix left as the upstream
boilerplate, "Copyright [yyyy] [name of copyright owner]", and none of
grype's own files carries a notice. Upstream has since added a COPYRIGHT file
reading "Copyright (c) Anchore, Inc." (commit 7c1f50808f, 2026-10-12,
https://github.com/anchore/grype/pull/3791), which no release up to v0.120.1
contains. The years run from the creation of github.com/anchore/grype
(2020-05-26) to this release.
Files: debian/*
Copyright: 2024-2026 Juan Manuel Méndez Rey <juan.mendezr@proton.me>
License: Apache-2.0
Files: grype/pkg/testdata/syft-multiple-ecosystems.json
test/cli/testdata/sbom-grype-source.json
Comment: SBOM test fixtures generated by syft. The GPL-2.0-only,
LGPL-3.0-or-later and MIT strings are values of "license" fields describing
the catalogued packages, not the licence of these files.
Copyright: 2020-2026 Anchore, Inc.
License: Apache-2.0
Files: grype/presenter/cyclonedx/testdata/bom-1.6.schema.json
grype/presenter/cyclonedx/testdata/jsf-0.82.schema.json
grype/presenter/cyclonedx/testdata/spdx.schema.json
Comment: Copies of the CycloneDX specification JSON schemas, used to
validate grype's CycloneDX output. spdx.schema.json is CycloneDX's own list
of SPDX license identifiers, not an SPDX file. The JSF schema implements the
JSON Signature Format developed by Anders Rundgren; the schema file itself is
part of the CycloneDX specification. The holder is the one the CycloneDX
README states.
Copyright: OWASP Foundation
License: Apache-2.0
Files: grype/db/internal/provider/unmarshal/osvmodel/schema-v1.json
Comment: Byte for byte copy of validation/schema.json from
https://github.com/ossf/osv-schema at v1.9.1. The holder is the one that
project's own source headers use. vulnerability_generated.go, generated
from it, holds only Go type definitions and stays under Files: *.
Copyright: 2021 OSV Schema Authors
License: Apache-2.0
Files: internal/file/tar_xz_decompressor.go
internal/file/xz_decompressor.go
Comment: Adapted copies of decompress_xz.go and decompress_txz.go from
https://github.com/hashicorp/go-getter at v2.2.3, as the files themselves
state. MPL-2.0 applies per file, so these stay under it.
Copyright: 2017-2023 HashiCorp, Inc.
2020-2026 Anchore, Inc.
License: MPL-2.0
Files: grype/version/fuzzy_constraint.go
Comment: fuzzyVersionComparison and its helpers are copied from
cvefeed/nvd/smartvercmp.go of https://github.com/facebookincubator/nvdtools ,
as the file states.
Copyright: Facebook, Inc. and its affiliates
2020-2026 Anchore, Inc.
License: Apache-2.0
Files: grype/version/pacman_version.go
grype/version/rpm_version.go
Comment: compareRpmVersions is copied from version.go of
https://github.com/cavaliercoder/go-rpm , as rpm_version.go states;
comparePacmanVersions is a copy of the same function.
Copyright: 2017 Ryan Armstrong
2020-2026 Anchore, Inc.
License: Apache-2.0 and BSD-3-clause
Files: test/integration/testdata/image-portage-match-coverage/var/db/repos/gentoo/skel.ebuild
Comment: Copy of the Gentoo ebuild skeleton, used as a portage fixture.
Copyright: 1999-2022 Gentoo Authors
License: GPL-2
Files: test/integration/testdata/image-debian-match-coverage/javascript/pkg-json/package.json
Comment: Copy of the package.json of npm 6.14.6, used as an npm fixture.
Copyright: npm, Inc. and Contributors
License: Artistic-2.0
Files: test/integration/testdata/image-debian-match-coverage/python/dist-info/METADATA
Comment: Copy of the installed METADATA of Pygments 2.6.1, which embeds the
Pygments README.
Copyright: 2006-2019 the Pygments team
2006-2019 by the respective authors (see AUTHORS file)
License: BSD-2-clause
Files: test/integration/testdata/image-debian-match-coverage/ruby/specifications/bundler.gemspec
Comment: RubyGems stub specification of bundler 2.1.4, generated from the
bundler gem's own metadata.
Copyright: 2010-2019 André Arko
2009 Engine Yard
License: Expat
Files: grype/db/v5/build/transformers/nvd/testdata/*
grype/db/v6/build/transformers/nvd/testdata/*
grype/db/v6/diff/testdata/inputs/nvd/*
grype/matcher/*/testdata/*/nvd/*
internal/dbtest/testdata/shared/all/nvd/*
Comment: NVD CVE records (https://nvd.nist.gov). The CVE descriptions are
MITRE's; the NIST additions (CPE configurations, NIST CVSS) are works of the
US Government. Some records carry the Spanish translations that NVD
publishes, for which no separate terms were found.
Copyright: 1999-2026 The MITRE Corporation
National Institute of Standards and Technology (public domain)
License: cve-tou and public-domain
Files: grype/db/v5/build/transformers/github/testdata/*
grype/db/v6/build/transformers/github/testdata/*
grype/matcher/*/testdata/*/github/*
grype/testdata/unaffected-db/github/*
grype/db/processors/testdata/github.json
Comment: Records from the GitHub Advisory Database,
https://github.com/github/advisory-database , licensed CC-BY-4.0 in its
LICENSE.md.
Copyright: GitHub, Inc.
License: CC-BY-4.0
Files: grype/db/v6/build/transformers/osv/testdata/GO-*
grype/matcher/golang/testdata/*/govulndb/*
grype/db/processors/testdata/osv.json
Comment: Records from the Go vulnerability database,
https://github.com/golang/vulndb , whose entries are CC-BY-4.0 per its
README.
Copyright: The Go Authors
License: CC-BY-4.0
Files: grype/db/v6/build/transformers/osv/testdata/ALSA-*
grype/matcher/rpm/testdata/alma8/alma/*
Comment: Records from https://github.com/AlmaLinux/osv-database (MIT).
Copyright: 2023 AlmaLinux OS
License: Expat
Files: grype/db/v6/build/transformers/osv/testdata/BIT-*
grype/matcher/bitnami/testdata/bitnami/bitnami/*
Comment: Records from https://github.com/bitnami/vulndb (Apache-2.0).
Copyright: Bitnami (Broadcom Inc.)
License: Apache-2.0
Files: grype/db/v5/build/transformers/os/testdata/rhel-8*
grype/db/v6/build/transformers/os/testdata/rhel-8*
grype/db/v6/diff/testdata/inputs/rhel/*
grype/matcher/rpm/testdata/*/rhel/*
grype/testdata/unaffected-db/rhel/*
grype/matcher/rpm/testdata/hummingbird/hummingbird/*
grype/db/processors/testdata/csaf-vex.json
Comment: Records from Red Hat security data,
https://access.redhat.com/security/data , licensed CC-BY-4.0 with attribution
to Red Hat.
Copyright: Red Hat, Inc.
License: CC-BY-4.0
Files: grype/db/v6/diff/testdata/inputs/sles/*
grype/matcher/rpm/testdata/sles15/sles/*
grype/testdata/unaffected-db/sles/*
Comment: Records from the SUSE OVAL data,
https://security-data.suse.com/oval/LICENSE (CC-BY-4.0).
Copyright: SUSE LLC
License: CC-BY-4.0
Files: grype/db/v5/build/transformers/os/testdata/azure-linux-3.json
grype/db/v5/build/transformers/os/testdata/mariner-*
grype/db/v6/build/transformers/os/testdata/azure-linux-3.json
grype/db/v6/build/transformers/os/testdata/mariner-*
grype/db/v6/diff/testdata/inputs/mariner/*
Comment: Records from https://github.com/microsoft/AzureLinuxVulnerabilityData
(MIT).
Copyright: Microsoft Corporation
License: Expat
Files: grype/db/v6/build/transformers/kev/testdata/*
grype/db/v6/diff/testdata/inputs/kev/*
grype/db/processors/testdata/kev.json
Comment: Records from the CISA Known Exploited Vulnerabilities catalog,
https://github.com/cisagov/kev-data (CC0-1.0).
Copyright: Cybersecurity and Infrastructure Security Agency
License: CC0-1.0
Files: grype/matcher/*/testdata/*/eol/*
grype/db/processors/testdata/eol*
Comment: Records from https://endoflife.date (MIT).
Copyright: 2020 endoflife.date contributors
License: Expat
Files: grype/db/v5/build/transformers/os/testdata/debian-8*
grype/db/v6/build/transformers/os/testdata/debian-8*
grype/db/v6/diff/testdata/inputs/debian/*
grype/matcher/dpkg/testdata/*/debian/*
internal/dbtest/testdata/shared/all/debian/*
Comment: Records from the Debian security tracker,
https://security-tracker.debian.org . Their descriptions are the MITRE CVE
text; the tracker publishes no licence for the rest, which is package names
and versions.
Copyright: 1999-2026 The MITRE Corporation
Debian Security Team
License: cve-tou and advisory-data
Files: grype/db/v6/diff/testdata/inputs/ubuntu/*
grype/matcher/dpkg/testdata/*/ubuntu/*
Comment: Records from the Ubuntu CVE tracker,
https://git.launchpad.net/ubuntu-cve-tracker , which publishes no licence:
package names, versions and empty or test-written descriptions.
Copyright: Canonical Ltd.
License: advisory-data
Files: grype/db/v5/build/transformers/os/testdata/alpine-*
grype/db/v6/build/transformers/os/testdata/alpine-*
grype/db/v6/diff/testdata/inputs/alpine/*
grype/matcher/apk/testdata/*/alpine/*
Comment: Records from https://secdb.alpinelinux.org , which publishes no
licence: package names, fixed versions and CVE ids.
Copyright: Alpine Linux Security Team
License: advisory-data
Files: grype/db/v5/build/transformers/os/testdata/ol-8*
grype/db/v6/build/transformers/os/testdata/ol-8*
grype/db/v6/diff/testdata/inputs/oracle/*
grype/matcher/rpm/testdata/oracle/oracle/*
grype/db/processors/testdata/oracle.json
Comment: Records from the Oracle Linux ELSA OVAL feed,
https://linux.oracle.com/security/oval/ , which states no licence.
Copyright: Oracle Corporation
License: advisory-data
Files: grype/db/v5/build/transformers/os/testdata/amzn*
grype/db/v5/build/transformers/os/testdata/amazon-*
grype/db/v6/build/transformers/os/testdata/amzn*
grype/db/v6/build/transformers/os/testdata/amazon-*
Comment: Records from the Amazon Linux Security Center,
https://alas.aws.amazon.com : advisory ids and versions only.
Copyright: Amazon.com, Inc.
License: advisory-data
Files: grype/db/v5/build/transformers/os/testdata/photon-*
grype/db/v6/diff/testdata/inputs/photon/*
Comment: Records from the Photon OS security advisories,
https://github.com/vmware/photon/wiki : ids and versions only.
Copyright: Broadcom Inc. (VMware Photon OS)
License: advisory-data
Files: grype/db/v6/build/transformers/os/testdata/archlinux*
Comment: Records from https://security.archlinux.org : ids and versions only.
Copyright: Arch Linux Security Team
License: advisory-data
Files: grype/db/v6/build/transformers/os/testdata/fedora-*
Comment: Records from Fedora Bodhi, https://bodhi.fedoraproject.org : ids and
versions only.
Copyright: Fedora Project
License: advisory-data
Files: grype/db/v6/diff/testdata/inputs/echo/*
Comment: Records from https://advisory.echohq.com : package names and CVE ids
only.
Copyright: Echo
License: advisory-data
Files: grype/db/v6/build/transformers/osv/testdata/ROOT-*
grype/matcher/*/testdata/rootio-*/rootio/*
Comment: Records from https://api.root.io/external/osv , which states no
licence: a templated sentence, package names and versions. The ROOT-*.json
files carry the MITRE CVE and GitHub text of the CVEs they patch.
Copyright: Root.io
License: advisory-data
Files: grype/db/v6/build/transformers/epss/testdata/*
grype/db/v6/diff/testdata/inputs/epss/*
grype/db/processors/testdata/epss.json
Comment: Scores from FIRST EPSS, https://www.first.org/epss/ , which names no
licence for its data: CVE ids, scores and dates only.
Copyright: 2015-2026 Forum of Incident Response and Security Teams, Inc.
License: advisory-data
Files: grype/db/v5/build/transformers/msrc/testdata/*
grype/db/v6/build/transformers/msrc/testdata/*
grype/db/processors/testdata/msrc.json
Comment: Records from the Microsoft Security Response Center API: KB and
product ids, scores and advisory titles.
Copyright: Microsoft Corporation
License: advisory-data
Files: grype/db/v6/diff/testdata/inputs/chainguard-libraries/*
grype/matcher/*/testdata/*/chainguard-libraries/*
Comment: Records from the Chainguard Libraries OpenVEX feed,
https://libraries.cgr.dev/openvex/v1/all.json , which states no licence:
statuses, purls and aliases.
Copyright: Chainguard, Inc.
License: advisory-data
Files: grype/db/v6/diff/testdata/inputs/wolfi/*
grype/matcher/apk/testdata/wolfi-rolling/wolfi/*
Comment: Records from the Wolfi security database,
https://packages.wolfi.dev/os/security.json , published under CC BY-NC-ND 4.0
with a "Chainguard License for Commercial Scanners"
(https://github.com/wolfi-dev/advisories/blob/main/LICENSE): package names,
fixed versions and CVE ids.
Copyright: Chainguard, Inc.
License: advisory-data
Files: grype/db/v6/diff/testdata/inputs/chainguard/*
grype/matcher/apk/testdata/chainguard-rolling/chainguard/*
grype/db/v6/build/transformers/osv/testdata/CGA-*
Comment: Records from the Chainguard security database and OSV feed, published
under the same terms as Wolfi's
(https://github.com/chainguard-dev/vulnerability-scanner-support/blob/main/docs/foundational_concepts.md):
ids, aliases, versions and one-line titles. cga-n0f1-x000-0000.json is
synthetic.
Copyright: Chainguard, Inc.
License: advisory-data
Files: grype/presenter/explain/testdata/*.json
grype/presenter/explain/__snapshots__/*
Comment: grype output used as fixtures for the explain presenter. The
vulnerability descriptions in them come from NVD (MITRE CVE text), Red Hat
and the GitHub Advisory Database.
Copyright: 2020-2026 Anchore, Inc.
1999-2026 The MITRE Corporation
Red Hat, Inc.
GitHub, Inc.
License: Apache-2.0 and cve-tou and CC-BY-4.0
License: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
http://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.
On Debian systems, the complete text of the Apache License, Version 2.0
can be found in "/usr/share/common-licenses/Apache-2.0".
License: Artistic-2.0
This program is free software; you can redistribute it and/or modify it
under the terms of the Artistic License, Version 2.0.
.
On Debian systems, the complete text of the Artistic License, Version 2.0
can be found in "/usr/share/common-licenses/Artistic-2.0".
License: BSD-2-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
.
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
License: Expat
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
License: BSD-3-clause
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
.
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
.
3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
License: GPL-2
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
On Debian systems, the complete text of the GNU General Public License
version 2 can be found in "/usr/share/common-licenses/GPL-2".
License: MPL-2.0
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
.
On Debian systems, the complete text of the Mozilla Public License,
version 2.0 can be found in "/usr/share/common-licenses/MPL-2.0".
License: advisory-data
Vulnerability records copied from public advisory feeds, used as test input
for grype's matchers and database builder. They hold facts about packages:
identifiers, affected and fixed versions, scores and, for some feeds, a
one-line title. Some feeds publish no licence, and Wolfi and Chainguard
publish theirs under CC BY-NC-ND 4.0; each stanza names its feed and terms.
The binary package does not ship them. They are kept in main on the fair
use reasoning given on debian-legal for licence texts in a licence scanner,
https://lists.debian.org/debian-legal/2026/10/msg00043.html , and for short
snippets used as test input in syft,
https://lists.debian.org/debian-legal/2026/11/msg00004.html .
debian/README.source explains why the tests need them.
License: CC-BY-4.0
This work is licensed under the Creative Commons Attribution 4.0
International License.
.
On Debian systems, the complete text of the Creative Commons Attribution 4.0
International License can be found in
"/usr/share/common-licenses/CC-BY-4.0".
License: CC0-1.0
To the extent possible under law, the authors have dedicated all copyright
and related and neighboring rights to this work to the public domain
worldwide.
.
On Debian systems, the complete text of the CC0 1.0 Universal Public Domain
Dedication can be found in "/usr/share/common-licenses/CC0-1.0".
License: cve-tou
CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive,
no-charge, royalty-free, irrevocable copyright license to reproduce, prepare
derivative works of, publicly display, publicly perform, sublicense, and
distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for
such purposes is authorized provided that you reproduce MITRE's copyright
designation and this license in any such copy.
.
DISCLAIMERS
.
ALL DOCUMENTS AND THE INFORMATION CONTAINED THEREIN PROVIDED BY MITRE ARE
PROVIDED ON AN "AS IS" BASIS AND THE CONTRIBUTOR, THE ORGANIZATION HE/SHE
REPRESENTS OR IS SPONSORED BY (IF ANY), THE MITRE CORPORATION, ITS BOARD OF
TRUSTEES, OFFICERS, AGENTS, AND EMPLOYEES, DISCLAIM ALL WARRANTIES, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
INFORMATION THEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
License: public-domain
Works of the United States Government, such as the data NIST publishes in the
National Vulnerability Database, are not subject to copyright protection in
the United States (17 U.S.C. 105).
DFSG Assistant LLM REVIEW 1 blocker, 0 important, 3 minor
This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.
Reviewed 1 hour ago.
Report
DFSG NEW review for grype version 0.120.1+ds1-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis accurate: No - Packaging is of good quality: Yes
- Issues: 1 blocker, 0 important, 3 minor
- debian/watch: version 5
- debian/copyright: machine-readable
- Scan before the review: 10 found
Licensing
debian/copyright is a careful, well-researched DEP-5 file: every licence it uses has a stand-alone paragraph, the embedded go-getter, nvdtools, go-rpm, CycloneDX and OSV copies are correctly attributed, and the upstream licence is Apache-2.0 (LICENSE, with its appendix left as boilerplate). The source does not stand on a free licence throughout, however: about twenty test fixtures are copies of advisory records from feeds which, by the package's own account, publish no licence at all, and the Wolfi and Chainguard fixtures are declared CC BY-NC-ND 4.0 with a restrictive commercial-scanner licence. Neither a licence-free file nor a NoDerivatives/NonCommercial one satisfies DFSG 1 and 3, and not shipping them in the binary does not help the source package. Two smaller accuracy gaps remain (getter.go's MPL-2.0 derivation, and one feed-data file left under Files: *).
Packaging
Packaging is of high quality: dh-go with a Go workspace, no vendoring, debhelper compat 14, DEP-3 patches with justification and Forwarded status, a maintainer-written manpage, Vcs-* and Homepage set, autopkgtest-pkg-go, XS-Go-Import-Path, and a README.source that explains every exclusion and test skip. Standards-Version 4.7.4 matches Policy 4.7.4.1. Patches are minimal and each says why it is needed. The only substantive item is that one Build-Depends, golang-github-anchore-syft-dev, is not in the archive yet.
Issues
blocker licensing 1. Source ships advisory test fixtures with no licence at all and, for Wolfi and Chainguard, under CC BY-NC-ND 4.0 ◂
- Files:
debian/copyright:307-326 (Wolfi/Chainguard stanzas),debian/copyright:215-222 (Ubuntu), 223-231 (Alpine), 232-241 (Oracle), 275-282 (Root.io), 283-290 (EPSS), 299-306 (Chainguard Libraries),debian/copyright:451-461 (License: advisory-data),grype/db/v6/diff/testdata/inputs/wolfi/results/wolfi-rolling/CVE-2022-38178.json,grype/matcher/apk/testdata/wolfi-rolling/wolfi/results/wolfi@rolling/CVE-2024-47535.json,grype/db/v6/build/transformers/osv/testdata/CGA-224q-ccj5-2p53.json,grype/db/v6/diff/testdata/inputs/ubuntu/results/ubuntu-22.04/cve-2022-38178.json,grype/matcher/apk/testdata/alpine318/alpine/,debian/README.source:43-56 - Basis: checked, in the package or with a reference tool
- Evidence:
debian/copyright:310: "published under CC BY-NC-ND 4.0 with a "Chainguard License for Commercial Scanners"", and the Wolfi/Chainguard stanzas carryLicense: advisory-data. The stand-alone paragraph (debian/copyright:452-457) reads: "Vulnerability records copied from public advisory feeds ... Some feeds publish no licence, and Wolfi and Chainguard publish theirs under CC BY-NC-ND 4.0 ... The binary package does not ship them." Other stanzas say the same for their feed:debian/copyright:218"which publishes no licence" (Ubuntu),:223-231(Alpine, "publishes no licence"),:238"which states no licence" (Oracle),:302"which states no licence" (Chainguard Libraries),:285"which names no licence for its data" (EPSS). - Problem: Every file in the source package must be distributed under terms that satisfy the DFSG (Policy 2.2.1: "Every package in main must comply with the DFSG"). CC BY-NC-ND 4.0 fails DFSG 1 (no commercial use) and DFSG 3 (no modified versions); a file with no licence grants Debian no right to redistribute or modify it at all. That the binary does not ship these fixtures is irrelevant: the DFSG applies to the source too, and a mirrored source package is itself a redistribution. The de minimis/fair-use reasoning cited from debian-legal (debian/README.source:47-56) is an argument about liability, not a permission, and it is jurisdiction-dependent.
License: advisory-datais not a licence: it grants nothing, so the file documents that these files are not distributable under a free licence. The same holds for the CC BY-NC-ND material, which additionally carries a commercial-scanner licence. - Fix: Replace the affected fixtures with synthetic records written for the tests (grype's own tests already build most fixtures programmatically), or repack the feed copies out in the +ds tarball and have the affected matcher/diff/transform tests skip when the records are absent, as patch 0005 already does for the SARIF schema. Keep only the copies whose feed publishes a free licence (GitHub CC-BY-4.0, Go vulndb CC-BY-4.0, Red Hat/SUSE CC-BY-4.0, CISA CC0-1.0, MITRE cve-tou). If a debian-legal decision is intended instead, it has to be obtained and cited; the current file cannot be shipped as it stands.
minor licensing 2. internal/file/getter.go is derived from MPL-2.0 go-getter but is not in the MPL-2.0 stanza ◂
- Files:
internal/file/getter.go:122,debian/copyright:62-70 - Basis: checked, in the package or with a reference tool
- Evidence:
getter.go:122:// derived from https://github.com/hashicorp/go-getter/blob/v2.2.3/decompress.go#L23-L63, insidemapToGetterClientOptions. The MPL stanza lists onlyinternal/file/tar_xz_decompressor.goandinternal/file/xz_decompressor.go(debian/copyright:62-63), so getter.go falls toFiles: *and is declared Apache-2.0 only. - Problem: MPL-2.0 section 3.1 requires files containing MPL-covered code to stay under the MPL, and debian/copyright must state the licence of every file. The file is the third go-getter derivation in the tree and the only one the stanza misses, so the copyright is inaccurate for it (the copied part is small, hence minor).
- Fix: Add
internal/file/getter.goto theFiles:list of the2017-2023 HashiCorp, Inc./MPL-2.0stanza.
minor licensing 3. grype/db/processors/testdata/os.json holds Debian tracker and Amazon Linux records but is left under Files: * ◂
- Files:
grype/db/processors/testdata/os.json:1-203,debian/copyright:202-214 (Debian stanza),debian/copyright:242-250 (Amazon stanza) - Basis: checked, in the package or with a reference tool
- Evidence: The file's entries are processed feed records:
"NamespaceName": "debian:8"with"Link": "https://security-tracker.debian.org/tracker/CVE-2008-7220"and"NamespaceName": "amzn:2"with"Link": "https://alas.aws.amazon.com/AL2/ALAS-2018-1106.html". The Debian and Amazon stanzas enumerategrype/db/v5/...,grype/db/v6/...,grype/matcher/...,grype/testdata/...andinternal/dbtest/...paths plusgrype/db/processors/testdata/{github,osv,csaf-vex,kev,eol*,oracle,epss,msrc}.json, but notos.json. - Problem: The neighbouring processor fixtures are each matched by their feed stanza; os.json is not, so its Debian and Amazon data is declared Apache-2.0 (Anchore) under
Files: *. The content is facts only, so the practical effect is small, but the copyright's own mapping is then incomplete for a file it otherwise covers carefully. - Fix: Add
grype/db/processors/testdata/os.jsonto theFiles:lists of the Debian-tracker stanza and the Amazon stanza (or, if it is considered grype's own fixture, say so in a Comment).
minor packaging 4. Build-Depends on golang-github-anchore-syft-dev is not satisfiable: no such binary package in unstable/experimental or in NEW ◂
- Files:
debian/control:9-11 (dh-go, golang-any),debian/control:45 (golang-github-anchore-stereoscope-dev (>= 0.3.4)),debian/control:19 (golang-github-anchore-syft-dev (>= 1.54.1)),go.mod:80 - Basis: checked, in the package or with a reference tool
- Evidence:
golang-github-anchore-syft-dev (>= 1.54.1)in Build-Depends; apt-cache finds no binary package of that name in unstable or experimental, nothing provides it, and it is not among the binaries of any upload in the NEW queues (checked 2026-11-10).go.mod:80requiresgithub.com/anchore/syft v1.54.1, so the dependency is real and not a leftover. All other Build-Depends I checked exist (dh-go 1.69, golang-any 2:1.27~1, moby-moby-client 0.6.0, gohugoio-hashstructure 1.0.0, bmatcuk-doublestar 4.10.0, mholt-archives, go-getter 1.8.9, ...). - Problem: A clean unstable chroot cannot satisfy this Build-Depends, so the package cannot be built until syft is in the archive. This is only an upload-ordering matter as far as grype itself is concerned, and the lists may be a few days old, hence minor.
- Fix: Upload/accept syft (or the golang-github-anchore-syft source) first, or state the dependency in the ITP/blocking bug so the archive knows the ordering.
Verified ◂
- Read all of debian/ in full except debian/watch (out of scope): control, rules, changelog, copyright, gbp.conf, grype.1 (first 63 lines in detail), grype.lintian-overrides, grype.manpages, lrc.config, README.Debian, README.source, source/format, source/lintian-overrides, patches/series and all four patches.
- debian/copyright is DEP-5 with the correct Format URL, Files-Excluded and Upstream-* fields; every short name used (Apache-2.0, MPL-2.0, BSD-3-clause, BSD-2-clause, Expat, GPL-2, Artistic-2.0, CC-BY-4.0, CC0-1.0, cve-tou, public-domain, advisory-data) has a stand-alone
License:paragraph; the /usr/share/common-licenses pointers checked (Apache-2.0, MPL-2.0, GPL-2) exist. - The two Files-Excluded paths are gone from the tree: test/integration/testdata/image-debian-match-coverage/java/ holds only generate-fixtures.md, and grype/presenter/sarif/testdata/ holds only the two presenter goldens; patch 0005 makes Test_SarifIsValid fall back to /usr/share/sarif and skip otherwise.
- grype/presenter/json/testdata/snapshot/anchore-fixture-image-simple.golden and stereoscope-fixture-image-simple.golden (scan: tar archives) are 23 KB and 21.5 KB synthetic docker save tarballs whose only payload is VERSION, json, repositories and a layer.tar with two text files ('file-2 contents!'). No Go file in the tree names either file (grep for 'fixture-image' finds nothing), so they are unreferenced upstream leftovers; they contain no code or other copyrightable third-party material and are covered by Files: *.
- test/integration/testdata/image-centos-match-coverage/var/lib/rpm/Packages (scan: unrecognised binary) is an rpm database generated by the generate-fixture.sh script in the same directory (docker,
rpm --initdb --dbpath /scratch, install of the dive RPM,docker cp .../Packages .); the generator input is in the package, and the file is test data only. - test/integration/testdata/image-sles-match-coverage/var/lib/rpm/Packages (scan: unrecognised binary) is the same kind of rpm database, generated by its own generate-fixture.sh in the same directory with the same docker/rpm steps; generator input present, test data only.
- grype/presenter/cyclonedx/testdata/spdx.schema.json:7,15,41 (scan: CC-BY-NC-ND wording) is CycloneDX's enum of SPDX licence identifiers; the strings are data values, and the file itself is Apache-2.0 as its own $comment says and as the OWASP stanza states. bom-1.6.schema.json and jsf-0.82.schema.json carry the same Apache-2.0 $comment.
- debian/README.source:47 and debian/copyright:310,457 (scan: CC-BY-NC-ND wording) are the package's own statements about the Wolfi/Chainguard fixtures, not licence text of a grype file; they are the subject of the first issue.
- grype/pkg/package_test.go:1020 (scan: 'Apple Inc' not named in copyright) is a syft AppleAppBundleEntry fixture value,
Copyright: "Copyright © 2024 Apple Inc.", i.e. scanned package metadata, not a notice in grype's own file; no stanza is needed. - test/integration/testdata/image-debian-match-coverage/python/dist-info/METADATA:45 (scan: 'the Pygments team, see AUTHORS') is covered by the METADATA stanza, which names '2006-2019 the Pygments team' and 'the respective authors (see AUTHORS file)' and declares BSD-2-clause, matching the file's own
License: BSD License. - Third-party code copies are attributed as the files themselves state: internal/file/tar_xz_decompressor.go:17 and xz_decompressor.go:13 (go-getter), grype/version/fuzzy_constraint.go:123-124 (nvdtools smartvercmp), rpm_version.go:195 (cavaliercoder/go-rpm); pacman_version.go:90-99 is the same function, as the copyright says. The pypa/packaging 'derived from' comments in grype/db/v5/pkg/resolver/python/resolver.go and grype/db/v6/name/python.go cover a single strings.ToLower call, and pypa/packaging is Apache-2.0/BSD-2 dual licensed, so no stanza is needed.
- Licence combination in the binary is compatible: Apache-2.0 grype with MPL-2.0 files (per-file; MPL allows larger works), BSD-3-clause functions and the GPL-2.0-only and Artistic-2.0 fixtures, which are test data not linked into the binary.
- Inventoried every testdata directory (db/v5, db/v6 transformers github/nvd/os/osv/msrc/kev/epss, db/v6/diff inputs, db/processors, matcher/{apk,bitnami,dpkg,golang,java,javascript,python,rpm,ruby,stock}, presenter/{json,cyclonedx,sarif,explain}, internal/dbtest, grype/testdata, test/cli, test/integration) and checked the feed stanzas against them; all feed-copied files except grype/db/processors/testdata/os.json are matched by a stanza (see the third issue). testdata .gitignore files and test/quality's empty submodule directory hold no data.
- test/install/testdata/assets/{valid,invalid}/grype_0.78.0_linux_arm64.tar.gz are 12-byte dummy files for install.sh's checksum tests, not built binaries. No .jar, .class, .so or other compiled artefact remains in the tree.
- Packaging checks: compat 14 (dh_gencontrol supplies relationship substvars itself, so the field list is fine); patches are DEP-3 with Author/Forwarded/Last-Update; the patch 0002/0004 version relaxations are the documented archive-wide pattern; override_dh_auto_test at compat >= 13 need not check nocheck; Suggests to contrib/non-free (csaf-tools, sarif-oasis-schemas) is allowed because Policy 2.2.1 prohibits only Pre-Depends/Depends/Recommends/Build-Depends* on non-main; csaf-tools exists in contrib; changelog version and distribution are correct and it closes #1061720; Standards-Version 4.7.4 against Policy 4.7.4.1; Vcs-*, Homepage and XS-Go-Import-Path set; manpage installed via grype.manpages and documents the source schemes and the database download.
- uscan found upstream releases with
debian/watch; a newer upstream version is available (upstream0.121.3, packaged0.120.1+ds1), which is not a fault of the package. - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0,Artistic-2.0,CC-BY-4.0,CC0-1.0,GPL-2,MPL-2.0).
Not confirmed ◂
- debian/control requires golang-github-anchore-stereoscope-dev (>= 0.3.4); the archive lists only 0.3.2-1, so the versioned dependency may likewise be waiting in NEW (the apt-cache tool reports NEW only for names absent from the archive).
- debian/rules:32-33 builds
-X main.version=$(DEB_VERSION_UPSTREAM:+ds=). A GNU make substitution reference replaces a suffix only, and '0.120.1+ds1' does not end in '+ds', so the expression probably yields 0.120.1+ds1 unchanged andgrype --versionwould show the Debian repack suffix; the make manual is not installed here, so this could not be confirmed. - debian/rules passes
--with=golang --buildsystem=golangand--no-sourceto dh_auto_install, and relies on _build/go.work naming; dh-go is not installed on this system, so those interfaces could not be checked.
Proposed changes ◂
None.
Uploader's response to the LLM review
This is the same case as syft, recently being reviewed.
The advisory records are kept on purpose:
package facts (names, fixed versions, CVE ids), used only by the tests and not shipped in the binary.
I asked debian-legal (https://lists.debian.org/debian-legal/2026/11/msg00005.html); that part has no answer yet, so I followed Soren Stoutner’s answer for syft’s test data (https://lists.debian.org/debian-legal/2026/11/msg00004.html).
Regarding the minor fixes, they are already fixed in https://salsa.debian.org/go-team/packages/grype/-/commit/861be9a7
and golang-github-anchore-syft-dev 1.54.1-1 is in unstable; a clean sbuild installs it.
Also fixed: grype version printed 0.120.1+ds1 (https://salsa.debian.org/go-team/packages/grype/-/commit/b251a254).
Since that fixes can go on the next revision, I request to please upload.
— Juan Manuel Méndez Rey (mendezr), 0 hours ago