hairyhenderson/gomplate

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

talonnguyen opened this issue · 4 comments

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

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

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! 👍

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

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