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

Addressing Security Vulnerability CVE-2023-39533, CVE-2023-29403 by upgrading Go #1871

Closed
talonnguyen opened this issue Oct 3, 2023 · 4 comments

Comments

@talonnguyen
Copy link

https://nvd.nist.gov/vuln/detail/CVE-2023-39533

Description
go-libp2p is the Go implementation of the libp2p Networking Stack. Prior to versions 0.27.8, 0.28.2, and 0.29.1 malicious peer can use large RSA keys to run a resource exhaustion attack & force a node to spend time doing signature verification of the large key. This vulnerability is present in the core/crypto module of go-libp2p and can occur during the Noise handshake and the libp2p x509 extension verification step. To prevent this attack, go-libp2p versions 0.27.8, 0.28.2, and 0.29.1 restrict RSA keys to <= 8192 bits. To protect one's application, it is necessary to update to these patch releases and to use the updated Go compiler in 1.20.7 or 1.19.12. There are no known workarounds for this issue.

Current latest gomplate is v3.11.5 which has Go 1.20.
https://github.com/hairyhenderson/gomplate/releases/tag/v3.11.5

Upgrading to Go 1.20.7 would resolve this vulnerability

@talonnguyen
Copy link
Author

There is also https://nvd.nist.gov/vuln/detail/CVE-2023-29403 that need an upgrade for Go.

I can see in master branch, the version of go will be 1.21 and that would resolve those CVEs. May I know when could we have a new release to include this go version update?
Thanks much.
Talon

@talonnguyen talonnguyen changed the title Addressing Security Vulnerability CVE-2023-39533 by upgrading Go Addressing Security Vulnerability CVE-2023-39533, CVE-2023-29403 by upgrading Go Oct 20, 2023
@noudAndi
Copy link

noudAndi commented Nov 8, 2023

There is also https://nvd.nist.gov/vuln/detail/CVE-2023-24540 in stdlib, which is fixed in go > 1.20.4

An update is highly appreciated! 👍

@hairyhenderson
Copy link
Owner

FYI I'll be releasing gomplate 3.11.6 soon, which will solve this issue.

@hairyhenderson
Copy link
Owner

Fixed by #1910 - I'll release 3.11.6 soon...

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

3 participants