Created
April 30, 2026 09:10
-
-
Save ritesh/1e91286b4cb28028d71c8603a77e2ab3 to your computer and use it in GitHub Desktop.
testing seccomp profiles for cve 2026-31431. needs to be in the k8s kubelet seccomp root: /var/lib/kubelet/seccomp/deny-af-alg.json
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
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| name: no-af-alg | |
| spec: | |
| securityContext: | |
| seccompProfile: | |
| type: Localhost | |
| localhostProfile: deny-af-alg.json | |
| containers: | |
| - name: app | |
| image: coolbeans-image |
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
| { | |
| "defaultAction": "SCMP_ACT_ALLOW", | |
| "architectures": [ | |
| "SCMP_ARCH_X86_64", | |
| "SCMP_ARCH_AARCH64" | |
| ], | |
| "syscalls": [ | |
| { | |
| "names": ["socket"], | |
| "action": "SCMP_ACT_ERRNO", | |
| "errnoRet": 1, | |
| "args": [ | |
| { | |
| "index": 0, | |
| "value": 38, | |
| "op": "SCMP_CMP_EQ" | |
| } | |
| ] | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment