GHSA-jxfp-4rvq-9h9m

Suggest an improvement
Source
https://github.com/advisories/GHSA-jxfp-4rvq-9h9m
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-jxfp-4rvq-9h9m/GHSA-jxfp-4rvq-9h9m.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-jxfp-4rvq-9h9m
Aliases
Published
2022-05-24T17:34:40Z
Modified
2024-12-03T05:52:35Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
scikit-learn Denial of Service
Details

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.

Database specific
{
    "cwe_ids": [],
    "github_reviewed": true,
    "github_reviewed_at": "2024-02-01T20:59:15Z",
    "nvd_published_at": "2020-11-21T21:15:00Z",
    "severity": "HIGH"
}
References

Affected packages

PyPI / scikit-learn

Package

Name
scikit-learn
View open source insights on deps.dev
Purl
pkg:pypi/scikit-learn

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.23.2
Fixed
1.0.1

Affected versions

0.*
0.23.2
0.24.0
0.24.1
0.24.2
1.*
1.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-jxfp-4rvq-9h9m/GHSA-jxfp-4rvq-9h9m.json"