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.5

Type: local

Published: 9/4/2020

Updated: 2/22/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

CVSS Score Source: CVE-2020-25125

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

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

Temporal Vector: CVSS:3.0/E:P/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 Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/3/2020

Vulnerability Publication Date: 9/3/2020

Reference Information

CVE: CVE-2020-25125