-
Notifications
You must be signed in to change notification settings - Fork 78
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
Current 2.8.4 image contain critical security vulnerability #361
Comments
Having the exact same issue |
IMO that CVE is way overclassified. It's not that severe at all. It's just a minor bug. I'm pretty sure it's not a problem for any Caddy users, we don't check if an IP is loopback in security sensitive contexts. If someone can show a case where that can happen, then it would be more of a concern. |
That's true - it's seems overclassified for Caddy. |
Somebody know where is a good tutorial for build this ? |
Also dependabot is suggesting a new release: caddyserver/caddy#365 and caddyserver/caddy#366. See also #367. |
Any update on when this will be patched? Even if it doesn't really impact caddy, many companies focus on scanner outputs. If the scanner says "there's a critical CVE in that code", then it doesn't get deployed -- period. |
We're waiting for 2.9.1 fixes |
You know, in a sense, the CVE ecosystem is like a DoS against companies because they let it be. |
I'm certainly not defending the CVE system. It has it's problems, and many companies misinterpret the purpose. Moreover:
|
2.9.1 just came out. The critical and high vulnerabilities have not been addressed.
|
docker-library/official-images#18209 it'll be available soon (once the jenkins build queue finishes) |
@hackerfactor Did you make your own Caddy v2.9.1 build with an outdated (Go 1.22.3) toolchain? For me, the (amd64) binary release at https://github.com/caddyserver/caddy/releases/tag/v2.9.1 gives:
|
I went to https://caddyserver.com/download and clicked the download button. |
Ah, it looks like that does get built with 1.22.3, so it would seem https://caddyserver.com/download needs to do a better job at keeping its toolchain updated. The official Docker image will pull the GitHub release binary though, AFAIK. |
I'll update the Go version when I'm back at my computer. 👍 |
Actually, upon investigating, the build server is using 1.23 already. And the build cache was reset, so when I download Caddy from the download page I get a build on 1.23. |
Just rechecked. Fixed. Thank you. |
As of today, the latest Caddy 2.8.4 for Alpine contains a security vulnerability that is ranked as Critical: CVE-2024-24790 (published on June 4, 2024)
This vulnerability appears to have been fixed already in the latest golang:1.22 for Alpine image.
Therefore, caddy image needs to be recreated with the latest Golang image (1.22.4 or later)
The text was updated successfully, but these errors were encountered: