Files
Christian Manivong 1a7319bac4
CI / Tests, lint (pull_request) Successful in 13s
feat(cve-gate): no image goes out with a new fixable critical or high CVE
The release gate of NetOrk/netork#1390. The verdict answers "does a rebuild
improve on the pin?"; a release needs the other question: does the candidate
bring a critical or high CVE that the last release of the same image does not
have and that has a fix? Both inventories go to netOrk's matcher in one call
(kb-server's POST /api/v1/match, one state of its data), and only new and
fixable blocks. A new one without a fix is listed: nobody can close it yet.

No verdict never passes, and an empty NETORK_LICENSE_KEY is said so before
Trivy runs. kb.netork.io's 401 and 403 come from the licence server's
forward-auth and now say what they mean: a licence key where a kb API key
belongs, an unknown key, or a plan without feature_match.
2026-11-08 00:56:11 +01:00

25 lines
1.5 KiB
JSON

{
"src": "netork-kb",
"corpus_revision": 48213,
"current": {"high": 2},
"candidate": {"critical": 1, "high": 3},
"findings": {
"current": [
{"cve": "CVE-2026-1111", "package": "openssl", "installed": "3.5.1-1", "severity": "high", "fixed": "3.5.1-1+deb13u1", "fix_available": true, "ecosystem": "Debian:13"},
{"cve": "CVE-2026-2222", "package": "jinja2", "installed": "3.1.5", "severity": "high", "fixed": "3.1.6", "fix_available": true, "ecosystem": "PyPI"}
],
"candidate": [
{"cve": "CVE-2026-1111", "package": "openssl", "installed": "3.5.1-1", "severity": "high", "fixed": "3.5.1-1+deb13u1", "fix_available": true, "ecosystem": "Debian:13"},
{"cve": "CVE-2026-2222", "package": "jinja2", "installed": "3.1.5", "severity": "high", "fixed": "3.1.6", "fix_available": true, "ecosystem": "PyPI"},
{"cve": "CVE-2026-3333", "package": "urllib3", "installed": "2.4.0", "severity": "high", "fixed": "2.5.0", "fix_available": true, "ecosystem": "PyPI"},
{"cve": "CVE-2026-4444", "package": "zlib1g", "installed": "1:1.3.dfsg+really1.3.1-2", "severity": "critical", "fixed": null, "fix_available": false, "ecosystem": "Debian:13"}
]
},
"closed": [],
"new": [
{"cve": "CVE-2026-3333", "package": "urllib3", "installed": "2.4.0", "severity": "high", "fixed": "2.5.0"},
{"cve": "CVE-2026-4444", "package": "zlib1g", "installed": "1:1.3.dfsg+really1.3.1-2", "severity": "critical", "fixed": null}
],
"point_release": null
}