{"api_version":"1","generated_at":"2026-07-23T18:57:59+00:00","cve":"CVE-2020-15225","urls":{"html":"https://cve.report/CVE-2020-15225","api":"https://cve.report/api/cve/CVE-2020-15225.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-15225","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-15225"},"summary":{"title":"CVE-2020-15225","description":"django-filter is a generic system for filtering Django QuerySets based on user selections. In django-filter before version 2.4.0, automatically generated `NumberFilter` instances, whose value was later converted to an integer, were subject to potential DoS from maliciously input using exponential format with sufficiently large exponents. Version 2.4.0+ applies a `MaxValueValidator` with a a default `limit_value` of 1e50 to the form field used by `NumberFilter` instances. In addition, `NumberFilter` implements the new `get_max_validator()` which should return a configured validator instance to customise the limit, or else `None` to disable the additional validation. Users may manually apply an equivalent validator if they are not able to upgrade.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2021-04-29 21:15:00","updated_at":"2023-11-07 03:17:00"},"problem_types":["CWE-681"],"metrics":[],"references":[{"url":"https://security.netapp.com/advisory/ntap-20210604-0010/","name":"https://security.netapp.com/advisory/ntap-20210604-0010/","refsource":"CONFIRM","tags":[],"title":"CVE-2020-15225 Django Vulnerability in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FAT2ZAEF6DM3VFSOHKB7X3ASSHGQHJAK/","name":"FEDORA-2021-1acbee2459","refsource":"FEDORA","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"404"},{"url":"https://github.com/carltongibson/django-filter/commit/340cf7a23a2b3dcd7183f6a0d6c383e85b130d2b","name":"https://github.com/carltongibson/django-filter/commit/340cf7a23a2b3dcd7183f6a0d6c383e85b130d2b","refsource":"MISC","tags":[],"title":"Version 2.4 (#1272) · carltongibson/django-filter@340cf7a · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DPHENTRHRAYFXYPPBT7JRHZRWILRY44S/","name":"FEDORA-2021-f213fea441","refsource":"","tags":[],"title":"[SECURITY] Fedora 34 Update: python-django-filter-21.1-1.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/carltongibson/django-filter/security/advisories/GHSA-x7gm-rfgv-w973","name":"https://github.com/carltongibson/django-filter/security/advisories/GHSA-x7gm-rfgv-w973","refsource":"CONFIRM","tags":[],"title":"Potential DoS with NumberFilter conversion to integer values.  · Advisory · carltongibson/django-filter · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DPHENTRHRAYFXYPPBT7JRHZRWILRY44S/","name":"FEDORA-2021-f213fea441","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 34 Update: python-django-filter-21.1-1.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SVJ7AYU6FUSU3F653YCGW5LFD3IULRSX/","name":"FEDORA-2023-4dee6d0a76","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 38 Update: python-django-filter-23.2-1.fc38 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://pypi.org/project/django-filter/","name":"https://pypi.org/project/django-filter/","refsource":"MISC","tags":[],"title":"django-filter · PyPI","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FAT2ZAEF6DM3VFSOHKB7X3ASSHGQHJAK/","name":"FEDORA-2021-1acbee2459","refsource":"","tags":[],"title":"[SECURITY] Fedora 35 Update: python-django-filter-21.1-1.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SVJ7AYU6FUSU3F653YCGW5LFD3IULRSX/","name":"FEDORA-2023-4dee6d0a76","refsource":"","tags":[],"title":"[SECURITY] Fedora 38 Update: python-django-filter-23.2-1.fc38 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/carltongibson/django-filter/releases/tag/2.4.0","name":"https://github.com/carltongibson/django-filter/releases/tag/2.4.0","refsource":"MISC","tags":[],"title":"Release Version 2.4.0 · carltongibson/django-filter · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-15225","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15225","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"15225","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"django-filter_project","cpe5":"django-filter","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"15225","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"34","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"15225","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"35","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2020-15225","qid":"282013","title":"Fedora Security Update for python (FEDORA-2021-f213fea441)"},{"cve":"CVE-2020-15225","qid":"284075","title":"Fedora Security Update for python (FEDORA-2023-4dee6d0a76)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2020-15225","STATE":"PUBLIC","TITLE":"Denial of Service vulnerability in django-filter"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"django-filter","version":{"version_data":[{"version_value":"< 2.4.0"}]}}]},"vendor_name":"carltongibson"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"django-filter is a generic system for filtering Django QuerySets based on user selections. In django-filter before version 2.4.0, automatically generated `NumberFilter` instances, whose value was later converted to an integer, were subject to potential DoS from maliciously input using exponential format with sufficiently large exponents. Version 2.4.0+ applies a `MaxValueValidator` with a a default `limit_value` of 1e50 to the form field used by `NumberFilter` instances. In addition, `NumberFilter` implements the new `get_max_validator()` which should return a configured validator instance to customise the limit, or else `None` to disable the additional validation. Users may manually apply an equivalent validator if they are not able to upgrade."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-681: Incorrect Conversion between Numeric Types"}]}]},"references":{"reference_data":[{"name":"https://github.com/carltongibson/django-filter/security/advisories/GHSA-x7gm-rfgv-w973","refsource":"CONFIRM","url":"https://github.com/carltongibson/django-filter/security/advisories/GHSA-x7gm-rfgv-w973"},{"name":"https://github.com/carltongibson/django-filter/commit/340cf7a23a2b3dcd7183f6a0d6c383e85b130d2b","refsource":"MISC","url":"https://github.com/carltongibson/django-filter/commit/340cf7a23a2b3dcd7183f6a0d6c383e85b130d2b"},{"name":"https://github.com/carltongibson/django-filter/releases/tag/2.4.0","refsource":"MISC","url":"https://github.com/carltongibson/django-filter/releases/tag/2.4.0"},{"name":"https://pypi.org/project/django-filter/","refsource":"MISC","url":"https://pypi.org/project/django-filter/"},{"refsource":"CONFIRM","name":"https://security.netapp.com/advisory/ntap-20210604-0010/","url":"https://security.netapp.com/advisory/ntap-20210604-0010/"},{"refsource":"FEDORA","name":"FEDORA-2021-f213fea441","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DPHENTRHRAYFXYPPBT7JRHZRWILRY44S/"},{"refsource":"FEDORA","name":"FEDORA-2021-1acbee2459","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FAT2ZAEF6DM3VFSOHKB7X3ASSHGQHJAK/"},{"refsource":"FEDORA","name":"FEDORA-2023-4dee6d0a76","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SVJ7AYU6FUSU3F653YCGW5LFD3IULRSX/"}]},"source":{"advisory":"GHSA-x7gm-rfgv-w973","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2021-04-29 21:15:00","lastModifiedDate":"2023-11-07 03:17:00","problem_types":["CWE-681"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:N/I:N/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":4},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:django-filter_project:django-filter:*:*:*:*:*:*:*:*","versionEndExcluding":"2.4.0","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"15225","Ordinal":"176604","Title":"CVE-2020-15225","CVE":"CVE-2020-15225","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"15225","Ordinal":"1","NoteData":"django-filter is a generic system for filtering Django QuerySets based on user selections. In django-filter before version 2.4.0, automatically generated `NumberFilter` instances, whose value was later converted to an integer, were subject to potential DoS from maliciously input using exponential format with sufficiently large exponents. Version 2.4.0+ applies a `MaxValueValidator` with a a default `limit_value` of 1e50 to the form field used by `NumberFilter` instances. In addition, `NumberFilter` implements the new `get_max_validator()` which should return a configured validator instance to customise the limit, or else `None` to disable the additional validation. Users may manually apply an equivalent validator if they are not able to upgrade.","Type":"Description","Title":null},{"CveYear":"2020","CveId":"15225","Ordinal":"2","NoteData":"2021-04-29","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"15225","Ordinal":"3","NoteData":"2021-10-29","Type":"Other","Title":"Modified"}]}}}