FreeBSD : py-pymatgen -- regular expression denial of service (951b513a-9f42-436d-888d-2162615d0fe4)

high Nessus Plugin ID 174291

Language:

Synopsis

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

Description

The version of FreeBSD installed on the remote host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the 951b513a-9f42-436d-888d-2162615d0fe4 advisory.

- An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the pymatgen PyPI package, when an attacker is able to supply arbitrary input to the GaussianInput.from_string method (CVE-2022-42964)

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

Solution

Update the affected packages.

See Also

https://osv.dev/vulnerability/GHSA-5jqp-885w-xj32

http://www.nessus.org/u?58abcea5

Plugin Details

Severity: High

ID: 174291

File Name: freebsd_pkg_951b513a9f42436d888d2162615d0fe4.nasl

Version: 1.1

Type: local

Published: 4/14/2023

Updated: 4/19/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

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

CVSS Score Source: CVE-2022-42964

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:py310-pymatgen, p-cpe:/a:freebsd:freebsd:py311-pymatgen, p-cpe:/a:freebsd:freebsd:py37-pymatgen, p-cpe:/a:freebsd:freebsd:py38-pymatgen, p-cpe:/a:freebsd:freebsd:py39-pymatgen, 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: 4/9/2023

Vulnerability Publication Date: 11/9/2022

Reference Information

CVE: CVE-2022-42964