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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 11 | libengine-gost-openssl1.1 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
- https://github.com/gost-engine/engine/security/advisories/GHSA-2rmw-8wpg-vgw5
- https://github.com/gost-engine/engine/commit/7df766124f87768b43b9e8947c5a01e17545772c
- https://github.com/gost-engine/engine/commit/b2b4d629f100eaee9f5942a106b1ccefe85b8808
- https://github.com/gost-engine/engine/commit/c6655a0b620a3e31f085cc906f8073fe81b2fad3
- https://github.com/gost-engine/engine/releases/tag/v3.0.1