[ GLSA 202408-04 ] Levenshtein: Remote Code Execution

[email protected] Wed, 07 Aug 2024 06:15:49 -0000
Newsgroups gmane.linux.gentoo.announce
Message-ID <172301134929.7.11105988245061618@3f85d36892cf>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 202408-04
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                           https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: Normal
    Title: Levenshtein: Remote Code Execution
     Date: August 07, 2024
     Bugs: #766009
       ID: 202408-04

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

Synopsis
========

A vulnerability has been discovered in Levenshtein, which could lead to
a remote code execution.

Background
==========

Levenshtein is a Python extension for computing string edit distances
and similarities.

Affected packages
=================

Package                 Vulnerable    Unaffected
----------------------  ------------  ------------
dev-python/Levenshtein  < 0.12.1      >= 0.12.1

Description
===========

Fixed handling of numerous possible wraparounds in calculating the size
of memory allocations; incorrect handling of which could cause denial of
service or even possible remote code execution.

Impact
======

Fixed handling of numerous possible wraparounds in calculating the size
of memory allocations; incorrect handling of which could cause denial of
service or even possible remote code execution.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Levenshtein users should upgrade to the latest version:

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=dev-python/Levenshtein-0.12.1"

References
==========


Availability
============

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

 https://security.gentoo.org/glsa/202408-04

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
[email protected] or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======

Copyright 2024 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
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEpqTA6ABLMxh/aChGFMQkOaVy+9kFAmazERUACgkQFMQkOaVy
+9m8IQ//dZ9gfGB5ZFv47a3aSXjDcq5xN+Evb+RIt71B3rwaXpl8g1qdTf7lcsV6
Qc32Uj/Gux/sXbfmknA9OwLuhmzJauvG7Bv+n+gGauhLKpPc6xIJtKCTz8Xr7reo
o8iSmK2ggLlG5FTUcxuD+1M6t2X1YhVFPHCCwbk1wTIjQYjkRiiextOEKBRlsItt
qaVtied9JoSrsJHe+5QN0Zpq45jfUNOB71yAWQwfuHnL5gV22S6Zf1x32KW7EsiU
lqxqptqrSY4iY9GrsQzf07xBJy0z+wUU5AqcGnnkfN5S5H4/RBzKoVI4GrkZCS4f
dUDjX41KsxE1nT4MHMKy7RJPMZCSOPLt9Il9LO42zEACXNJ7iv3WyeNA4a2piKwl
Q8GztD3P1nF3oOlzKET9idxiJMv9gWANl8jkoTf+RMFH4yCWU56HCBoauxD1OR/c
WuxuaDGD3Y+ADVFp1IU1Nx8kbDOA6tZf/erJ8yl3VnoBTP/RCpDxiuuwG2Ir7Reo
dAq+eT7Xyc7Oj/Ae6xmAqX+d3lyk8Ncw+2sm6EaembEmTsJMyxQDee2stUVL5ZKm
q1pkjQf/j3owhHorGthI1HZVEhH+T5LhpJCLETEGmAPlgtQicCNui5R5zF8JASo7
Y2767jBqE3DQJgi0ZhKywJYW7BQ6iyNJJyPY/Wov2WWA+C/h3eY=
=NBwa
-----END PGP SIGNATURE-----