Alpine: strongswan: security update to 5.5.3-r2

high Tenable Self-Hosted Container Security Plugin ID 407249

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- In verify_emsa_pkcs1_signature() in gmp_rsa_public_key.c in the gmp plugin in strongSwan 4.x and 5.x
before 5.7.0, the RSA implementation based on GMP does not reject excess data after the encoded algorithm
OID during PKCS#1 v1.5 signature verification. Similar to the flaw in the same version of strongSwan
regarding digestAlgorithm.parameters, a remote attacker can forge signatures when small public exponents
are being used, which could lead to impersonation when only an RSA signature is used for IKEv2
authentication. (CVE-2018-16151)

- In verify_emsa_pkcs1_signature() in gmp_rsa_public_key.c in the gmp plugin in strongSwan 4.x and 5.x
before 5.7.0, the RSA implementation based on GMP does not reject excess data in the
digestAlgorithm.parameters field during PKCS#1 v1.5 signature verification. Consequently, a remote
attacker can forge signatures when small public exponents are being used, which could lead to
impersonation when only an RSA signature is used for IKEv2 authentication. This is a variant of
CVE-2006-4790 and CVE-2014-1568. (CVE-2018-16152)

See Also

https://security.alpinelinux.org/vuln/CVE-2018-16151

https://security.alpinelinux.org/vuln/CVE-2018-16152

Plugin Details

Severity: High

ID: 407249

Version: Revision 1.31

Type: Local

Published: 10/31/2023

Updated: 7/2/2026

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.18

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2018-16152

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 9/26/2018

Reference Information

CVE: CVE-2018-16151, CVE-2018-16152