- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
security@gentoo.org 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

Gentoo: GLSA-202408-04: Levenshtein: Remote Code ExecutionSecurity Advisory Updates

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

Summary

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.

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

Severity
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

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.

Related News