Quantcast
Channel: BOT24
Viewing all articles
Browse latest Browse all 8064

C++11 insecure by default

$
0
0
In this article I will present a conclusion of testing the new 'objective regex' in several implementation of standard c++ library like libcxx (clang) and stdlibc++ (gcc). The results show the weakness in official supported implementations. Huge complexity and memory exhaustion were well known in most of libc libraries. Theoretical the new c++11 <regex> eliminate resource exhaustion by specifying special limits preventing for evil patterns.
In glibc there was the conviction that for the safety of use regcomp() respond vendor using regex implementation. However, it is difficult to do the parser of regular expression in clients applications and others remote affected. The exceptions support for regex errors looks very promising. Let's see some part of documentation std::regex_error

more here..............http://cxsecurity.com/issue/WLB-2014070187

Viewing all articles
Browse latest Browse all 8064

Trending Articles