Debian DLA-2790-1 : python-babel - LTS security update

high Nessus Plugin ID 154330

Synopsis

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

Description

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

- Babel.Locale in Babel before 2.9.1 allows attackers to load arbitrary locale .dat files (containing serialized Python objects) via directory traversal, leading to code execution. (CVE-2021-42771)

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-babel packages.

For Debian 9 stretch, this problem has been fixed in version 2.3.4+dfsg.1-2+deb9u1.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=987824

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

https://www.debian.org/lts/security/2021/dla-2790

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

https://packages.debian.org/source/stretch/python-babel

Plugin Details

Severity: High

ID: 154330

File Name: debian_DLA-2790.nasl

Version: 1.5

Type: local

Agent: unix

Published: 10/21/2021

Updated: 1/16/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.6

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

CVSS Score Source: CVE-2021-42771

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/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:debian:debian_linux:python-babel-localedata, p-cpe:/a:debian:debian_linux:python3-babel, cpe:/o:debian:debian_linux:9.0, p-cpe:/a:debian:debian_linux:python-babel, p-cpe:/a:debian:debian_linux:python-babel-doc

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: 10/21/2021

Vulnerability Publication Date: 4/28/2021

Reference Information

CVE: CVE-2021-42771