aboutsummaryrefslogtreecommitdiff
path: root/changes/bug17404
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-10-21 11:44:43 -0400
committerNick Mathewson <nickm@torproject.org>2015-10-21 11:44:43 -0400
commit35bf07b8d67d018f7740ca195cf8c7c86b1b4ef9 (patch)
tree96ab072a93a2d30f4723383607a5169f35d1546c /changes/bug17404
parent62b02a1941c6c51efe36f804ddd10f62a3606d41 (diff)
downloadtor-35bf07b8d67d018f7740ca195cf8c7c86b1b4ef9.tar.gz
tor-35bf07b8d67d018f7740ca195cf8c7c86b1b4ef9.zip
Check for len < 4 in dn_indicates_v3_cert
Without this check, we potentially look up to 3 characters before the start of a malloc'd segment, which could provoke a crash under certain (weird afaik) circumstances. Fixes 17404; bugfix on 0.2.6.3-alpha.
Diffstat (limited to 'changes/bug17404')
-rw-r--r--changes/bug174046
1 files changed, 6 insertions, 0 deletions
diff --git a/changes/bug17404 b/changes/bug17404
new file mode 100644
index 0000000000..d524f6662d
--- /dev/null
+++ b/changes/bug17404
@@ -0,0 +1,6 @@
+ o Major bugfixes (security, correctness):
+ - Fix a programming error that could cause us to read 4 bytes before
+ the beginning of an openssl string. This could be used to provoke
+ a crash on systems with an unusual malloc implementation, or
+ systems with unsual hardening installed. Fixes bug 17404; bugfix
+ on 0.2.3.6-alpha.