Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935793 (CVE-2024-38875, CVE-2024-39329, CVE-2024-39330, CVE-2024-39614) - <dev-python/django-{5.0.7,4.2.14}: multiple vulnerabilities
Summary: <dev-python/django-{5.0.7,4.2.14}: multiple vulnerabilities
Status: CONFIRMED
Alias: CVE-2024-38875, CVE-2024-39329, CVE-2024-39330, CVE-2024-39614
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Security
URL: https://www.djangoproject.com/weblog/...
Whiteboard: A3 [glsa?]
Keywords:
Depends on: 935807 935808
Blocks:
  Show dependency tree
 
Reported: 2024-07-09 17:43 UTC by Christopher Fore
Modified: 2024-07-10 06:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Fore 2024-07-09 17:43:32 UTC
CVE-2024-38875:

urlize() and urlizetrunc() were subject to a potential denial-of-service attack via certain inputs with a very large number of brackets.


CVE-2024-39329:

The django.contrib.auth.backends.ModelBackend.authenticate() method allowed remote attackers to enumerate users via a timing attack involving login requests for users with unusable passwords.


CVE-2024-39330:

Derived classes of the django.core.files.storage.Storage base class which override generate_filename() without replicating the file path validations existing in the parent class, allowed for potential directory-traversal via certain inputs when calling save().

Built-in Storage sub-classes were not affected by this vulnerability.


CVE-2024-39614:

get_supported_language_variant() was subject to a potential denial-of-service attack when used with very long strings containing specific characters.

To mitigate this vulnerability, the language code provided to get_supported_language_variant() is now parsed up to a maximum length of 500 characters.



The above are fixed in 5.0.7 and 4.2.14.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-07-10 04:33:22 UTC
...and 3.2 is now EOL, so we're going to remove it when these versions are stable.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-07-10 06:38:23 UTC
cleanup done.