Description
CryptoLib provides a software-only solution using the CCSDS Space Data Link Security Protocol - Extended Procedures (SDLS-EP) to secure communications between a spacecraft running the core Flight System (cFS) and a ground station. Prior to version 1.4.3, when the KMC server returns a non-200 HTTP status code, cryptography_encrypt() and cryptography_decrypt() return immediately without freeing previously allocated buffers. Each failed request leaks approximately 467 bytes. Repeated failures (from a malicious server or network issues) can gradually exhaust memory. This issue has been patched in version 1.4.3.
Problem types
CWE-401: Missing Release of Memory after Effective Lifetime
CWE-770: Allocation of Resources Without Limits or Throttling
Product status
References
github.com/...ptoLib/security/advisories/GHSA-h74x-vwwr-mm5g
github.com/...ommit/2372efd3da1ccb226b4297222e25f41ecc84821d
github.com/nasa/CryptoLib/releases/tag/v1.4.3
Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.