Skip to content

Bump scikit-learn to 1.5.0 (fixes CVE-2024-5206) - #3

Open
benfulcher wants to merge 1 commit into
mainfrom
fix/scikit-learn-cve-2024-5206
Open

Bump scikit-learn to 1.5.0 (fixes CVE-2024-5206)#3
benfulcher wants to merge 1 commit into
mainfrom
fix/scikit-learn-cve-2024-5206

Conversation

@benfulcher

Copy link
Copy Markdown
Contributor

Summary

  • Dependabot flagged scikit-learn==0.24.2 in python_requirements.txt as vulnerable to CVE-2024-5206 (moderate severity — sensitive data leak via TfidfVectorizer/text feature extraction)
  • Bumps scikit-learn to 1.5.0 as recommended by the alert

Notes

  • This is a large version jump (0.24 → 1.5). Skimmed usage across code/ — only stable, long-standing APIs are used (Pipeline, StandardScaler/RobustScaler, svm.SVC, RandomForestClassifier/GradientBoostingClassifier, GridSearchCV/RandomizedSearchCV, PCA), nothing deprecated/removed in that range. No test suite in the repo to run for regression checking, so worth a quick manual smoke test of the classification pipeline before merging.

Test plan

  • Install updated requirements and run through classification_analysis scripts on a sample dataset to confirm no behavioral changes

Dependabot flagged scikit-learn==0.24.2 as vulnerable to CVE-2024-5206
(moderate severity, sensitive data leak in TfidfVectorizer). Bumping to
1.5.0 as recommended.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant