Advisory

GO-2023-1992

Also known as: CVE-2019-11841, GHSA-x3jr-pf6g-c48f

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.

Severity

Not rated by the source.

Dates

Published
2023-08-23 14:38 UTC
Modified
2026-02-04 03:17 UTC

Affected packages and fixes

golang.org/x/crypto

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20190424203555-c05e17bb3b2d (semver)

Fixed versions

0.0.0-20190424203555-c05e17bb3b2d

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences