GO-2023-1992

Misleading message verification in golang.org/x/crypto/openpgp/clearsign

At a glance

Published
Updated
CVE
CVE-2019-11841
Aliases
GHSA-x3jr-pf6g-c48f

Description

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

PackageVersions
Go · golang.org/x/cryptointroduced 0, fixed 0.0.0-20190424203555-c05e17bb3b2d

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database