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 multiple vulnerabilities as referenced in the dla-2790 advisory.

Tenable discovered that in Babel, a set of tools for internationalizing Python applications, Babel.Locale allows attackers to load arbitrary locale .dat files (containing serialized Python objects) via directory traversal, leading to code execution. This vulnerability was also previously addressed under CVE-2021-20095 in other distributions and suites. For Debian 9 stretch, this problem has been fixed in version 2.3.4+dfsg.1-2+deb9u1. We recommend that you upgrade your python-babel packages. For the detailed security status of python-babel please refer to its security tracker page at: https://security- tracker.debian.org/tracker/python-babel Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at:
https://wiki.debian.org/LTS

Tenable has extracted the preceding description block directly from the Debian security advisory.

Note that Nessus has not tested for these issues 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://packages.debian.org/source/stretch/python-babel

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

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

Plugin Details

Severity: High

ID: 154330

File Name: debian_DLA-2790.nasl

Version: 1.6

Type: local

Agent: unix

Published: 10/21/2021

Updated: 1/24/2025

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-20095, CVE-2021-42771