Skip to content

Commit 72a9989

Browse files
authored
Preserve chroot builds and document per-check evidence and CI inputs
1 parent 93dc506 commit 72a9989

2 files changed

Lines changed: 25 additions & 12 deletions

File tree

‎skills/ingress-nginx-security-backport/SKILL.md‎

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,12 @@ proof of the CVE fix.
121121
- Discover the selected release's build layout. For v1.11.5, the NGINX builder
122122
is in `images/nginx/rootfs`; security patches must run in `build.sh` before
123123
configure/compile. Build the final controller from `rootfs` with that rebuilt
124-
base supplied as `BASE_IMAGE`. Adapt paths for other releases.
124+
base supplied as `BASE_IMAGE`. Match the selected release image variant:
125+
for `controller-chroot`, use the release's `rootfs/Dockerfile-chroot`,
126+
its chart chroot setting and matching security context. Record the stock
127+
variant digest and verify the rendered Pod settings and chroot isolation
128+
against that baseline in the integration fixture before delivery.
129+
Adapt paths for other releases.
125130
- Before building, compare every source version, checksum, base, module and
126131
toolchain pin with the untouched selected tag. A patch donor is evidence for
127132
the fix, not evidence that its release-specific build inputs fit the target.
@@ -248,14 +253,19 @@ value and link with the run's real evidence):
248253
> - Retained artifact: `controller-v1.11.4-backport-amd64.tar.gz`, SHA-256
249254
> `0123456789abcdef...`, retained for 14 days. No registry image was published.
250255
>
251-
> | CVE | Source/fix evidence | Behavioral evidence | Result |
252-
> | --- | --- | --- | --- |
253-
> | CVE-2026-123007 | ordered patch and reverse control passed | focused regression plus final-image HTTP/2 and Ingress tests passed | PASS for tested scope |
254-
> | CVE-2026-123634 | ordered patches and final-image identity passed | resolver/subrequest reproducer not run | NOT RUN; partial only |
255-
> | CVE-2026-113425 | mail module absent from the recorded build flags | not required | NOT APPLICABLE |
256+
> For CVE-2026-123007, let **S** be the full tested Git commit and **I**
257+
> the retained platform image config digest. Substitute both exact values
258+
> and the corresponding job or artifact URLs in the completed report.
256259
>
257-
> Confidence: the retained CI artifact contains the recorded fixes and passed
258-
> the stated amd64/Kubernetes/HTTP/2 tests. Resolver behavior, other CPU
259-
> architectures, registry publication and live deployment remain unverified.
260-
> The Linux kernel portion of a broader advisory is outside this image backport.
261-
> Next: add the missing resolver regression before publication.
260+
> | Check | Result | Revision or artifact | Evidence link | Limitation |
261+
> | --- | --- | --- | --- | --- |
262+
> | Patch inclusion | PASS | S | [Job record](https://github.com/example-org/ingress-nginx-maintained/actions/runs/123456789) | Source only |
263+
> | Behavioral regression | NOT RUN | S | [Job record](https://github.com/example-org/ingress-nginx-maintained/actions/runs/123456789) | No targeted regression was run |
264+
> | Final-image binary identity | PASS | I | [Job record](https://github.com/example-org/ingress-nginx-maintained/actions/runs/123456789) | Linux/amd64 only |
265+
> | TLS and HTTP/2 negotiation | PASS | I | [Job record](https://github.com/example-org/ingress-nginx-maintained/actions/runs/123456789) | Protocol compatibility only |
266+
> | Ingress routing | PASS | I | [Job record](https://github.com/example-org/ingress-nginx-maintained/actions/runs/123456789) | One Kubernetes version |
267+
> | Registry publication | NOT RUN | I | [Job record](https://github.com/example-org/ingress-nginx-maintained/actions/runs/123456789) | CI artifact only |
268+
> | Live deployment | NOT RUN | I | [Job record](https://github.com/example-org/ingress-nginx-maintained/actions/runs/123456789) | No cluster rollout |
269+
>
270+
> Confidence: partially verified for the retained CI artifact. Run the missing
271+
> behavioral check before claiming mitigation for this CVE.

‎skills/ingress-nginx-security-backport/references/integration-tests.md‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ digests, build mode, platform matrix, Kubernetes node-image pins, and required
1515
protocols/modules. Reuse the selected release's native build scripts.
1616

1717
Run on PR changes to the manifest, patches, builder, controller/helpers, image
18-
Dockerfiles, dependency pins, chart, workflow and test helpers. Use explicit
18+
Dockerfiles, dependency pins, chart, workflow and test helpers. Include
19+
`rootfs/**` (especially the template and Lua files under `rootfs/etc/**`)
20+
and all other inputs copied or generated by the selected build. Run on every
21+
PR when the complete input set cannot be established. Use explicit
1922
timeouts and cleanup, pinned Actions/tool versions, minimal permissions, and
2023
isolated GitHub Actions runners with Docker. PR validation must work without
2124
registry push credentials or live-cluster access. Do not run untrusted PR code

0 commit comments

Comments
 (0)