Skip to content
pkgseek
Back to CVE search

CVE-2021-3711

critical · 9.8

In order to decrypt SM2 encrypted data an application is expected to call the API function EVP_PKEY_decrypt(). Typically an application will call this function twice. The first time, on entry, the "out" parameter can be NULL and, on exit, the "outlen" parameter is populated with the buffer size required to hold the decrypted plaintext. The application can then allocate a sufficiently sized buffer and call EVP_PKEY_decrypt() again, but this time passing a non-NULL value for the "out" parameter. A bug in the implementation of the SM2 decryption code means that the calculation of the buffer size …

First indexed 8/24/2021View on NVD

Advisory Facts

Markdown

CVE-2021-3711 is rated CRITICAL (9.8), with 4 indexed affected package builds across 1 distributions.

Severity / Score
CRITICAL (9.8)
Affected builds
4
Affected distros
1
Distros with fixed_in
Ubuntu
+ Embed this vulnerability status card

https://pkgseek.com/embed/security/CVE-2021-3711?locale=en

Distribution-aware status

1
Distributions
4
Package/release records
2
Vendor advisories
4
Fix versions available

Why the upstream version is not enough

Linux distributions often keep an upstream version and backport security patches into the distribution revision. PkgSeek therefore uses exact package versions and vendor advisories; a lower-looking upstream version alone does not prove that a package is vulnerable.

Affected packages

Newest affected build per package, repository source and distribution release.

4 affected package/release combinations

CNNVD cross-reference

Cached Chinese vulnerability records provide local-language classification and aliases. They do not override distribution package or backport status.