Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

suse-cvrf логотип

SUSE-SU-2025:0005-1

Опубликовано: 02 янв. 2025
Источник: suse-cvrf

Описание

Security update for liboqs, oqs-provider

This update for liboqs, oqs-provider fixes the following issues:

This update supplies the new FIPS standardized ML-KEM, ML-DSA, SHL-DSA algorithms.

This update liboqs to 0.12.0:

  • This release updates the ML-DSA implementation to the final FIPS 204 version. This release still includes the NIST Round 3 version of Dilithium for interoperability purposes, but we plan to remove Dilithium Round 3 in a future release.
  • This will be the last release of liboqs to include Kyber (that is, the NIST Round 3 version of Kyber, prior to its standardization by NIST as ML-KEM in FIPS 203). Applications should switch to ML-KEM (FIPS 203).
  • The addition of ML-DSA FIPS 204 final version to liboqs has introduced a new signature API which includes a context string parameter. We are planning to remove the old version of the API without a context string in the next release to streamline the API and bring it in line with NIST specifications. Users who have an opinion on this removal are invited to provide input at https://github.com/open-quantum-safe/liboqs/issues/2001.

Security issues:

  • CVE-2024-54137: Fixed bug in HQC decapsulation that leads to incorrect shared secret value during decapsulation when called with an invalid ciphertext. (bsc#1234292)
  • new library major version 7

Updated to 0.11.0:

  • Kyber: Added formally-verified portable C and AVX2 implementations of Kyber-512 and Kyber-768 from libjade.
  • ML-KEM: Updated portable C and AVX2 implementations of ML-KEM-512, ML-KEM-768, and ML-KEM-1024 to FIP 203 version.
  • Kyber: Patched ARM64 implementations of Kyber-512, Kyber-768, and Kyber-1024 to work with AddressSanitizer.
  • Digital signature schemes:
  • LMS/XMSS: Added implementations of stateful hash-based signature schemes: XMSS and LMS
  • MAYO: Added portable C and AVX2 implementations of MAYO signature scheme from NIST Additional Signatures Round 1.
  • CROSS: Added portable C and AVX2 implementations of CROSS signature scheme from NIST Additional Signatures Round 1.
  • Other changes:
  • Added callback API to use custom implementations of AES, SHA2, and SHA3.

  • Refactor SHA3 implementation to use OpenSSL's EVP_DigestSqueeze() API.

  • new library major version 6

Updated to 0.10.1:

  • This release is a security release which fixes potential non-constant-time behaviour in ML-KEM and Kyber. (bsc#1226162 CVE-2024-36405) It also includes a fix for incorrectly named macros in the ML-DSA implementation.

updated to 0.10.0:

Key encapsulation mechanisms:

  • BIKE: Updated portable C implementation to include constant-time fixes from upstream.
  • HQC: Updated to NIST Round 4 version.
  • ML-KEM: Added portable C and AVX2 implementations of Initial Public Draft (IPD) versions of ML-KEM-512, ML-KEM-768, and ML-KEM-1024.

Digital signature schemes:

  • Falcon: Updated portable C, AVX2, and AArch64 implementations to support fixed-length (PADDED-format) signatures. Fixed the maximum length of variable-length signatures to comply with the NIST Round 3 specification.
  • ML-DSA: Added portable C and AVX2 implementations of Initial Public Draft (IPD) versions of ML-DSA-44, ML-DSA-65, and ML-DSA-87.

Other changes:

  • Improved thread safety.

  • Removed support for the 'NIST-KAT' DRBG.

  • Added extended KAT test programs.

  • library major version changed from 4 to 5

This update also updates oqs-provider to 0.7.0:

  • Adds support for MAYO from Round 1 of NIST’s Post-Quantum Signature On-Ramp process.
  • Adds support for CROSS from Round 1 of NIST’s Post-Quantum Signature On-Ramp process.
  • Updates ML-KEM's code points in line with internet draft draft-kwiatkowski-tls-ecdhe-mlkem-02.
  • Reverses keyshares for X25519MLKEM768 and X448-ML-KEM-768 TLS hybrids in line with draft-kwiatkowski-tls-ecdhe-mlkem-02.

Updated to 0.6.1:

  • CVE-2024-37305: Fixed buffer overflow in deserialization of hybrid keys and signatures (bsc#1226468)

Updated to 0.6.0:

  • First availability of standardized PQ algorithms, e.g., ML-KEM, ML-DSA
  • Support for Composite PQ operations
  • Alignment with PQ algorithm implementations as provided by liboqs 0.10.0, most notably updating HQC and Falcon.
  • Implementation of security code review recommendations
  • Support for more hybrid operations as fully documented here.
  • Support for extraction of classical and hybrid key material

Updated to 0.5.3:

  • only tracking parallel liboqs security update

Updated to 0.5.2:

  • Algorithm updates as documented in the liboqs 0.9.0 release notes
  • Standard coding style
  • Enhanced memory leak protection
  • Added community cooperation documentation
  • (optional) KEM algorithm en-/decoder feature

Updated to 0.5.1:

  • Documentation update
  • document specs
  • General documentation overhaul
  • change TLS demo to use QSC alg
  • Build a module instead of a shared library.
  • explain groups in USAGE

Список пакетов

SUSE Linux Enterprise Module for Basesystem 15 SP6
liboqs-devel-0.12.0-150600.3.3.1
liboqs7-0.12.0-150600.3.3.1
oqs-provider-0.7.0-150600.3.3.1
openSUSE Leap 15.6
liboqs-devel-0.12.0-150600.3.3.1
liboqs-devel-32bit-0.12.0-150600.3.3.1
liboqs7-0.12.0-150600.3.3.1
liboqs7-32bit-0.12.0-150600.3.3.1
oqs-provider-0.7.0-150600.3.3.1

Описание

liboqs is a C-language cryptographic library that provides implementations of post-quantum cryptography algorithms. A control-flow timing lean has been identified in the reference implementation of the Kyber key encapsulation mechanism when it is compiled with Clang 15-18 for `-Os`, `-O1`, and other compilation options. A proof-of-concept local attack on the reference implementation leaks the entire ML-KEM 512 secret key in ~10 minutes using end-to-end decapsulation timing measurements. The issue has been fixed in version 0.10.1. As a possible workaround, some compiler options may produce vectorized code that does not leak secret information, however relying on these compiler options as a workaround may not be reliable.


Затронутые продукты
SUSE Linux Enterprise Module for Basesystem 15 SP6:liboqs-devel-0.12.0-150600.3.3.1
SUSE Linux Enterprise Module for Basesystem 15 SP6:liboqs7-0.12.0-150600.3.3.1
SUSE Linux Enterprise Module for Basesystem 15 SP6:oqs-provider-0.7.0-150600.3.3.1
openSUSE Leap 15.6:liboqs-devel-0.12.0-150600.3.3.1

Ссылки

Описание

oqs-provider is a provider for the OpenSSL 3 cryptography library that adds support for post-quantum cryptography in TLS, X.509, and S/MIME using post-quantum algorithms from liboqs. Flaws have been identified in the way oqs-provider handles lengths decoded with DECODE_UINT32 at the start of serialized hybrid (traditional + post-quantum) keys and signatures. Unchecked length values are later used for memory reads and writes; malformed input can lead to crashes or information leakage. Handling of plain/non-hybrid PQ key operation is not affected. This issue has been patched in in v0.6.1. All users are advised to upgrade. There are no workarounds for this issue.


Затронутые продукты
SUSE Linux Enterprise Module for Basesystem 15 SP6:liboqs-devel-0.12.0-150600.3.3.1
SUSE Linux Enterprise Module for Basesystem 15 SP6:liboqs7-0.12.0-150600.3.3.1
SUSE Linux Enterprise Module for Basesystem 15 SP6:oqs-provider-0.7.0-150600.3.3.1
openSUSE Leap 15.6:liboqs-devel-0.12.0-150600.3.3.1

Ссылки

Описание

liboqs is a C-language cryptographic library that provides implementations of post-quantum cryptography algorithms. A correctness error has been identified in the reference implementation of the HQC key encapsulation mechanism. Due to an indexing error, part of the secret key is incorrectly treated as non-secret data. This results in an incorrect shared secret value being returned when the decapsulation function is called with a malformed ciphertext. This vulnerability is fixed in 0.12.0.


Затронутые продукты
SUSE Linux Enterprise Module for Basesystem 15 SP6:liboqs-devel-0.12.0-150600.3.3.1
SUSE Linux Enterprise Module for Basesystem 15 SP6:liboqs7-0.12.0-150600.3.3.1
SUSE Linux Enterprise Module for Basesystem 15 SP6:oqs-provider-0.7.0-150600.3.3.1
openSUSE Leap 15.6:liboqs-devel-0.12.0-150600.3.3.1

Ссылки
Уязвимость SUSE-SU-2025:0005-1