Skip to content

Vulnerability in Rfc2313

CVE-2026-50721 First seen on SecPulse

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Libreswanでは、IKEv1のSIGペイロードの検証に不備があり、遠隔の攻撃者が小さな公開指数を使う環境で署名を偽造し、なりすましを行うおそれがあります。短いハッシュを送ることでデーモンを停止させ、サービス不能に陥らせることも可能です。影響を受ける版や修正版の情報は、最新の情報を確認してください。

What is the problem

LibreswanのRSA署名検証における脆弱性

Affected scope

Libreswan、IKEv1パケット内の署名ペイロード処理

Severity

攻撃者がリモートでなりすましや継続的なサービス拒否を引き起こす可能性がある。

How to fix

認証ハッシュの長さ検証を強化し、Bleichenbacher攻撃に対抗する適切な措置を導入する。

Workaround

情報なし

Detection

IKEv1パケットのSIGペイロードの処理を監視し、予期しない長さの署名があるか確認する。

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

Libreswan, via the function RSA_authenticate_hash_signature_raw_rsa(), did not correctly verify the length of the authentication hash when the SIG payload of an IKEv1 packet was encoded using PKCS #1 RSA Encryption as per RFC 2313. A remote attacker can use a variation on the Bleichenbacher attack to forge the SIG payload when small public exponents are being used (e.g., e=3), which could lead to impersonation. Additionally, a remote attacker, by encoding a shorter than expected hash in the SIG payload, could trigger an assertion leading to denial-of-service. The daemon aborts and restarts; continued exploitation causes sustained denial of service. Remote code execution is not possible. X.509 certificate verifications of remote IKE peers are not affected.

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details