{"id":"GHSA-5h2q-4hrp-v9rr","summary":"Django vulnerable to Improper Restriction of Operations within the Bounds of a Memory Buffer","details":"The `get_image_dimensions` function in the image-handling functionality in Django before 1.3.2 and 1.4.x before 1.4.1 uses a constant chunk size in all attempts to determine dimensions, which allows remote attackers to cause a denial of service (process or thread consumption) via a large TIFF image.","aliases":["CVE-2012-3444","PYSEC-2012-4"],"modified":"2024-09-16T21:46:34.219761Z","published":"2022-05-17T05:12:01Z","database_specific":{"cwe_ids":["CWE-119"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2023-04-21T20:17:54Z","nvd_published_at":"2012-07-31T17:55:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-3444"},{"type":"WEB","url":"https://github.com/django/django/commit/9ca0ff6268eeff92d0d0ac2c315d4b6a8e229155"},{"type":"WEB","url":"https://github.com/django/django/commit/b2eb4787a0fff9c9993b78be5c698e85108f3446"},{"type":"WEB","url":"https://github.com/django/django/commit/c14f325c4eef628bc7bfd8873c3a72aeb0219141"},{"type":"WEB","url":"https://github.com/django/django/commit/da33d67181b53fe6cc737ac1220153814a1509f6"},{"type":"WEB","url":"https://github.com/django/django/commit/dd16b17099b7d86f27773df048c5014cf439b282"},{"type":"PACKAGE","url":"https://github.com/django/django"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2012-4.yaml"},{"type":"WEB","url":"https://www.djangoproject.com/weblog/2012/jul/30/security-releases-issued"},{"type":"WEB","url":"http://www.debian.org/security/2012/dsa-2529"},{"type":"WEB","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:143"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2012/07/31/1"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2012/07/31/2"},{"type":"WEB","url":"http://www.ubuntu.com/usn/USN-1560-1"}],"affected":[{"package":{"name":"django","ecosystem":"PyPI","purl":"pkg:pypi/django"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2"}]}],"versions":["1.0.1","1.0.2","1.0.3","1.0.4","1.1","1.1.1","1.1.2","1.1.3","1.1.4","1.2","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6","1.2.7","1.3","1.3.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-5h2q-4hrp-v9rr/GHSA-5h2q-4hrp-v9rr.json"}},{"package":{"name":"django","ecosystem":"PyPI","purl":"pkg:pypi/django"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4"},{"fixed":"1.4.1"}]}],"versions":["1.4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-5h2q-4hrp-v9rr/GHSA-5h2q-4hrp-v9rr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}