Debian Security Advisory

DLA-2402-1 golang-go.crypto -- LTS security update

Date Reported:
09 Oct 2020
Affected Packages:
Security database references:
In Mitre's CVE dictionary: CVE-2019-11840, CVE-2019-11841, CVE-2020-9283.
More information:
  • CVE-2019-11840

    An issue was discovered in supplementary Go cryptography libraries, aka golang-googlecode-go-crypto. If more than 256 GiB of keystream is generated, or if the counter otherwise grows greater than 32 bits, the amd64 implementation will first generate incorrect output, and then cycle back to previously generated keystream. Repeated keystream bytes can lead to loss of confidentiality in encryption applications, or to predictability in CSPRNG applications.

  • CVE-2019-11841

    A message-forgery issue was discovered in crypto/openpgp/clearsign/clearsign.go in supplementary Go cryptography libraries. The Hash Armor Header specifies the message digest algorithm(s) used for the signature. Since the library skips Armor Header parsing in general, an attacker can not only embed arbitrary Armor Headers, but also prepend arbitrary text to cleartext messages without invalidating the signatures.

  • CVE-2020-9283 allows a panic during signature verification in the package. A client can attack an SSH server that accepts public keys. Also, a server can attack any SSH client.

For Debian 9 stretch, these problems have been fixed in version 1:0.0~git20170407.0.55a552f+REALLY.0.0~git20161012.0.5f31782-1+deb8u1.

We recommend that you upgrade your golang-go.crypto packages.

For the detailed security status of golang-go.crypto please refer to its security tracker page at:

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: