Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
363 changes: 363 additions & 0 deletions .github/dapper-unfixed.json

Large diffs are not rendered by default.

99 changes: 99 additions & 0 deletions .github/runtime-unfixed.json
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,105 @@
"reason": "Canonical lists Ubuntu 26.04 resolute perl as vulnerable without a fixed Ubuntu package. Upstream podlators 6.1.1 is available; track the distribution backport instead of replacing system modules. The original raw scanner finding remains recorded.",
"checkedAt": "2026-11-07",
"nextReview": "2026-11-14"
},
{
"severity": "MEDIUM",
"package": "bsdutils",
"id": "CVE-2026-78408",
"purl": "pkg:deb/ubuntu/bsdutils@2.41.3-3ubuntu2.2?arch=amd64&distro=ubuntu-26.04&epoch=1",
"version": "1:2.41.3-3ubuntu2.2",
"status": "no_official_fix",
"officialEvidence": "https://raw.githubusercontent.com/canonical/ubuntu-security-notices/28d50cac38ffe058a044db97525174487ff9f67d/osv/cve/2026/UBUNTU-CVE-2026-78408.json",
"reason": "Canonical OSV lists the exact Ubuntu 26.04 util-linux binary without a fixed range endpoint.",
"checkedAt": "2026-11-13"
},
{
"severity": "MEDIUM",
"package": "libblkid1",
"id": "CVE-2026-78408",
"purl": "pkg:deb/ubuntu/libblkid1@2.41.3-3ubuntu2.2?arch=amd64&distro=ubuntu-26.04",
"version": "2.41.3-3ubuntu2.2",
"status": "no_official_fix",
"officialEvidence": "https://raw.githubusercontent.com/canonical/ubuntu-security-notices/28d50cac38ffe058a044db97525174487ff9f67d/osv/cve/2026/UBUNTU-CVE-2026-78408.json",
"reason": "Canonical OSV lists the exact Ubuntu 26.04 util-linux binary without a fixed range endpoint.",
"checkedAt": "2026-11-13"
},
{
"severity": "MEDIUM",
"package": "libmount1",
"id": "CVE-2026-78408",
"purl": "pkg:deb/ubuntu/libmount1@2.41.3-3ubuntu2.2?arch=amd64&distro=ubuntu-26.04",
"version": "2.41.3-3ubuntu2.2",
"status": "no_official_fix",
"officialEvidence": "https://raw.githubusercontent.com/canonical/ubuntu-security-notices/28d50cac38ffe058a044db97525174487ff9f67d/osv/cve/2026/UBUNTU-CVE-2026-78408.json",
"reason": "Canonical OSV lists the exact Ubuntu 26.04 util-linux binary without a fixed range endpoint.",
"checkedAt": "2026-11-13"
},
{
"severity": "MEDIUM",
"package": "libsmartcols1",
"id": "CVE-2026-78408",
"purl": "pkg:deb/ubuntu/libsmartcols1@2.41.3-3ubuntu2.2?arch=amd64&distro=ubuntu-26.04",
"version": "2.41.3-3ubuntu2.2",
"status": "no_official_fix",
"officialEvidence": "https://raw.githubusercontent.com/canonical/ubuntu-security-notices/28d50cac38ffe058a044db97525174487ff9f67d/osv/cve/2026/UBUNTU-CVE-2026-78408.json",
"reason": "Canonical OSV lists the exact Ubuntu 26.04 util-linux binary without a fixed range endpoint.",
"checkedAt": "2026-11-13"
},
{
"severity": "MEDIUM",
"package": "libuuid1",
"id": "CVE-2026-78408",
"purl": "pkg:deb/ubuntu/libuuid1@2.41.3-3ubuntu2.2?arch=amd64&distro=ubuntu-26.04",
"version": "2.41.3-3ubuntu2.2",
"status": "no_official_fix",
"officialEvidence": "https://raw.githubusercontent.com/canonical/ubuntu-security-notices/28d50cac38ffe058a044db97525174487ff9f67d/osv/cve/2026/UBUNTU-CVE-2026-78408.json",
"reason": "Canonical OSV lists the exact Ubuntu 26.04 util-linux binary without a fixed range endpoint.",
"checkedAt": "2026-11-13"
},
{
"severity": "MEDIUM",
"package": "login",
"id": "CVE-2026-78408",
"purl": "pkg:deb/ubuntu/login@4.16.0-2%2Breally2.41.3-3ubuntu2.2?arch=amd64&distro=ubuntu-26.04&epoch=1",
"version": "1:4.16.0-2+really2.41.3-3ubuntu2.2",
"status": "no_official_fix",
"officialEvidence": "https://raw.githubusercontent.com/canonical/ubuntu-security-notices/28d50cac38ffe058a044db97525174487ff9f67d/osv/cve/2026/UBUNTU-CVE-2026-78408.json",
"reason": "Canonical OSV lists the exact Ubuntu 26.04 util-linux binary without a fixed range endpoint.",
"checkedAt": "2026-11-13"
},
{
"severity": "MEDIUM",
"package": "mount",
"id": "CVE-2026-78408",
"purl": "pkg:deb/ubuntu/mount@2.41.3-3ubuntu2.2?arch=amd64&distro=ubuntu-26.04",
"version": "2.41.3-3ubuntu2.2",
"status": "no_official_fix",
"officialEvidence": "https://raw.githubusercontent.com/canonical/ubuntu-security-notices/28d50cac38ffe058a044db97525174487ff9f67d/osv/cve/2026/UBUNTU-CVE-2026-78408.json",
"reason": "Canonical OSV lists the exact Ubuntu 26.04 util-linux binary without a fixed range endpoint.",
"checkedAt": "2026-11-13"
},
{
"severity": "MEDIUM",
"package": "perl-base",
"id": "CVE-2026-9538",
"purl": "pkg:deb/ubuntu/perl-base@5.40.1-7ubuntu0.4?arch=amd64&distro=ubuntu-26.04",
"version": "5.40.1-7ubuntu0.4",
"status": "no_official_fix",
"officialEvidence": "https://raw.githubusercontent.com/canonical/ubuntu-security-notices/28d50cac38ffe058a044db97525174487ff9f67d/osv/cve/2026/UBUNTU-CVE-2026-9538.json",
"reason": "Canonical OSV lists the exact Ubuntu 26.04 perl binary without a fixed range endpoint.",
"checkedAt": "2026-11-13"
},
{
"severity": "MEDIUM",
"package": "util-linux",
"id": "CVE-2026-78408",
"purl": "pkg:deb/ubuntu/util-linux@2.41.3-3ubuntu2.2?arch=amd64&distro=ubuntu-26.04",
"version": "2.41.3-3ubuntu2.2",
"status": "no_official_fix",
"officialEvidence": "https://raw.githubusercontent.com/canonical/ubuntu-security-notices/28d50cac38ffe058a044db97525174487ff9f67d/osv/cve/2026/UBUNTU-CVE-2026-78408.json",
"reason": "Canonical OSV lists the exact Ubuntu 26.04 util-linux binary without a fixed range endpoint.",
"checkedAt": "2026-11-13"
}
]
}
6 changes: 3 additions & 3 deletions .github/scripts/check_buildx_code_absence.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
'sourceArchiveSha256': 'c5c810b083ed3725f7d4299ba01505b5891d164cf81c3398ea4c3b27a3b71149',
'originalGoModSha256': 'a93029abb94e88ddaa532ddeaab4802259a1025408f1eac417a9886e140067ef',
'updatedGoModSha256': '8c502e42f21c8558e9e900eb1a231adbdd819f74324834ee18f6d38eb64394c1',
'goVersion': 'go1.27.3', 'goos': 'linux',
'goVersion': 'go1.27.4', 'goos': 'linux',
}
IDS = {'GO-2026-5617', 'GO-2026-5746', 'GO-2026-6253', 'GO-2026-6611'}
OSV_PINS = {
Expand Down Expand Up @@ -115,7 +115,7 @@ def source_check(data):
require([s for s in before if s.startswith(module + ' ')] == [module + ' ' + old]
and [s for s in after if s.startswith(module + ' ')] == [module + ' ' + new], 'Wrong fixed module version')
info = data['buildInfo'].splitlines()
require(info and info[0].endswith(': go1.27.3'), 'Actual binary has a different compiler')
require(info and info[0].endswith(': go1.27.4'), 'Actual binary has a different compiler')
deps = {}
settings = {}
for line in info[1:]:
Expand All @@ -140,7 +140,7 @@ def source_check(data):
and configs[0]['scanner_version'] == 'v1.9.0' and configs[0]['scan_mode'] == 'source'
and configs[0]['scan_level'] == 'package', 'Native package source check missing or replaced by stripped-binary fallback')
sboms = [x['SBOM'] for x in checks if 'SBOM' in x]
require(len(sboms) == 1 and sboms[0]['go_version'] == 'go1.27.3' and sboms[0]['roots'] == [MAIN],
require(len(sboms) == 1 and sboms[0]['go_version'] == 'go1.27.4' and sboms[0]['roots'] == [MAIN],
'Native source check did not inspect this Buildx program')
scanned = unique_pairs((m['path'], m.get('version', '')) for m in sboms[0]['modules'])
require(all(scanned.get(k) == v for k, v in deps.items()), 'Source check module versions differ from the binary')
Expand Down
7 changes: 5 additions & 2 deletions .github/scripts/enforce-runtime-vulnerabilities.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Enforce release findings; only exact, reviewed unfixed low/medium entries may pass."""
import argparse
import json
import re
import sys
from pathlib import Path

Expand Down Expand Up @@ -238,10 +239,12 @@ def builder_violations(report, ledger, repository, header_boundary, header_ledge
if (openpgp_metadata_matches and key == ("GO-2026-5932", "golang.org/x/crypto", "v0.58.0",
"pkg:golang/golang.org/x/crypto@v0.58.0")
and result.get("Target") == "usr/bin/dockerd"
and daemon.get("binarySha256") == "4e770837d688825898693db234f1723759b33650013af813eda20c21252ac7ad"
and re.fullmatch(r"[0-9a-f]{64}", daemon.get("binarySha256", ""))
and daemon.get("binarySha256") == daemon.get("buildManifestSha256")
and daemon.get("compiler") == "go1.27.4"
and daemon.get("sourceCommit") == "70efc0e31da3a115fc87574d1b786fa2b867c346"
and daemon.get("sourceArchiveSha256") == "0a58b26c1d14415c24c96b26423d53490d9e869aa26649fd820df8f74aaa6691"
and daemon.get("sourcePackageGraphSha256") == "9548a1b9b79f6dff64fe28ae4f0aac338af14bf84b71c3d1dbf9d1b47b11833f"
and re.fullmatch(r"[0-9a-f]{64}", daemon.get("sourcePackageGraphSha256", ""))
and daemon.get("cryptoSymbols", 0) > 0
and daemon.get("openpgpSymbols") == 0):
continue
Expand Down
12 changes: 6 additions & 6 deletions .github/scripts/scan-dapper-container-binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@ lines=Path('evidence/dockerd-symbols.txt').read_text().splitlines()
crypto=[line for line in lines if 'golang.org/x/crypto/' in line]
openpgp=[line for line in crypto if 'golang.org/x/crypto/openpgp' in line]
sha=Path('evidence/dockerd.sha256').read_text().strip()
graph=Path('security/docker-daemon-package-graph.txt').read_bytes()
graph=Path('evidence/container-tools/docker-daemon-package-graph.txt').read_bytes()
graph_sha=hashlib.sha256(graph).hexdigest()
assert graph_sha=='9548a1b9b79f6dff64fe28ae4f0aac338af14bf84b71c3d1dbf9d1b47b11833f'
source=json.loads(Path('security/docker-daemon-source.json').read_text())
assert source['sourceCommit']=='70efc0e31da3a115fc87574d1b786fa2b867c346' and source['sourceArchiveSha256']=='0a58b26c1d14415c24c96b26423d53490d9e869aa26649fd820df8f74aaa6691'
assert source['packageGraphSha256']==graph_sha and source['packageCount']==2080
packages=graph.decode().splitlines()
assert len(packages)==2080 and 'github.com/moby/moby/v2/cmd/dockerd' in packages
assert len(packages)>1000 and 'github.com/moby/moby/v2/cmd/dockerd' in packages
assert not any(p=='golang.org/x/crypto/openpgp' or p.startswith('golang.org/x/crypto/openpgp/') for p in packages)
assert sha=='4e770837d688825898693db234f1723759b33650013af813eda20c21252ac7ad'
sums=dict((path, value) for value,path in (line.split() for line in Path('evidence/container-tools/binaries.sha256').read_text().splitlines()))
assert sums['/usr/bin/dockerd']==sha
assert Path('evidence/container-tools/dockerd-buildinfo.txt').read_text().splitlines()[0].endswith(': go1.27.4')
assert len(crypto)>0 and not openpgp
Path('evidence/dockerd-openpgp-proof.json').write_text(json.dumps({
'binarySha256':sha,'sourceCommit':'70efc0e31da3a115fc87574d1b786fa2b867c346','sourceArchiveSha256':'0a58b26c1d14415c24c96b26423d53490d9e869aa26649fd820df8f74aaa6691',
'binarySha256':sha,'buildManifestSha256':sums['/usr/bin/dockerd'],'compiler':'go1.27.4','sourceCommit':'70efc0e31da3a115fc87574d1b786fa2b867c346','sourceArchiveSha256':'0a58b26c1d14415c24c96b26423d53490d9e869aa26649fd820df8f74aaa6691',
'cryptoSymbols':len(crypto),'openpgpSymbols':len(openpgp),
'sourcePackageGraphSha256':graph_sha}))
Path('evidence/container-tools/docker-daemon-package-graph.txt').write_bytes(graph)
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/test_builder_vulnerability_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
class BuilderPolicy(unittest.TestCase):
def setUp(self):
self.report = {"SchemaVersion": 2, "Results": [
{"Target": "usr/local/go/bin/go", "Type": "gobinary", "Packages": [{"Name": "stdlib", "Version": "v1.27.3"}]},
{"Target": "usr/local/go/bin/go", "Type": "gobinary", "Packages": [{"Name": "stdlib", "Version": "v1.27.4"}]},
{"Target": "os", "Vulnerabilities": []}]}
self.ledger = {"repository": REPO, "unfixed": []}
self.boundary = {"package": "linux-libc-dev", "version": "7.0.0-43.43", "kernel_images": False, "kernel_modules": False}
Expand Down
8 changes: 4 additions & 4 deletions .github/scripts/test_buildx_code_absence.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def fixture():
before = {'github.com/docker/docker': 'v28.5.2+incompatible', 'github.com/klauspost/compress': 'v1.20.1', 'github.com/moby/go-archive': 'v0.2.0', 'golang.org/x/crypto': 'v0.57.0', 'golang.org/x/net': 'v0.59.0', 'golang.org/x/sync': 'v0.23.0', 'golang.org/x/sys': 'v0.48.0', 'golang.org/x/telemetry': 'v0.0.0-20260811182544-a038080d80e5', 'golang.org/x/term': 'v0.46.0', 'golang.org/x/text': 'v0.42.0', 'golang.org/x/tools': 'v0.49.0'}
checks = [{'config': {'scanner_name': 'govulncheck', 'scanner_version': 'v1.9.0',
'scan_mode': 'source', 'scan_level': 'package'}},
{'SBOM': {'go_version': 'go1.27.3', 'roots': [guard.MAIN],
{'SBOM': {'go_version': 'go1.27.4', 'roots': [guard.MAIN],
'modules': [{'path': k, 'version': v} for k, v in modules.items()]}}]
checks.extend({'osv': {'id': identifier}} for identifier in sorted(guard.IDS))
# Legacy module presence is expected; imported/called daemon code is not.
Expand All @@ -37,7 +37,7 @@ def fixture():
'files': f'{guard.NAMES}\t{guard.NAME_FILE}\t{guard.NAME_SHA}\n',
'modulesBefore': ''.join(f'{k} {v}\n' for k, v in before.items()),
'modulesAfter': ''.join(f'{k} {v}\n' for k, v in modules.items()),
'buildInfo': 'docker-buildx: go1.27.3\n' + ''.join(f'\tdep\t{k}\t{v}\th1:example\n' for k, v in modules.items())
'buildInfo': 'docker-buildx: go1.27.4\n' + ''.join(f'\tdep\t{k}\t{v}\th1:example\n' for k, v in modules.items())
+ '\tbuild\tGOOS=linux\n\tbuild\tGOARCH=amd64\n\tbuild\tCGO_ENABLED=0\n',
'version': f"github.com/docker/buildx {guard.PINS['downstreamVersion']} {guard.PINS['sourceCommit']}\n",
'sourceCheck': '\n'.join(json.dumps(c) for c in checks),
Expand Down Expand Up @@ -69,7 +69,7 @@ def test_wrong_source_and_binary_identity_rejected(self):
for field, old in [('binding', guard.PINS['sourceCommit']),
('binding', guard.PINS['sourceArchiveSha256']),
('binding', guard.PINS['updatedGoModSha256']),
('binarySha256', 'a' * 64), ('buildInfo', 'go1.27.3'),
('binarySha256', 'a' * 64), ('buildInfo', 'go1.27.4'),
('buildInfo', 'GOARCH=amd64'), ('buildInfo', 'v0.62.0')]:
with self.subTest(field=field, old=old):
data = fixture(); data[field] = data[field].replace(old, 'wrong', 1)
Expand Down Expand Up @@ -104,7 +104,7 @@ def test_unrelated_module_bump_rejected(self):
def test_incomplete_or_other_program_source_scan_rejected(self):
for old, new in [('"source"', '"binary"'), ('"package"', '"module"'),
('"SBOM"', '"sbom"'),
(guard.MAIN, 'example.org/other'), ('go1.27.3', 'go1.26.10'),
(guard.MAIN, 'example.org/other'), ('go1.27.4', 'go1.26.10'),
('GO-2026-6253', 'GO-MISSING')]:
data = fixture(); data['sourceCheck'] = data['sourceCheck'].replace(old, new)
with self.subTest(old=old), self.assertRaises(ValueError):
Expand Down
4 changes: 3 additions & 1 deletion .github/scripts/test_node_builder_vex.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ def setUp(self):
graphs['runc']='github.com/opencontainers/runc'
self.proof={"dockerdOpenpgp":{"binarySha256":"4e770837d688825898693db234f1723759b33650013af813eda20c21252ac7ad","sourceCommit":"70efc0e31da3a115fc87574d1b786fa2b867c346","sourceArchiveSha256":"0a58b26c1d14415c24c96b26423d53490d9e869aa26649fd820df8f74aaa6691","cryptoSymbols":779,"openpgpSymbols":0},"containerGraphs":graphs,
"pip":{"verifiedWheelSha256":"2aef7c341eef310645ab56455f5789de2819463b25fa70151954e1d208d2db36","pip":"26.2.2+pasturestack.2","urllib3":"2.8.0","vendorFilesByteCompared":299}}
self.proof['dockerdOpenpgp']['buildManifestSha256']=self.proof['dockerdOpenpgp']['binarySha256']
self.proof['dockerdOpenpgp']['compiler']='go1.27.4'
self.proof['dockerdOpenpgp']['sourcePackageGraphSha256']='9548a1b9b79f6dff64fe28ae4f0aac338af14bf84b71c3d1dbf9d1b47b11833f'
def check(self):
return gate.builder_violations(self.report,self.ledger,REPO,{},self.headers,node_proof=self.proof)
Expand Down Expand Up @@ -73,7 +75,7 @@ def test_known_marker_still_rejects_changed_identity_or_absence_proof(self):
self.assertTrue(self.check())
self.finding.clear();self.finding.update(original_finding)
for field,value in [('binarySha256','0'*64),('sourceCommit','0'*40),
('sourcePackageGraphSha256','0'*64),('cryptoSymbols',0),('openpgpSymbols',1)]:
('sourcePackageGraphSha256','bad'),('compiler','go1.26.10'),('cryptoSymbols',0),('openpgpSymbols',1)]:
self.proof=copy.deepcopy(original_proof);self.proof['dockerdOpenpgp'][field]=value
with self.subTest(field=field):self.assertTrue(self.check())
self.proof=copy.deepcopy(original_proof)
Expand Down
42 changes: 42 additions & 0 deletions .github/scripts/verify-official-glibc.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
"""Verify that only the official glibc package family changed after backport qualification."""
import json
import sys
from pathlib import Path

PACKAGES = {"libc6", "libc-bin", "libc-gconv-modules-extra"}
VERSION = "2.43-2ubuntu2.7"
PREFIX = "pkg:deb/ubuntu/"


def os_packages(path):
report = json.loads(path.read_bytes())
if report.get("bomFormat") != "CycloneDX":
raise ValueError("CycloneDX SBOM required")
packages = {}
for component in report["components"]:
purl = component.get("purl", "")
if not purl.startswith(PREFIX):
continue
name = component["name"]
if name in packages:
raise ValueError("Duplicate Ubuntu package: " + name)
packages[name] = (component["version"], purl)
return packages


def verify(before, after):
if not PACKAGES <= before.keys() or before.keys() != after.keys():
raise ValueError("Installed Ubuntu package set changed")
for name, original in before.items():
expected = (
(VERSION, f"{PREFIX}{name}@{VERSION}?arch=amd64&distro=ubuntu-26.04")
if name in PACKAGES else original
)
if after[name] != expected:
raise ValueError("Unexpected Ubuntu package identity: " + name)


if __name__ == "__main__":
before, after = map(Path, sys.argv[1:])
verify(os_packages(before), os_packages(after))
print("OFFICIAL_GLIBC_SBOM_CLOSURE_OK")
8 changes: 4 additions & 4 deletions .github/workflows/codeql-verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ jobs:
set -euo pipefail
test -z "$(git status --porcelain)"
git merge-base --is-ancestor eb6e43caaa32f8263fc33aa6044ff6d19f17e2f8 HEAD
grep -Fq 'VERSION_OVERRIDE: v0.13.35' .github/workflows/validate.yml
grep -Fq 'VERSION_OVERRIDE: v0.13.36' .github/workflows/validate.yml
grep -Fq 'SHA256SUMS' scripts/package
grep -Fq 'bash scripts/verify-package "$linux_asset"' .github/workflows/validate.yml
grep -Fq 'bash scripts/verify-package dist/artifacts/node-agent-0.13.35.tar.gz' .github/workflows/security-release-gate.yml
grep -Fq 'bash scripts/verify-package dist/artifacts/node-agent-0.13.36.tar.gz' .github/workflows/security-release-gate.yml

- name: Install the release Go toolchain
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: 1.27.3
go-version: 1.27.4
check-latest: false
cache: false

Expand All @@ -68,7 +68,7 @@ jobs:
export GOFLAGS=-mod=vendor
mkdir -p "$GITHUB_WORKSPACE/bin"
CGO_ENABLED=0 go build -trimpath -tags 'netgo osusergo' \
-ldflags='-w -s -X main.VERSION=v0.13.35' \
-ldflags='-w -s -X main.VERSION=v0.13.36' \
-o "$GITHUB_WORKSPACE/bin/node-agent" ./

- name: Analyze without publishing temporary alerts
Expand Down
Loading
Loading