Improper Verification of Cryptographic Signature Affecting openswan package, versions [,2.6.50.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.52% (74th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-OPENSWAN-2370987
  • published26 Jan 2022
  • disclosed26 Sept 2018
  • creditUnknown

Introduced: 26 Sep 2018

CVE-2018-15836  (opens in a new tab)
CWE-347  (opens in a new tab)

How to fix?

Upgrade openswan to version 2.6.50.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature. In verify_signed_hash() in lib/liboswkeys/signatures.c in Openswan before 2.6.50.1, the RSA implementation does not verify the value of padding string during PKCS#1 v1.5 signature verification. Consequently, a remote attacker can forge signatures when small public exponents are being used. IKEv2 signature verification is affected when RAW RSA keys are used.

CVSS Base Scores

version 3.1