Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
wtwhite committed Sep 28, 2023
1 parent a24b7a8 commit 38312fe
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions CVE-2019-0225/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,7 @@ Some minor changes made:
1. JUnit version replaced by Junit5 with JUnit4 support through vintage
2. additional dependency providing mock APIs added: `net.sourceforge.stripes:stripes:1.7.0-async-beta`

Note that the tests __fail__ indicating the vulnerability! There is no later version of jspwiki available in the Maven repository that makes these tests
pass as APIs the tests depends on also change. In particular, the required class `org.apache.wiki.auth.TestAuthorizer` needs to implement additional methods
in `org.apache.wiki.auth.authorize.WebAuthorizer` in `org.apache.jspwiki:jspwiki-main:2.11.0.M7`.

Also, in 2.11.0 , `WikiEngine` expects that *""JSPWiki requires a container which supports at least version 3.1 of Servlet specification"* and
enforces this by throwing an exception. However, the mock container provided in `net.sourceforge.stripes:stripes:1.7.0-async-beta`
only supports container version `2.*`.









Note that the tests __fail__ indicating the vulnerability!

The commit, apache/jspwiki@88d89d6, that contains the original patch to fix the vulnerability also contains a new test -- but that test has a bug, which
was fixed a few minutes later in apache/jspwiki@3ad9e5e. Our test has the same fix.

0 comments on commit 38312fe

Please sign in to comment.