Home / mailingsPDF  

[gentoo-announce] [ GLSA 202208-03 ] Babel: Remote code execution

Posted on 04 August 2022
Gentoo-announce

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 202208-03
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
Title: Babel: Remote code execution
Date: August 04, 2022
Bugs: #786954
ID: 202208-03

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========
A vulnerability in Babel could result in remote code execution.

Background
==========
Babel is a collection of tools for internationalizing Python
applications.

Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 dev-python/Babel < 2.9.1 >= 2.9.1

Description
===========
Babel does not properly restrict which sources a locale can be loaded
from. If Babel loads an attacker-controlled .dat file, arbitrary code
execution can be achieved via unsafe Pickle deserialization.

Impact
======
An attacker with filesystem access and control over the locales Babel loads can achieve code execution.

Workaround
==========
There is no known workaround at this time.

Resolution
==========
All Babel users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-python/Babel-2.9.1"

References
==========
[ 1 ] CVE-2021-20095
https://nvd.nist.gov/vuln/detail/CVE-2021-20095

Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

https://security.gentoo.org/glsa/202208-03

Concerns?
=========
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======
Copyright 2022 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

https://creativecommons.org/licenses/by-sa/2.5
--===============7651553512469357707==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

 

TOP