Skip to content

Fix reported dependency vulnerabilities from the November 19 scan - #108

Merged
johnnygreco merged 4 commits into
mainfrom
fix/nov-19-scan-dependency-vulnerabilities
Nov 23, 2026
Merged

johnnygreco merged 4 commits into
mainfrom
fix/nov-19-scan-dependency-vulnerabilities

Conversation

@johnnygreco

@johnnygreco johnnygreco commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

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.

Project Package Before After Result
OpenShell exporter OpenTelemetry Go (go.opentelemetry.io/otel and its SDK modules) v1.46.0 v1.47.0 Fixes GHSA-q7gw-24fr-5p69: the attribute length limit is bypassed by values made of U+FFFD characters
OpenShell exporter golang.org/x/net v0.62.0 v0.63.0 Scan guidance and the latest release. CVE-2026-97044 stays open; see below
OpenShell exporter golang.org/x/text v0.43.0 v0.44.0 Scan guidance. The exporter does not compile the package this release fixes; see below
Reachy Mini dnspython 2.9.1 2.9.2 Fixes GHSA-vvf4-9x63-8xvv: a WKS record in zone-file text can exhaust memory and CPU
Reachy Mini tornado 6.6 6.6.1 Fixes GHSA-5cjw-f85j-cv6r: open redirect through /// redirect paths, left open by the 6.6 fix
Reachy Mini gstreamer-bundle and its 10 components 1.28.7 1.28.9 Fixes GStreamer-SA-2026-0078 and SA-2026-0083 through SA-2026-0101. The scan suggests 1.29.2a0, a July prerelease that predates these fixes, so the lock stays on the 1.28 series
Robotics policy prover fflate 0.8.3 0.8.3 No fixed release; see below

What changed

  • ⚙️ Upgrade OpenTelemetry Go, x/net, and x/text in the exporter with go get and go 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 require otel/log v1.47.0, x/crypto v0.59.0, x/sys v0.50.0, and x/term v0.48.0; no other module versions change.
  • 📝 Replace the exporter README's security note. The old note covered x/crypto GO-2026-5932, the unmaintained OpenPGP packages, which x/crypto v0.59.0 no longer contains. The new note covers the open x/net finding.
  • ⚙️ Raise the Reachy security floors for dnspython, tornado, and gstreamer-bundle (the dependency and its uv override), and regenerate uv.lock with uv 0.11.0 to keep the existing format. Only those three packages and the GStreamer components change.
  • ⚙️ Move the gstreamer-bundle license exception to 1.28.9. The license is unchanged (LGPL-2.1-or-later).
  • 📝 Remove the Reachy README note that explained why GStreamer stayed at 1.28.7 and asked for this upgrade once 1.28.9 was installable.
  • 📝 Document the fflate finding in the policy-prover README, as earlier scans did for findings with no fix.

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 idna package 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, including NO_PROXY entries, 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: unzipSync sizes 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 by three-stdlib model 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 main and none on this branch, and the checks run on Linux passed or matched main.

  • Exporter (Go 1.26.8): a standalone reproduction with a length limit of 5 stores 1000 U+FFFD characters on OpenTelemetry v1.46.0 and 5 on v1.47.0. go mod tidy -diff, go mod verify, go vet ./..., go test -race -count=1 ./..., and go build ./cmd/... pass. Both documented configs validate, and the README quickstart delivers the quickstart-1 record 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. govulncheck reports nothing for the upgraded modules; it does not know the OpenTelemetry advisory or CVE-2026-97044, so the reproductions are the evidence for those.
  • Reachy: on 2.9.1, dnspython accepts WKS service number 65536; 2.9.2 rejects it. On 6.6, Tornado's RedirectHandler answers ///evil.example/x with a 301 to that location; 6.6.1 answers 400. pip-audit (OSV) on the packages exported from each lock flags dnspython and tornado on main and neither on this branch. Tests in Linux Python 3.12 environments built from each lock (macOS-only GStreamer and Zenoh omitted) give identical results on main and this branch: 254 passed, 1 pre-existing failure (test_sandbox_process_environment_loads_when_dotenv_is_disabled), and 2 modules that cannot import macOS-only gi. uv lock --check (uv 0.11.0 and 0.13.0), ruff check ., and compileall pass; ty check reports the same 31 diagnostics on both.
  • GStreamer 1.28.9: uv lock resolves it for the macOS-only lock. The exact locked wheels install for macOS arm64 (Python 3.11 and 3.12) and x86_64 with uv 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.
  • Policy prover: npm ci and npm run build pass. The source map of the production build lists no fflate modules, and the bundle contains none of fflate's error strings. npm ls fflate shows 0.8.3 everywhere, and npm audit --omit=dev reports 0 vulnerabilities.
  • Dependency license audit against the main allowlist: all 12 enforced dependencies pass. tests/test_dependency_licenses.py: 52 passed.
  • Not run: macOS 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: govulncheck still 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-audit still flags gradio 5.50.1.dev1 and dev-only gitpython 3.1.50, and npm audit flags dev-only vite and source-map-js. native-controller/pyproject.toml keeps 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

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>
@johnnygreco
johnnygreco merged commit edb01c0 into main Nov 23, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant