Go Vulnerability Database
GO-2023-1992
Misleading message verification in golang.org/x/crypto/openpgp/clearsign
Details
The clearsign package accepts some malformed messages, making it possible for an attacker to trick a human user (but not a Go program) into thinking unverified text is part of the message.
With fix, messages with malformed headers in the SIGNED MESSAGE section are rejected.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | golang.org/x/crypto | All versions before 0.0.0-20190424203555-c05e17bb3b2d (fixed in 0.0.0-20190424203555-c05e17bb3b2d) |