Skip to content

Commit

Permalink
Merge pull request #336399 from risicle/ris-djangorestframework-CVE-2…
Browse files Browse the repository at this point in the history
…024-21520-r24.05

[24.05] python311Packages.djangorestframework: add patch for CVE-2024-21520
  • Loading branch information
drupol committed Aug 22, 2024
2 parents 2045a34 + 545b7ef commit 797f7dc
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
coreapi,
django,
django-guardian,
Expand All @@ -26,6 +27,14 @@ buildPythonPackage rec {
hash = "sha256-Fnj0n3NS3SetOlwSmGkLE979vNJnYE6i6xwVBslpNz4=";
};

patches = [
(fetchpatch {
name = "CVE-2024-21520.patch";
url = "https://github.com/encode/django-rest-framework/commit/3b41f0124194430da957b119712978fa2266b642.patch";
hash = "sha256-1NoRlV+sqHezDo28x38GD6DpcQuUF1q3YQXEb3SUvKQ=";
})
];

propagatedBuildInputs = [
django
pytz
Expand Down

0 comments on commit 797f7dc

Please sign in to comment.