GO-2023-1992

See a problem?
Source
https://pkg.go.dev/vuln/GO-2023-1992
Import Source
https://vuln.go.dev/ID/GO-2023-1992.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2023-1992
Aliases
Published
2023-08-23T14:38:42Z
Modified
2024-05-20T16:03:47Z
Summary
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.

References
Credits
    • Aida Mynzhasova (SEC Consult Vulnerability Lab)

Affected packages

Go / golang.org/x/crypto

Package

Name
golang.org/x/crypto
View open source insights on deps.dev
Purl
pkg:golang/golang.org/x/crypto

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20190424203555-c05e17bb3b2d

Ecosystem specific

{
    "imports": [
        {
            "path": "golang.org/x/crypto/openpgp/clearsign",
            "symbols": [
                "Decode"
            ]
        }
    ]
}