Repository navigation
Fix reported dependency vulnerabilities from the November 19 scan - #108
Merged
Merged
Conversation
Signed-off-by: Johnny Greco <jogreco@nvidia.com>
Signed-off-by: Johnny Greco <jogreco@nvidia.com>
Signed-off-by: Johnny Greco <jogreco@nvidia.com>
Signed-off-by: Johnny Greco <jogreco@nvidia.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The November 19 NSpect scan flagged 7 packages across three projects. Six are upgraded, and four of those upgrades close published advisories: OpenTelemetry Go in the exporter, and dnspython, Tornado, and GStreamer in the Reachy Mini demo. GStreamer is the one the last three scans could not fix; PyPI now publishes 1.28.9 with macOS wheels for every component. Two findings have no fixed release yet, a Punycode CPU issue in golang.org/x/net and a disputed fflate CVE, so each is now documented in its project README with how the project is exposed.
go.opentelemetry.io/oteland its SDK modules)///redirect paths, left open by the 6.6 fixWhat changed
go getandgo mod tidy. The OpenTelemetry advisory also lists the log SDK (otel/sdk/log), which the exporter binary links, so it moves from v0.21.0 to v1.47.0 with the rest. The new versions requireotel/logv1.47.0, x/crypto v0.59.0, x/sys v0.50.0, and x/term v0.48.0; no other module versions change.uv.lockwith uv 0.11.0 to keep the existing format. Only those three packages and the GStreamer components change.x/net and x/text (upgraded, one issue still open): The Go vulnerability database, OSV, and GitHub advisories list nothing against either scanned version. The open issue behind them is CVE-2026-97044 (golang/go#82374; the CVE record is not public yet): converting a very long non-ASCII host name to Punycode takes quadratic CPU time. x/text v0.44.0 caps that work, but in a package the exporter does not compile. The exporter compiles x/net's own
idnapackage and the Go standard library's copy of it, and neither has a fixed release: v0.63.0 is the latest x/net, and the Go backport targets 1.26.12. On x/net v0.63.0, a host name of 20,000 distinct characters takes 4.2 s to convert. The exporter runs that code only for outbound HTTP and gRPC connections, on the host names of the endpoints and proxies it is configured to use, includingNO_PROXYentries, and of any HTTP redirects they return. The exporter README now records this and says to upgrade once fixed releases ship.fflate (no version change): The scan flags CVE-2026-122146, published November 5:
unzipSyncsizes its output from the uncompressed size an archive declares, so a small archive can demand a very large allocation. The record lists 0.8.0 through 0.8.3, the latest release, as affected. The maintainer disputes it as expected behavior, there is no fixed release, and the scan's upgrade guidance is "None". The demo never reaches that code: fflate is used only bythree-stdlibmodel loaders and exporters that the demo does not import, and the production build contains no fflate modules. The earlier advisory, GHSA-px8p-9vwx-vf98, stays fixed by the existing 0.8.3 pin.Verification
Proof: each fixed advisory with a public reproduction fails on the old version and passes on the new one, vulnerability audits show the fixed findings on
mainand none on this branch, and the checks run on Linux passed or matchedmain.go mod tidy -diff,go mod verify,go vet ./...,go test -race -count=1 ./..., andgo build ./cmd/...pass. Both documented configs validate, and the README quickstart delivers thequickstart-1record with a 200 health check. With the collector's own logs exported over OTLP, the upgraded log SDK delivers batches at runtime alongside the unchanged log exporters.govulncheckreports nothing for the upgraded modules; it does not know the OpenTelemetry advisory or CVE-2026-97044, so the reproductions are the evidence for those.RedirectHandleranswers///evil.example/xwith a 301 to that location; 6.6.1 answers 400.pip-audit(OSV) on the packages exported from each lock flags dnspython and tornado onmainand neither on this branch. Tests in Linux Python 3.12 environments built from each lock (macOS-only GStreamer and Zenoh omitted) give identical results onmainand this branch: 254 passed, 1 pre-existing failure (test_sandbox_process_environment_loads_when_dotenv_is_disabled), and 2 modules that cannot import macOS-onlygi.uv lock --check(uv 0.11.0 and 0.13.0),ruff check ., and compileall pass;ty checkreports the same 31 diagnostics on both.uv lockresolves it for the macOS-only lock. The exact locked wheels install for macOS arm64 (Python 3.11 and 3.12) and x86_64 withuv pip install --python-platform. Their contents match 1.28.7 file for file (833 files, 256 plugins, none added or removed), and the bundled core library reports 1.28.9. Each advisory page from SA-2026-0078 through SA-2026-0101 names 1.28.9 or earlier as the fixed release.npm ciandnpm run buildpass. The source map of the production build lists no fflate modules, and the bundle contains none of fflate's error strings.npm ls fflateshows 0.8.3 everywhere, andnpm audit --omit=devreports 0 vulnerabilities.mainallowlist: all 12 enforced dependencies pass.tests/test_dependency_licenses.py: 52 passed.uv sync, tests, and GStreamer playback, because the Reachy lock targets Darwin and this host is Linux. The policy prover's Rust tests and visual check, because only its README changes.Outside this scan:
govulncheckstill reports 13 Go 1.26.8 standard-library advisories, fixed by moving the exporter's toolchain to go1.26.11 (also deferred in #92, #96, and #100).pip-auditstill flags gradio 5.50.1.dev1 and dev-only gitpython 3.1.50, andnpm auditflags dev-only vite and source-map-js.native-controller/pyproject.tomlkeeps unlocked floors and a comment that calls GStreamer 1.28.6 the latest macOS-compatible release. None appear in the scan; they are left for follow-up.Panel review (one round on 7792ab5): generalist, integration, and correctness with Claude Opus 5.5 at high effort was clean. Intent, security, and verification with Claude Fable 5.2 at high effort found one medium issue: this description credited x/text v0.44.0 with fixing CVE-2026-97044, while the exporter still compiles the unfixed code in x/net. Fixed in 674e1ab and c450e51, which add the exporter README note, and in the x/net section above; no dependency version changed. Its follow-up, recording why GStreamer goes to 1.28.9 rather than the scan's 1.29.2a0, is in the table.
Reviewed with sol-loop: 3 rounds with gpt-6.2-sol on high. Sol verdict: approved