Repository navigation
fix(security): bump shadow to 1:4.17.4-2+deb13u1 - #39738
Conversation
CVE-2026-135901 (DSA-6661-1): newuidmap/newgidmap can be made to overwrite an attacker-chosen file. The trixie base of the operators image ships shadow 1:4.17.4-2; add src:shadow to the dpkg-derived --only-upgrade set so passwd and login.defs pick up trixie-security's fixed build.
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
There was a problem hiding this comment.
🔵 Needs a closer look
Neither final operator image was built or scanned, leaving fixed shadow versions and non-root runtime behavior unverified and requiring human validation.
No open issues 🎉
What changed in this PR
Extends the existing security-upgrade layer in OpenMetadata’s ingestion operator images to include binaries from Debian’s shadow source package.
Changes:
- Adds
shadowto package selection in both release and CI Dockerfiles. - Documents the advisory and fixed Debian version in rationale comments.
Placement: Affects operator image builds; application code is unchanged. Full-image builds, scans, and runtime checks remain unverified.
Trade-off: none.
Recommendation: Approve the scoped code change; the reported package-level verification does not establish full-image validation.
| File | Description |
|---|---|
ingestion/operators/docker/Dockerfile.ci |
Includes shadow binaries in CI image upgrades and documents the rationale. |
ingestion/operators/docker/Dockerfile |
Applies the same package selection and rationale to release images. |
Review effort: Balanced
Code Review ✅ Approved 🟡 Medium riskAdding shadow to both operators-image upgrade sets changes installed account-management package versions, which could alter container user-management behavior. Bumps VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
|
🤖 Backport to |
|
🤖 Backport to |
|
🤖 Backport to |
|
🤖 Backport to |
* fix(security): bump shadow to 1:4.17.4-2+deb13u1 CVE-2026-135901 (DSA-6661-1): newuidmap/newgidmap can be made to overwrite an attacker-chosen file. The trixie base of the operators image ships shadow 1:4.17.4-2; add src:shadow to the dpkg-derived --only-upgrade set so passwd and login.defs pick up trixie-security's fixed build. * Move the shadow note after the linux-libc-dev paragraph --------- (cherry picked from commit 6c3d4e6) Co-authored-by: Karan Hotchandani <[email protected]> Co-authored-by: Khairajani <[email protected]>
* fix(security): bump shadow to 1:4.17.4-2+deb13u1 CVE-2026-135901 (DSA-6661-1): newuidmap/newgidmap can be made to overwrite an attacker-chosen file. The trixie base of the operators image ships shadow 1:4.17.4-2; add src:shadow to the dpkg-derived --only-upgrade set so passwd and login.defs pick up trixie-security's fixed build. * Move the shadow note after the linux-libc-dev paragraph --------- (cherry picked from commit 6c3d4e6) Co-authored-by: Karan Hotchandani <[email protected]> Co-authored-by: Khairajani <[email protected]>
Surfaced by the Collate security scan on 2026-12-04; the OpenMetadata scanner did not flag this independently. Verified present in
ingestion/operators/docker/Dockerfile(basepython:3.12-slim-trixie) at 1:4.17.4-2, fix 1:4.17.4-2+deb13u1.Advisory
CVE-2026-135901 / DSA-6661-1 (Medium, Link Following).
newuidmap/newgidmapvalidate a caller-supplied/procdirectory fd by device number. A local user can then use user and mount namespaces to make them overwrite the first bytes of an attacker-chosen file. Debian tracker status:Raw scanner finding (Collate handoff)
shadowcurrent1:4.17.4-2, fix1:4.17.4-2+deb13u1(Debian 13 image package)Change
ingestion/operators/docker/DockerfileandDockerfile.ci: I addedshadowto the dpkg-derivedcve_pkgssource-package set in the late root upgrade layer. Its binaries (passwd,login.defs) now get--only-upgraded on every build, next to perl, glibc, zlib and the others. I also added a one-line rationale comment.Verified
python:3.12-slim-trixie,dpkg-queryshowspasswdandlogin.defsfromsrc:shadowat1:4.17.4-2. The apt candidate is+deb13u1.cve_pkgsexpression plusapt-get install --only-upgradein that image. Both packages end at1:4.17.4-2+deb13u1.ingestion/Dockerfileis on the bookworm Airflow base, which Debian lists as not affected, so I left it alone.Not tested
uidmap(the package that ships the vulnerable helpers) is not in the slim base, so the change only clears the scanner-visiblepasswd/login.defsversions.🤖 Generated with Claude Code