INFO: Found 1 test target...FAIL: //:OpenJDKTest (see /home/sevko/.cache/bazel/_bazel_sevko/e3dc80d62859c30dd963cd56d3f40c3c/execroot/__main__/bazel-out/local-fastbuild/testlogs/OpenJDKTest/test.log).Target //:OpenJDKTest up-to-date:bazel-bin/OpenJDKTest.jarbazel-bin/OpenJDKTestINFO: Elapsed time: 22.123s, Critical Path: 22.02s//:OpenJDKTest FAILED in 21.6s/home/sevko/.cache/bazel/_bazel_sevko/e3dc80d62859c30dd963cd56d3f40c3c/execroot/__main__/bazel-out/local-fastbuild/testlogs/OpenJDKTest/test.log
$ java -versionopenjdk version "1.8.0_131"OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-2-b11)OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)
1.8.0_31-b13 failed1.8.0_40-b26 failed1.8.0_45-b14 failed1.8.0_51-b16 failed1.8.0_60-b27 failed1.8.0_65-b17 failed1.8.0_66-b17 failed1.8.0_71-b15 failed1.8.0_72-b15 failed1.8.0_73-b02 failed1.8.0_74-b02 failed1.8.0_77-b03 failed1.8.0_91-b14 -1.8.0_92-b14 -1.8.0_101-b13 -1.8.0_111-b14 -1.8.0_131-b11 failed1.8.0_141-b15 -"-" indicates a passing test
On Tuesday, August 8, 2017 at 2:53:57 PM UTC+2, Severyn Kozak wrote:I'm investigating various documented OpenJDK vulnerabilities, and decided to look at CVE-2016-0695 in particular (since it's very well documented in Project Wycheproof with a working test and all). According to bugs.md, the vulnerability was fixed in Oracle's April 2016 CPU, which states that it affected Java SE 8u77 amongst others platforms. I'm running OpenJDK 1.8.0.131, so the vulnerability should've been fixed, but the `testDsaBias()` test is still failing. I reduced the OpenJDK testsuite to just include `DsaTest.class` and ran `bazel test OpenJDKTest`, which produced:INFO: Found 1 test target...FAIL: //:OpenJDKTest (see /home/sevko/.cache/bazel/_bazel_sevko/e3dc80d62859c30dd963cd56d3f40c3c/execroot/__main__/bazel-out/local-fastbuild/testlogs/OpenJDKTest/test.log).Target //:OpenJDKTest up-to-date:bazel-bin/OpenJDKTest.jarbazel-bin/OpenJDKTestINFO: Elapsed time: 22.123s, Critical Path: 22.02s//:OpenJDKTest FAILED in 21.6s/home/sevko/.cache/bazel/_bazel_sevko/e3dc80d62859c30dd963cd56d3f40c3c/execroot/__main__/bazel-out/local-fastbuild/testlogs/OpenJDKTest/test.logI've attached the full `test.log` file. Also, I added a print statement to report the crypto provider used by default, which turned out to be SUN. My full java version is:$ java -versionopenjdk version "1.8.0_131"OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-2-b11)OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)So, why would the test still fail? Is it a false positive, or is it possible the vulnerability was reintroduced? Or is it the `testBiasSha1WithDSA()` test case that I should be looking at, and not `testDsaBias()`?p.s. this is an awesome project, thanks for making it happen
--
You received this message because you are subscribed to the Google Groups "wycheproof-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wycheproof-users+unsubscribe@googlegroups.com.
To post to this group, send email to wycheproof-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wycheproof-users/0ab26d11-1876-4986-bb86-45af255996d1%40googlegroups.com.