Summary: | denial of service on many and long requests on v5.5.x | ||
---|---|---|---|
Product: | Tomcat 5 | Reporter: | David Maciejak <david.maciejak> |
Component: | Catalina | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | P2 | ||
Version: | 5.5.0 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux |
Description
David Maciejak
2005-10-18 23:16:59 UTC
v5.0.28 seems ok This bug report does not make any sense, sorry. It does make sense and I have reproduced it. Cool. Do you have an explanation for: "Tomcat version from 5.5.0 to 5.5.11 included are vulnerable, 5.5.12 seems to be ok." ? (In reply to comment #4) > Cool. Do you have an explanation for: "Tomcat version from 5.5.0 to 5.5.11 > included are vulnerable, 5.5.12 seems to be ok." ? Looks like his testing of 5.5.12 was bad. I can easily reproduce this using the latest source from SVN and the problem area has remained unchanged. I posted an explanation of what is going on to the dev list. (In reply to comment #5) > Looks like his testing of 5.5.12 was bad. I can easily reproduce this using the > latest source from SVN and the problem area has remained unchanged. I posted an > explanation of what is going on to the dev list. The abstraction layer will make directory listings expensive (actually, directory listings in Java are going to be expensive regardless), so I don't see how this can be optimized. The fact remains however that this bug report is nonsense. (In reply to comment #5) > (In reply to comment #4) > > Cool. Do you have an explanation for: "Tomcat version from 5.5.0 to 5.5.11 > > included are vulnerable, 5.5.12 seems to be ok." ? > > Looks like his testing of 5.5.12 was bad. I can easily reproduce this using the > latest source from SVN and the problem area has remained unchanged. I posted an > explanation of what is going on to the dev list. > In fact, I have not been able to reproduce the problem on 5.5.12. The java thread burns the cpu during some time and after waiting enough all goes to a 'normal' state. This is now fixed. The obvious optimisation has been made in the code but this only has a marginal impact. Given the high cost of generating the listings in Java, this code cannot be optimised to the point where large directory listings will not place a disproportionate load on the server. Therefore, directory listing is now disabled by default and warnings have been added to both the documentation and the file where this is configured. These changes will be included in versions 5.5.13+, 5.0.31+ and 4.1.32+ Note that releases of the 4.1.x and 5.0.x branches are now infrequent and that none are planned at present. |