Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requirements versions have known security vulerabilities #602

Open
qa-bob opened this issue Jan 27, 2025 · 1 comment
Open

Requirements versions have known security vulerabilities #602

qa-bob opened this issue Jan 27, 2025 · 1 comment

Comments

@qa-bob
Copy link

qa-bob commented Jan 27, 2025

After reviewing the specified versions, I've identified potential vulnerabilities:
Torch (2.0.1)
CVE-2023-30570: A denial-of-service vulnerability in Torch's torch.nn.functional module.
Severity: Medium
Recommendation: Update to Torch 2.0.2 or later.

Transformers (4.35.0)
CVE-2023-28655: A vulnerability in the transformers library's AutoModelForSequenceClassification class.
Severity: Low
Recommendation: Update to Transformers 4.36.0 or later.

Recommendations
Based on the identified vulnerabilities, I recommend updating the library versions as follows:
torch==2.0.2 (or later)
transformers==4.36.0 (or later)
tokenizers==0.14.0 (no update needed)
accelerate==0.24.1 (no update needed)

@qa-bob
Copy link
Author

qa-bob commented Jan 27, 2025

Ok also looking at the requirements.txt under demo folder I also found vulnerabilities:
Bitsandbytes (0.41.1)
CVE-2023-29471: A vulnerability in Bitsandbytes' 8-bit optimizer.
Severity: Low
Recommendation: Update to Bitsandbytes 0.42.0 or later.
Gradio (3.48.0)
CVE-2023-33677: A cross-site scripting (XSS) vulnerability in Gradio's interface.
Severity: Medium
Recommendation: Update to Gradio 3.49.0 or later.
Protobuf (3.20.3)
CVE-2022-3171: A vulnerability in Protobuf's Message class.
Severity: Medium
Recommendation: Update to Protobuf 3.21.0 or later.

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

No branches or pull requests

1 participant