Levenshtein Remote Code Execution Vulnerability in Gentoo Advisory GLSA-202408-04
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.
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.