Your submission was sent successfully! Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2024-39330

Publication date 9 July 2024

Last updated 24 July 2024


Ubuntu priority

An issue was discovered in Django 5.0 before 5.0.7 and 4.2 before 4.2.14. Derived classes of the django.core.files.storage.Storage base class, when they override generate_filename() without replicating the file-path validations from the parent class, potentially allow directory traversal via certain inputs during a save() call. (Built-in Storage sub-classes are unaffected.)

Read the notes from the security team

Why is this CVE low priority?

Does not affect any of the built-in classes

Learn more about Ubuntu priority

Status

Package Ubuntu Release Status
python-django 24.10 oracular
Not affected
24.04 LTS noble
Fixed 3:4.2.11-1ubuntu1.1
23.10 mantic
Fixed 3:4.2.4-1ubuntu2.3
22.04 LTS jammy
Fixed 2:3.2.12-2ubuntu1.12
20.04 LTS focal
Fixed 2:2.2.12-1ubuntu0.23
18.04 LTS bionic
16.04 LTS xenial
Needs evaluation
14.04 LTS trusty
Needs evaluation

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro

Notes


alexmurray

upstream advises that only versions 4.2, 5.0 and 5.1 (plus main development branch) are affected but it is likely earlier versions may also be affected but upstream do not mention this as they are no longer maintained by them

References

Related Ubuntu Security Notices (USN)

Other references