django1/django
Simon Charette 384ac0990f Refs #32061 -- Prevented password leak on MySQL dbshell crash.
The usage of the --password flag when invoking the mysql CLI has the
potential of exposing the password in plain text if the command happens
to crash due to the inclusion of args provided to
subprocess.run(check=True) in the string representation of the
subprocess.CalledProcessError exception raised on non-zero return code.

Since this has the potential of leaking the password to logging
facilities configured to capture crashes (e.g. sys.excepthook, Sentry)
it's safer to rely on the MYSQL_PWD environment variable instead even
if its usage is discouraged due to potential leak through the ps
command on old flavors of Unix.

Thanks Charlie Denton for reporting the issue to the security team.

Refs #24999.
2020-10-30 10:12:52 +01:00
..
apps Fixed #31870 -- Fixed crash when populating app registry with empty or without apps module. 2020-08-10 20:16:45 +02:00
bin Fixed #23433 -- Deprecated django-admin.py entry point in favor of django-admin. 2019-12-06 12:11:44 +01:00
conf Updated the link documenting the de_CH number formats. 2020-10-14 14:37:26 +02:00
contrib Made small readability improvements. 2020-10-28 20:20:20 +01:00
core Made small readability improvements. 2020-10-28 20:20:20 +01:00
db Refs #32061 -- Prevented password leak on MySQL dbshell crash. 2020-10-30 10:12:52 +01:00
dispatch Fixed #31327 -- Deprecated providing_args argument for Signal. 2020-03-05 09:38:52 +01:00
forms Fixed #1891, Fixed #11707 -- Prevented duplicates with limit_choices_to on multi-value relations. 2020-10-27 20:40:04 +01:00
http Fixed #32002 -- Added headers parameter to HttpResponse and subclasses. 2020-10-07 09:19:57 +02:00
middleware Made small readability improvements. 2020-10-28 20:20:20 +01:00
template Fixed #20601 -- Allowed forcing format with thousand separators in floatformat filter. 2020-10-13 10:36:46 +02:00
templatetags Fixed #18995 -- Made blocktranslate tag raise TemplateSyntaxError when plural count is not a number. 2020-09-29 08:03:51 +02:00
test Made small readability improvements. 2020-10-28 20:20:20 +01:00
urls Fixed #32124 -- Added per-view opt-out for APPEND_SLASH behavior. 2020-10-22 14:15:19 +02:00
utils Made small readability improvements. 2020-10-28 20:20:20 +01:00
views Fixed #32124 -- Added per-view opt-out for APPEND_SLASH behavior. 2020-10-22 14:15:19 +02:00
__init__.py Bumped version; master is now 3.2 pre-alpha. 2020-05-13 09:07:51 +02:00
__main__.py Fixed #24857 -- Added "python -m django" entry point. 2015-09-07 19:54:32 -04:00
shortcuts.py Made small readability improvements. 2020-10-28 20:20:20 +01:00