Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(kuma-coredns): Don't allow access to privileged ports #26111

Merged
merged 1 commit into from
Aug 11, 2024

Conversation

EyeCantCU
Copy link
Member

@EyeCantCU EyeCantCU commented Aug 11, 2024

Hitting this at random otherwise:

Error: failed to execute coreDNS at path /usr/bin/coredns: fork/exec /usr/bin/coredns: operation not permitted

Running with escalated privileges does not help here.

Looking at Kuma's CoreDNS build repo, they aren't granting access to privileged ports, unlike upstream:

https://github.com/kumahq/coredns-builds/blob/987ec5457098249e8ffe280c8679bd70bcd7f7a5/Makefile#L28

Validated that this is a non-issue with our existing CoreDNS image

Hitting this at random otherwise:

```
Error: failed to execute coreDNS at path /usr/bin/coredns: fork/exec /usr/bin/coredns: operation not permitted
```

Running with escalated privileges does not help here.

Looking at Kuma's CoreDNS build repo, they aren't granting access to
privileged ports, unlike upstream:

https://github.com/kumahq/coredns-builds/blob/987ec5457098249e8ffe280c8679bd70bcd7f7a5/Makefile#L28

Validated that this is a non-issue with our existing CoreDNS image

Signed-off-by: RJ Sampson <rj.sampson@chainguard.dev>
@mamccorm mamccorm merged commit 041f8eb into wolfi-dev:main Aug 11, 2024
12 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.

2 participants