Reading through this question on multi-threaded javascript, I was wondering if there would be any security implications allowing javascript to run mutliple threads. For example, is there a risk that a malicious script repeatedly generates a thread after a thread, trying to overload the operating system or interpreter and start entering the “w90> behavior area”, or is this not a problem to a large extent? Any other ways in which an attack could use a hypothetical javascript implementation that supports threads that a non-stream implementation will not be protected?
Update: Please note that blocking the browser does not match the creation of an undefined behavior exploit.
No, multiple threads will not add additional security issues to the ideal implementation. Threaded javascript will add complexity to the javascript interpreter, making it more likely to be used with an error. But not one of them is going to add any security concerns.
There are no topics in javascript because "Threads Suck" - read more from the language developer ( http://weblogs.mozillazine.org/roadmap/archives/2007/02/threads_suck.html )
, JS. , - .
, .
, , "undefined behavior"? , script , - , Gears, API Worker WorkerPool s, , .
Worker
WorkerPool
, , javascript Google chrome ( JEEZ), , , javascript , , ( ) , , , Google , , javascript .
, 1) (, , -, ) 2) / JavaScript .
For # 2, I don’t see how this can really add any possible security problems for the engine / interpreter, unless there are flaws in the implementation.
Source: https://habr.com/ru/post/1696642/More articles:PHP Integration - authenticationUsing .net Assemblies in SQL Server 2005 - .netHow to upgrade TFS 2005 to TFS 2008? - tfsEncrypt data from users in web applications - web-applicationsКак проверить статус задания из потока управления SSIS? - sql-serverImproving productivity with OPC tags - performanceHow to read and write raw ip packets from java on mac? - javaHow can you export your saved username and passwords in FireFox 2? - firefoxHow to get an array of different property values from memory lists? - performanceThe madness of choosing jQuery and prototype - jqueryAll Articles