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

Security: GO-2024-2687 and GO-2023-1571 #101

Open
cmontemuino opened this issue Jul 17, 2024 · 1 comment
Open

Security: GO-2024-2687 and GO-2023-1571 #101

cmontemuino opened this issue Jul 17, 2024 · 1 comment

Comments

@cmontemuino
Copy link

Found two vulnerabilities with govulncheck:

# $ go version
# go version go1.21.12
# govulncheck against v1.1.3
git clone [email protected]:aquasecurity/kubectl-who-can.git
pushd kubectl-who-can
git checkout v0.4.0
govulncheck ./...
#
# Vulnerability #1: GO-2024-2687
#     HTTP/2 CONTINUATION flood in net/http
#   More info: https://pkg.go.dev/vuln/GO-2024-2687
#   Module: golang.org/x/net
#     Found in: golang.org/x/[email protected]
#     Fixed in: golang.org/x/[email protected]
# Vulnerability #2: GO-2023-1571
#     Denial of service via crafted HTTP/2 stream in net/http and golang.org/x/net
#   More info: https://pkg.go.dev/vuln/GO-2023-1571
#   Module: golang.org/x/net
#     Found in: golang.org/x/[email protected]
#     Fixed in: golang.org/x/[email protected]
# Your code is affected by 2 vulnerabilities from 1 module.
# This scan also found 5 vulnerabilities in packages you import and 7
# vulnerabilities in modules you require, but your code doesn't appear to call
# these vulnerabilities.

What's needed: upgrade k8s.io packages to version v0.27.15

cmontemuino added a commit to cmontemuino/kubectl-who-can that referenced this issue Jul 17, 2024
PROBLEM: the project incldues some old package versions that come
with vulnerabilities

SOLUTION: upgrade `k8s.io/xxx` packages to the minimum version
that fixes the reported vulnerabilities

fixes aquasecurity#101
@cmontemuino
Copy link
Author

PR to clear-up all the vulnerabilities: #102

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

No branches or pull requests

1 participant