{"answers":{"affected":"11 open source packages ship an affected version, including django and Django. It affects 2 products.","exploited":"There is no known exploitation of CVE-2024-56374 in the wild and no public exploit code.","fix":"Upgrade django to a fixed version for your release line: 5.1.5, 4.2.18 or 5.0.11.","what":"CVE-2024-56374 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 14 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-56374 and fix it if it is affected.\n\nWhat it is: CVE-2024-56374 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 14 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-56374 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- django (Bitnami): affected from 4.2.0; fixed in 5.1.5\n- django (PyPI): affected from 4.2; fixed in 4.2.18\n- django (PyPI): affected from 4.2; fixed in 4.2.18\n- django (PyPI): affected from 5.0; fixed in 5.0.11\n- django (PyPI): affected from 5.0; fixed in 5.0.11\n- django (PyPI): affected from 5.1; fixed in 5.1.5, 5.0.11, 4.2.18\n- django (PyPI): affected from 5.1; fixed in 5.1.5\n- django (PyPI): affected from 5.1; fixed in 5.1.5\n- Django (PyPI): affected from 4.2; fixed in 4.2.18\n- Django (PyPI): affected from 5.0; fixed in 5.0.11\n- Django (PyPI): affected from 5.1; fixed in 5.1.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-56374/ (Markdown: https://insights.sbomify.com/CVE-2024-56374/index.md)","id":"CVE-2024-56374","markdown":"https://insights.sbomify.com/CVE-2024-56374/index.md","name":"CVE-2024-56374","record":{"aliases":["BIT-django-2024-56374","CLSA-2025-1754352704","DEBIAN-CVE-2024-56374","DLA-4030-1","GHSA-qcgg-j2x8-h9g8","OESA-2025-1069","PYSEC-2025-1","SUSE-SU-2025:0149-1","UBUNTU-CVE-2024-56374","USN-7205-1","USN-7205-2","openSUSE-SU-2025:14651-1"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Django web framework","requires_auth":"none","summary":"Attackers can cause denial of service in Django applications by exploiting missing upper-bound limits in IPv6 validation functions.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"django","vendor":"djangoproject"}],"cvss":{"score":5.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"description":"An issue was discovered in Django 5.1 before 5.1.5, 5.0 before 5.0.11, and 4.2 before 4.2.18. Lack of upper-bound limit enforcement in strings passed when performing IPv6 validation could lead to a potential denial-of-service attack. The undocumented and private functions clean_ipv6_address and is_valid_ipv6_address are vulnerable, as is the django.forms.GenericIPAddressField form field. (The django.db.models.GenericIPAddressField model field is not affected.)","ecosystems":["Bitnami","PyPI","SUSE:Linux Enterprise Module for Package Hub 15 SP6","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Django has a potential denial-of-service vulnerability in IPv6 validation","id":"CVE-2024-56374","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"debian:debian_linux","products":["debian:debian_linux","djangoproject:django"],"type":"denial_of_service","year":"2024"},"n_packages":14,"n_references":3,"next":{"headline":"Integer overflow in fort-validator","id":"CVE-2024-56375"},"packages":[{"ecosystem":"Bitnami","fixed":["5.1.5"],"introduced":["4.2.0"],"last_affected":[],"package":"django","purl":"pkg:bitnami/django","source":"BIT-django-2024-56374"},{"ecosystem":"PyPI","fixed":["4.2.18"],"introduced":["4.2"],"last_affected":[],"package":"Django","purl":null,"source":"GHSA-qcgg-j2x8-h9g8"},{"ecosystem":"PyPI","fixed":["5.0.11"],"introduced":["5.0"],"last_affected":[],"package":"Django","purl":null,"source":"GHSA-qcgg-j2x8-h9g8"},{"ecosystem":"PyPI","fixed":["5.1.5"],"introduced":["5.1"],"last_affected":[],"package":"Django","purl":null,"source":"GHSA-qcgg-j2x8-h9g8"},{"ecosystem":"PyPI","fixed":["4.2.18"],"introduced":["4.2"],"last_affected":[],"package":"django","purl":null,"source":"GHSA-qcgg-j2x8-h9g8"},{"ecosystem":"PyPI","fixed":["4.2.18"],"introduced":["4.2"],"last_affected":[],"package":"django","purl":"pkg:pypi/django","source":"GHSA-qcgg-j2x8-h9g8"},{"ecosystem":"PyPI","fixed":["5.0.11"],"introduced":["5.0"],"last_affected":[],"package":"django","purl":null,"source":"GHSA-qcgg-j2x8-h9g8"},{"ecosystem":"PyPI","fixed":["5.0.11"],"introduced":["5.0"],"last_affected":[],"package":"django","purl":"pkg:pypi/django","source":"GHSA-qcgg-j2x8-h9g8"},{"ecosystem":"PyPI","fixed":["5.1.5","5.0.11","4.2.18"],"introduced":["5.1","5.0","4.2"],"last_affected":[],"package":"django","purl":"pkg:pypi/django","source":"PYSEC-2025-1"},{"ecosystem":"PyPI","fixed":["5.1.5"],"introduced":["5.1"],"last_affected":[],"package":"django","purl":null,"source":"GHSA-qcgg-j2x8-h9g8"},{"ecosystem":"PyPI","fixed":["5.1.5"],"introduced":["5.1"],"last_affected":[],"package":"django","purl":"pkg:pypi/django","source":"GHSA-qcgg-j2x8-h9g8"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP6","fixed":["4.2.11-150600.3.15.1"],"introduced":["0"],"last_affected":[],"package":"python-Django","purl":"pkg:rpm/suse/python-Django\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP6","source":"SUSE-SU-2025:0149-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["4.2.11-150600.3.15.1"],"introduced":["0"],"last_affected":[],"package":"python-Django","purl":"pkg:rpm/opensuse/python-Django\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:0149-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["4.2.18-1.1"],"introduced":["0"],"last_affected":[],"package":"python-Django4","purl":"pkg:rpm/opensuse/python-Django4\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:14651-1"}],"prev":{"headline":"Apache Airflow: SSTI to Code Execution in Airflow through Shared DB Information","id":"CVE-2024-56373"},"products":["Django"],"published":"2025-01-14","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-12","vendors":["djangoproject"]},"summary":"Attackers can cause denial of service in Django applications by exploiting missing upper-bound limits in IPv6 validation functions.","url":"https://insights.sbomify.com/CVE-2024-56374/"}