golang.org/x/net/idna
- < v0.55.0
A vulnerability exists in the Go programming language's IDNA package, specifically in the ToASCII and ToUnicode functions. These functions improperly accept Punycode-encoded labels that translate to ASCII-only labels. For instance, ToUnicode('xn--example-.com') mistakenly returns 'example.com' instead of an error. This flaw can lead to privilege escalation in applications that rely on the IDNA package, as it allows bypassing hostname checks that are meant to enforce access controls.
Exploitation of this vulnerability can result in unauthorized access to resources or functionalities, bypassing intended privilege checks based on hostname validation.
Users can upgrade to Go version 1.21.0 or later, where this vulnerability has been addressed.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.