Debian DSA-4989-1 : strongswan - security update

high Nessus Plugin ID 154229

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 10 / 11 host has packages installed that are affected by multiple vulnerabilities as referenced in the dsa-4989 advisory.

- The gmp plugin in strongSwan before 5.9.4 has a remote integer overflow via a crafted certificate with an RSASSA-PSS signature. For example, this can be triggered by an unrelated self-signed CA certificate sent by an initiator. Remote code execution cannot occur. (CVE-2021-41990)

- The in-memory certificate cache in strongSwan before 5.9.4 has a remote integer overflow upon receiving many requests with different certificates to fill the cache and later trigger the replacement of cache entries. The code attempts to select a less-often-used cache entry by means of a random number generator, but this is not done correctly. Remote code execution might be a slight possibility. (CVE-2021-41991)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the strongswan packages.

For the stable distribution (bullseye), these problems have been fixed in version 5.9.1-1+deb11u1.

See Also

https://security-tracker.debian.org/tracker/source-package/strongswan

https://www.debian.org/security/2021/dsa-4989

https://security-tracker.debian.org/tracker/CVE-2021-41990

https://security-tracker.debian.org/tracker/CVE-2021-41991

https://packages.debian.org/source/buster/strongswan

https://packages.debian.org/source/bullseye/strongswan

Plugin Details

Severity: High

ID: 154229

File Name: debian_DSA-4989.nasl

Version: 1.3

Type: local

Agent: unix

Published: 10/19/2021

Updated: 1/20/2022

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2021-41991

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:N/A:H

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

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:strongswan-starter, p-cpe:/a:debian:debian_linux:strongswan-charon, p-cpe:/a:debian:debian_linux:charon-systemd, cpe:/o:debian:debian_linux:10.0, p-cpe:/a:debian:debian_linux:strongswan-scepclient, p-cpe:/a:debian:debian_linux:libcharon-extra-plugins, p-cpe:/a:debian:debian_linux:libstrongswan-standard-plugins, p-cpe:/a:debian:debian_linux:libstrongswan-extra-plugins, p-cpe:/a:debian:debian_linux:strongswan-nm, p-cpe:/a:debian:debian_linux:charon-cmd, p-cpe:/a:debian:debian_linux:strongswan-pki, p-cpe:/a:debian:debian_linux:strongswan-libcharon, p-cpe:/a:debian:debian_linux:libcharon-extauth-plugins, p-cpe:/a:debian:debian_linux:strongswan, p-cpe:/a:debian:debian_linux:libstrongswan, p-cpe:/a:debian:debian_linux:strongswan-swanctl

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 10/18/2021

Vulnerability Publication Date: 10/18/2021

Reference Information

CVE: CVE-2021-41990, CVE-2021-41991