Headline
Gentoo Linux Security Advisory 202301-03
Gentoo Linux Security Advisory 202301-3 - A vulnerability was found in scikit-learn which could result in denial of service. Versions less than 1.1.1 are affected.
Gentoo Linux Security Advisory GLSA 202301-03
https://security.gentoo.org/
Severity: Low
Title: scikit-learn: Denial of Service
Date: January 11, 2023
Bugs: #758323
ID: 202301-03
Synopsis
A vulnerability was found in scikit-learn which could result in denial
of service.
Background
scikit-learn is a machine learning library for Python.
Affected packages
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 sci-libs/scikit-learn < 1.1.1 >= 1.1.1
Description
When supplied with a crafted model SVM, predict() can result in a null
pointer dereference.
Impact
An attcker capable of providing a crafted model to scikit-learn can
result in denial of service.
Workaround
There is no known workaround at this time.
Resolution
All scikit-learn users should upgrade to the latest version:
emerge --sync
emerge --ask --oneshot --verbose “>=sci-libs/scikit-learn-1.1.1”
References
[ 1 ] CVE-2020-28975
https://nvd.nist.gov/vuln/detail/CVE-2020-28975
Availability
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
https://security.gentoo.org/glsa/202301-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
[email protected] or alternatively, you may file a bug at
https://bugs.gentoo.org.
License
Copyright 2023 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
Related news
** DISPUTED ** svm_predict_values in svm.cpp in Libsvm v324, as used in scikit-learn 0.23.2 and other products, allows attackers to cause a denial of service (segmentation fault) via a crafted model SVM (introduced via pickle, json, or any other model permanence standard) with a large value in the _n_support array. NOTE: the scikit-learn vendor's position is that the behavior can only occur if the library's API is violated by an application that changes a private attribute.