<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chango.git/django/core/cache/backends/filebased.py, branch main</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/chango.git/atom?h=main</id>
<link rel='self' href='http://cgit.adnoto.dev/chango.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/'/>
<updated>2026-03-03T12:09:32Z</updated>
<entry>
<title>Fixed CVE-2026-25674 -- Prevented potentially incorrect permissions on file system object creation.</title>
<updated>2026-03-03T12:09:32Z</updated>
<author>
<name>Natalia</name>
<email>124304+nessita@users.noreply.github.com</email>
</author>
<published>2026-01-21T21:03:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=019e44f67a8dace67b786e2818938c8691132988'/>
<id>urn:sha1:019e44f67a8dace67b786e2818938c8691132988</id>
<content type='text'>
This fix introduces `safe_makedirs()` in the `os` utils as a safer
alternative to `os.makedirs()` that avoids umask-related race conditions
in multi-threaded environments.

This is a workaround for https://github.com/python/cpython/issues/86533
and the solution is based on the fix being proposed for CPython.

Co-authored-by: Gregory P. Smith &lt;68491+gpshead@users.noreply.github.com&gt;
Co-authored-by: Zackery Spytz &lt;zspytz@gmail.com&gt;

Refs CVE-2020-24583 and #31921.

Thanks Tarek Nakkouch for the report, and Jake Howard, Jacob Walls, and
Shai Berger for reviews.
</content>
</entry>
<entry>
<title>Applied Black's 2025 stable style.</title>
<updated>2025-03-01T18:41:37Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2025-03-01T18:41:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=ff3aaf036f0cb66cd8f404cd51c603e68aaa7676'/>
<id>urn:sha1:ff3aaf036f0cb66cd8f404cd51c603e68aaa7676</id>
<content type='text'>
https://github.com/psf/black/releases/tag/25.1.0</content>
</entry>
<entry>
<title>Refs #34900 -- Removed usage of deprecated glob.glob1().</title>
<updated>2024-10-28T13:10:12Z</updated>
<author>
<name>earthyoung</name>
<email>studydatawithme@gmail.com</email>
</author>
<published>2024-10-28T06:59:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=555f2412cba4c5844408042e92f3bf9fa5c2392c'/>
<id>urn:sha1:555f2412cba4c5844408042e92f3bf9fa5c2392c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #34233 -- Dropped support for Python 3.8 and 3.9.</title>
<updated>2023-01-18T08:46:01Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2023-01-18T08:46:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=3bbe22dafcc69c5ffa79707f5a74eb1faf466e12'/>
<id>urn:sha1:3bbe22dafcc69c5ffa79707f5a74eb1faf466e12</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #34209 -- Prevented FileBasedCache.has_key() crash caused by a race condition.</title>
<updated>2022-12-13T18:29:15Z</updated>
<author>
<name>Marti Raudsepp</name>
<email>marti@juffo.org</email>
</author>
<published>2022-12-13T09:20:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=32268456d6494483f9a737dc7c32bbbf1eceab8c'/>
<id>urn:sha1:32268456d6494483f9a737dc7c32bbbf1eceab8c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #33476 -- Reformatted code with Black.</title>
<updated>2022-02-07T19:37:05Z</updated>
<author>
<name>django-bot</name>
<email>ops@djangoproject.com</email>
</author>
<published>2022-02-03T19:24:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=9c19aff7c7561e3a82978a272ecdaad40dda5c00'/>
<id>urn:sha1:9c19aff7c7561e3a82978a272ecdaad40dda5c00</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #28401 -- Allowed hashlib.md5() calls to work with FIPS kernels.</title>
<updated>2021-10-12T06:58:27Z</updated>
<author>
<name>Ade Lee</name>
<email>alee@redhat.com</email>
</author>
<published>2021-08-10T22:13:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=d10c7bfe56f025ccc690721c9f13e7029b777b9c'/>
<id>urn:sha1:d10c7bfe56f025ccc690721c9f13e7029b777b9c</id>
<content type='text'>
md5 is not an approved algorithm in FIPS mode, and trying to instantiate
a hashlib.md5() will fail when the system is running in FIPS mode.

md5 is allowed when in a non-security context. There is a plan to add a
keyword parameter (usedforsecurity) to hashlib.md5() to annotate whether
or not the instance is being used in a security context.

In the case where it is not, the instantiation of md5 will be allowed.
See https://bugs.python.org/issue9216 for more details.

Some downstream python versions already support this parameter. To
support these versions, a new encapsulation of md5() has been added.
This encapsulation will pass through the usedforsecurity parameter in
the case where the parameter is supported, and strip it if it is not.

Co-authored-by: Mariusz Felisiak &lt;felisiak.mariusz@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fixed #33060 -- Added BaseCache.make_and_validate_key() hook.</title>
<updated>2021-09-07T09:59:59Z</updated>
<author>
<name>Nick Pope</name>
<email>nick@nickpope.me.uk</email>
</author>
<published>2021-08-26T13:00:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=42dfa97e191d8f7ffdc0b5d9502949ef3b8ef356'/>
<id>urn:sha1:42dfa97e191d8f7ffdc0b5d9502949ef3b8ef356</id>
<content type='text'>
This helper function reduces the amount of duplicated code and makes it
easier to ensure that we always validate the keys.
</content>
</entry>
<entry>
<title>Fixed CVE-2020-24584 -- Fixed permission escalation in intermediate-level directories of the file system cache on Python 3.7+.</title>
<updated>2020-09-01T07:17:23Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2020-08-21T10:43:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=1853724acaf17ed7414d54c7d2b5563a25025a71'/>
<id>urn:sha1:1853724acaf17ed7414d54c7d2b5563a25025a71</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #30759 -- Made cache.delete() return whether it succeeded.</title>
<updated>2019-11-14T10:14:11Z</updated>
<author>
<name>daniel a rios</name>
<email>misterrios@gmail.com</email>
</author>
<published>2019-10-08T09:02:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=efc3e32d6d7fb9bb41be73b80c8607b653c1fbd6'/>
<id>urn:sha1:efc3e32d6d7fb9bb41be73b80c8607b653c1fbd6</id>
<content type='text'>
Thanks Simon Charette for the review.
</content>
</entry>
</feed>
