Debian DLA-3460-1 : python-mechanize - LTS security update

high Nessus Plugin ID 177456

Synopsis

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

Description

The remote Debian 10 host has packages installed that are affected by a vulnerability as referenced in the dla-3460 advisory.

- mechanize, a library for automatically interacting with HTTP web servers, contains a regular expression that is vulnerable to regular expression denial of service (ReDoS) prior to version 0.4.6. If a web server responds in a malicious way, then mechanize could crash. Version 0.4.6 has a patch for the issue.
(CVE-2021-32837)

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 python-mechanize packages.

For Debian 10 buster, this problem has been fixed in version 1

See Also

http://www.nessus.org/u?a6424ad8

https://www.debian.org/lts/security/2023/dla-3460

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

https://packages.debian.org/source/buster/python-mechanize

Plugin Details

Severity: High

ID: 177456

File Name: debian_DLA-3460.nasl

Version: 1.0

Type: local

Agent: unix

Published: 6/20/2023

Updated: 6/20/2023

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, 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-2021-32837

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: cpe:/o:debian:debian_linux:10.0, p-cpe:/a:debian:debian_linux:python-mechanize, p-cpe:/a:debian:debian_linux:python-clientform

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/20/2023

Vulnerability Publication Date: 1/17/2023

Reference Information

CVE: CVE-2021-32837