-
Notifications
You must be signed in to change notification settings - Fork 631
[FIX] Bump Django 4.2.1 -> 4.2.30 (LTS) to clear SQLi/DoS Dependabot alerts #2040
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,7 +18,7 @@ dependencies = [ | |
| "celery[amqp]>=5.3.4", # For Celery | ||
| "cron-descriptor==1.4.0", # For cron string description | ||
| "cryptography>=48.0.0", | ||
| "django==4.2.1", | ||
| "django==4.2.30", | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Compatibility note (Low) — multipart file-count limit changed within this jump. The 4.2.x security series bumped between Unstract has bulk file-upload paths (e.g. Prompt Studio document uploads / ManageDocsModal). If any endpoint accepts >100 files in one Suggested fix / verification: confirm upload endpoints batch ≤100 files per request, or set |
||
| "djangorestframework==3.14.0", | ||
| "django-cors-headers==4.3.1", | ||
| # Pinning django-celery-beat to avoid build issues | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the official Django download page,
4.2.30is both the latest and the final release of the 4.2 LTS series — extended support ended on April 7, 2026, which is ~2 months before this PR's merge date. Any new vulnerabilities discovered in Django's core from that point onward will not receive backport patches on the 4.2 branch.The PR clears all known Dependabot alerts in one step, which is valuable. However, landing on an EOL dependency inverts the intent: the project will accumulate unpatched CVEs again as soon as Django discloses its next advisory. The current actively maintained LTS is Django 5.2 (supported until April 2028, latest
5.2.15).A follow-up PR to upgrade to
django==5.2.xwould be the complete remediation — the same-minor patch guarantee cited in the PR description doesn't apply to an EOL branch.Prompt To Fix With AI
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!