Advisory

UBUNTU-CVE-2018-16152

Also known as: CVE-2018-16152

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Dates

Published
2018-09-24 12:00 UTC
Modified
2026-02-04 03:50 UTC

Affected packages and fixes

strongswan

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 5.1.2-0ubuntu2.10 (ecosystem)

Fixed versions

5.1.2-0ubuntu2.10

Fix

  • Fixed version 5.1.2-0ubuntu2.10
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

strongswan

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 5.3.5-1ubuntu3.7 (ecosystem)

Fixed versions

5.3.5-1ubuntu3.7

Fix

  • Fixed version 5.3.5-1ubuntu3.7
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

strongswan

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 5.6.2-1ubuntu2.2 (ecosystem)

Fixed versions

5.6.2-1ubuntu2.2

Fix

  • Fixed version 5.6.2-1ubuntu2.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences