One Debian tag, and a waiver somebody wrote in 2021
The only CVE work this repository records is a single base-image bump; the rest of the story is a flag that lets the scan fail.
What actually failed
A build, not a report (16 August 2024, in the middle of the pipeline migration). The image scan
went red, and the commit message I wrote names the failing job's console log instead of a CVE:
updated debian version to fix CVE in
The fix was one line
service := wireless-pcap-extractor
BUILD_URL := local
# DEBIAN_VERSION := bullseye-20210902-slim
DEBIAN_VERSION := bullseye-20240812-slim
ELIXIR_VERSION := 1.12.3
ERLANG_VERSION := 24.1.7
One line changed, with the old value left commented above it. From bullseye-20210902-slim to
bullseye-20240812-slim is thirty-five months of Debian point releases in a single tag, and that
is the entire remediation. The base image is a build arg (DEBIAN_VERSION, consumed by both
stages of the Dockerfile). Bumping it rebuilds the release stage on a current Debian, and nobody
has to touch the application.
What the commit did not touch is the two pins directly beneath it (ELIXIR_VERSION,
ERLANG_VERSION). Elixir 1.12.3 and Erlang 24.1.7 are still what the image builds on today.
The waiver predates me
build:
use_version_file: true
version_file_path: IMAGEVERSION
allow_secret_plaintext: true
allow_vulnerable_image: true
Two of those flags were never mine. allow_secret_plaintext and allow_vulnerable_image went
into meta-dev.yml in May 2021, by someone on the Telephony squad, and the commit subject gives
the reason plainly: Allow vulnerable images - nounces in pcaps. The test fixtures under priv/
are real packet captures (sip-invite-486-busy.pcap is one of them), and a scanner reading those
bytes finds things shaped like credentials.
I did put one of them back. The meta-dev.yml I wrote in August 2024 was a fresh file and
dropped allow_vulnerable_image. The February 2026 move to GitHub Actions brought the image scan
back into the path and it failed. The waiver returned the same afternoon
(fix(CW-3385): add allow_vulnerable_image flag for Trivy scan). Restoring a five-year-old
waiver is the opposite of remediation; it is also what the commit log says happened.
Alongside it sits .trivyignore — 81 lines of CVE identifiers from December 2021
(ENGDESK-12511), with duplicates in it: CVE-2018-5709 appears four times, CVE-2011-3374
twice. It arrived with the fork and nobody has pruned it.
Three credentials, two of which buy nothing
The real security change in the migration is where credentials come from. Jenkins bound three
credential IDs into the build environment by name (string(credentialsId: 'ELIXIR_HEX_KEY', …)
and two more like it); GitHub Actions reads the same values out of vault instead, declared in
meta-dev.yml:
secrets:
vault: |
core-wireless-squad/data/provided-creds/github_actions ELIXIR_HEX_KEY | ELIXIR_HEX_KEY;
core-wireless-squad/data/provided-creds/github_actions ELIXIR_OBAN_KEY | ELIXIR_OBAN_KEY;
A use_vault_ha: true line went in beside it earlier (August 2024, one line, one commit).
Two of the three keys are dead weight. OBAN appears in exactly two files here — the Makefile
and meta-dev.yml. It is absent from mix.exs, from mix.lock, and from the Dockerfile, which
declares an ARG for the hex key only. So the Makefile passes two build args that nothing
receives. A secret that travels a pipeline unread is still a secret somebody has to rotate.
What this does not support
There is no vulnerability count here, no severity table and no scan cadence, because the
repository records none of them. Deployment is onto host groups by ansible (instances: 1,
cpu: 256, memory: 256, one port), so there is no Kubernetes RBAC or network policy in the
picture at all. The dependency bumps under assets/ (tmp, postcss, lodash, nanoid, minimatch,
brace-expansion, yaml, picomatch) were opened by Dependabot between 2024 and 2026, and I merged
none of them.
One base image tag, one waiver restored, three credentials moved into vault — two of them for a library the application does not depend on. That is the honest extent of it.