Skip to content
OpenAdvisories
Medium · 5.9 CVE-2022-29242 EUVD-2022-33599

Buffer Overflow on creating key transport blob in GOST Engine

Published May 24, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

Description

GOST engine is a reference implementation of the Russian GOST crypto algorithms for OpenSSL. TLS clients using GOST engine when ciphersuite `TLS_GOSTR341112_256_WITH_KUZNYECHIK_CTR_OMAC` is agreed and the server uses 512 bit GOST secret keys are vulnerable to buffer overflow. GOST engine version 3.0.1 contains a patch for this issue. Disabling ciphersuite `TLS_GOSTR341112_256_WITH_KUZNYECHIK_CTR_OMAC` is a possible workaround.

Affected products

VendorProductAffectedFixed
gost-engine engine < 3.0.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 11 libengine-gost-openssl1.1 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS libengine-gost-openssl1.1 No fix yet —
Ubuntu 20.04 LTS libengine-gost-openssl1.1 No fix yet —
Ubuntu 18.04 LTS libengine-gost-openssl1.1 No fix yet —

References