FreeBSD : gnupg -- AEAD key import overflow (f9fa7adc-ee51-11ea-a240-002590acae31)

high Nessus Plugin ID 140238

Language:

Synopsis

The remote FreeBSD host is missing a security-related update.

Description

Importing an OpenPGP key having a preference list for AEAD algorithms will lead to an array overflow and thus often to a crash or other undefined behaviour.

Importing an arbitrary key can often easily be triggered by an attacker and thus triggering this bug. Exploiting the bug aside from crashes is not trivial but likely possible for a dedicated attacker.
The major hurdle for an attacker is that only every second byte is under their control with every first byte having a fixed value of 0x04.

Solution

Update the affected package.

See Also

https://dev.gnupg.org/T5050

http://www.nessus.org/u?3e4e95ab

Plugin Details

Severity: High

ID: 140238

File Name: freebsd_pkg_f9fa7adcee5111eaa240002590acae31.nasl

Version: 1.4

Type: local

Published: 9/4/2020

Updated: 9/16/2020

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P

Temporal Vector: E:U/RL:OF/RC:C

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

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

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:gnupg, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Ease: No known exploits are available

Patch Publication Date: 9/3/2020

Vulnerability Publication Date: 9/3/2020

Reference Information

CVE: CVE-2020-25125