OESA-2021-1243

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2021-1243
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2021-1243.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2021-1243
Upstream
Published
2021-06-26T11:03:00Z
Modified
2025-08-12T05:08:30.165460Z
Summary
libgcrypt security update
Details

Libgcrypt is a general purpose cryptographic library originally based on code from GnuPG.

Security Fix(es):

Libgcrypt before 1.8.8 and 1.9.x before 1.9.3 mishandles ElGamal encryption because it lacks exponent blinding to address a side-channel attack against mpi_powm, and the window size is not chosen appropriately. (There is also an interoperability problem because the selection of the k integer value does not properly consider the differences between basic ElGamal encryption and generalized ElGamal encryption.) This, for example, affects use of ElGamal in OpenPGP.(CVE-2021-33560)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / libgcrypt

Package

Name
libgcrypt
Purl
pkg:rpm/openEuler/libgcrypt&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.8.6-3.oe1

Ecosystem specific

{
    "noarch": [
        "libgcrypt-help-1.8.6-3.oe1.noarch.rpm"
    ],
    "aarch64": [
        "libgcrypt-devel-1.8.6-3.oe1.aarch64.rpm",
        "libgcrypt-1.8.6-3.oe1.aarch64.rpm",
        "libgcrypt-debuginfo-1.8.6-3.oe1.aarch64.rpm",
        "libgcrypt-debugsource-1.8.6-3.oe1.aarch64.rpm"
    ],
    "src": [
        "libgcrypt-1.8.6-3.oe1.src.rpm"
    ],
    "x86_64": [
        "libgcrypt-debuginfo-1.8.6-3.oe1.x86_64.rpm",
        "libgcrypt-debugsource-1.8.6-3.oe1.x86_64.rpm",
        "libgcrypt-1.8.6-3.oe1.x86_64.rpm",
        "libgcrypt-devel-1.8.6-3.oe1.x86_64.rpm"
    ]
}