Buffer overflow in Gost-Engine Engine

CVE-2022-29242

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.

Vulnerability class: Buffer Overflow

EPSS: 0.016 (73.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2022-29242?
CVE-2022-29242 is a medium-severity vulnerability in Gost-Engine Engine, classified under Buffer Copy without Checking Size of Input (Classic Buffer Overflow). CVSS score: 5.9/10. Published 2022-05-24.
How severe is CVE-2022-29242?
Medium severity. CVSS v3 base score is 5.9 out of 10.
Is CVE-2022-29242 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.