blob: 503bdfe48c877b568d3f287b153c79577c9001e1 [file] [log] [blame]
Alex Stapleton68bba2d2014-03-22 23:03:15 +00001Known security limitations
2--------------------------
3
4Lack of secure memory wiping
5============================
6
7`Memory wiping`_ is used to protect secret data or key material from attackers
8with access to uninitialized memory. This can be either because the attacker
Alex Stapleton1977a602014-03-22 23:50:52 +00009has some kind of local user access or because of how other software uses
Alex Stapleton68bba2d2014-03-22 23:03:15 +000010uninitialized memory.
11
Alex Stapletona108ac62014-03-25 10:03:58 +000012Python exposes no API for us to implement this reliably and as such almost all
kennwhite993d8472014-06-25 21:09:28 -040013software in Python is potentially vulnerable to this attack. The
14`CERT secure coding guidelines`_ assesses this issue as "Severity: medium,
Alex Gaynord7a23062014-06-25 19:52:03 -070015Likelihood: unlikely, Remediation Cost: expensive to repair" and we do not
16consider this a high risk for most users.
Alex Stapleton68bba2d2014-03-22 23:03:15 +000017
Paul Kehrer277b7012016-01-01 09:58:53 -060018.. _`Memory wiping`: https://blogs.msdn.microsoft.com/oldnewthing/20130529-00/?p=4223/
Alex Gaynora80fb942015-03-03 18:29:55 -050019.. _`CERT secure coding guidelines`: https://www.securecoding.cert.org/confluence/display/c/MEM03-C.+Clear+sensitive+information+stored+in+reusable+resources