Skip to content

Commit a258cc5

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into json
2 parents 412a150 + a37e63b commit a258cc5

File tree

4 files changed

+72
-15
lines changed

4 files changed

+72
-15
lines changed

documentation/esapi4java-core-2.5.0.0-release-notes.txt

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Release notes for ESAPI 2.5.0.0
2-
Release date: 2022-07-17
2+
Release date: 2022-07-20
33
Project leaders:
44
-Kevin W. Wall <kevin.w.wall@gmail.com>
55
-Matt Seil <matt.seil@owasp.org>
@@ -41,7 +41,7 @@ ESAPI 2.5.0.0 release:
4141
206 Java source files
4242
4274 JUnit tests in 131 Java source files (0 tests skipped)
4343

44-
18 GitHub Issues closed in this release, including those we've decided not to fix (marked 'wontfix' and 'falsepositive').
44+
19 GitHub Issues closed in this release, including those we've decided not to fix (marked 'wontfix' and 'falsepositive').
4545
(Reference: https://github.com/ESAPI/esapi-java-legacy/issues?q=is%3Aissue+state%3Aclosed+updated%3A%3E%3D2022-04-24)
4646

4747
Issue # GitHub Issue Title
@@ -64,6 +64,7 @@ Issue # GitHub Issue Title
6464
620 Move the default property names and values out of a reference implementation class Component-SecurityConfiguration
6565
587 Drop Xerces dependency from pom.xml Build-Maven Vulnerable Dependencies
6666
534 Delete Deprecated Log4J implementation and Dependencies wait4future
67+
507 LDAP encoding of slash character
6768

6869
-----------------------------------------------------------------------------
6970

@@ -120,15 +121,19 @@ Instead, we simply changed the JUnit test to check that the expected AntiSamy or
120121
Remaining Known Issues / Problems
121122

122123
-----------------------------------------------------------------------------
123-
'mvn site' fails to build these two reports:
124+
* 'mvn site' fails to build these two reports:
124125
"Tag reference" report --- maven-taglib-plugin:2.4:tagreference
125126
"Taglibdoc documentation" report --- maven-taglib-plugin:2.4:taglibdoc
126127

127-
Thus no tag library documentation will be generated. :-(
128+
Thus no tag library documentation will be generated. :-(
128129

129-
We are attempting to find a solution, but on the surface, it seems like the maven-taglib-plugin does not play nicely with versions of Java after Java 6. (So, this probably has been happening for a while and we just noticed it.)
130+
We are attempting to find a solution, but on the surface, it seems like the maven-taglib-plugin does not play nicely with versions of Java after Java 6. (So, this probably has been happening for a while and we just noticed it.)
130131

131-
No others problems are known, other than the remaining open issues on GitHub.
132+
* We have had to suppress CVE-2017-10355, related to the transitive dependency xercesImpl-2.12.2.jar via antisamy-1.7.0.jar. It is the same jar that has been used for the past 2 years but the CVE just started popping up now, apparently because of changes to Sonatype's OSS Index. More details are available in the OWASP Dependency Check suppression rules contained in the 'suppressions.xml' file. Note that other SCA tools such as Snyk or GitHub Dependabot are not presently reporting it, but it bears watching.
133+
134+
* Trying to run 'mvn test' with Java 11 or later results in multiple errors in maven-surefire-plugin, so for now, that should be avoided. We think we may have a solution, but at this point, it is too late to test for this release.
135+
136+
* No others problems are known, other than the remaining open issues on GitHub.
132137

133138
-----------------------------------------------------------------------------
134139

@@ -140,17 +145,23 @@ No others problems are known, other than the remaining open issues on GitHub.
140145

141146
-----------------------------------------------------------------------------
142147

143-
Developer Activity Report (Changes between release 2.4.0.0 and 2.5.0.0, i.e., between 2022-04-24 and 2022-07-17)
148+
Developer Activity Report (Changes between release 2.4.0.0 and 2.5.0.0, i.e., between 2022-04-24 and 2022-07-20)
144149
Generated manually (this time) -- all errors are the fault of kwwall and his inability to do simple arithmetic.
145150

146151
#
147152
# 34 PRs merged since ESAPI 2.4.0.0 release
153+
# Apparent disparement in the figures below may be explained by serveral things:
154+
# * My failure to do proper counting and basic arithmetic after 4 hours of tweak release notes.
155+
# * Different basis for calculations:
156+
# - Figures here may not agree with generated Change Log Report, which is date-based, as some commits included in this release were prior to ESAPI 2.4.0.0 and thus not included in the Change Log Report.
157+
# - Some commits are done without PRs. Generally, we don't require PRs when we don't require code reviews. That generally is restricted to documenation files, making simple config file changes, and correcting obvious typos. Commits without PRs are resricted to the 3 ESAPI core team members.
158+
# - Sometimes in a PR, multiple commits touch a file multiple times so we count those files once for each commit.
148159
#
149160
Developer Total Total Number # Merged
150161
(GitHub ID) commits of Files Changed PRs
151162
========================================================
152163
jeremiahjstacey 265 180 24
153-
kwwall 35 64 5
164+
kwwall 39 69 5
154165
xeno6696 1 267 1
155166
noloader 5 2 1
156167
stevebosman-oc 4 3 2

pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>org.owasp.esapi</groupId>
55
<artifactId>esapi</artifactId>
6-
<version>2.5.0.0</version>
6+
<version>2.5.1.0-SNAPSHOT</version>
77
<packaging>jar</packaging>
88

99
<distributionManagement>
@@ -146,7 +146,7 @@
146146
<!-- TODO: Be sure to update. Should be date of previous official release -->
147147
<!-- Exact date in the form 'yyyy-dd-yy 00:00:00' should be used. You can find the previous release date -->
148148
<!-- n the previous release notes file under the 'documentation/' directory. -->
149-
<date.prev_release>2021-05-07 00:00:00</date.prev_release>
149+
<date.prev_release>2021-05-24 00:00:00</date.prev_release>
150150
</properties>
151151

152152
<dependencyManagement>
@@ -445,7 +445,7 @@
445445
<plugin>
446446
<groupId>org.cyclonedx</groupId>
447447
<artifactId>cyclonedx-maven-plugin</artifactId>
448-
<version>2.7.0</version>
448+
<version>2.7.1</version>
449449
<executions>
450450
<execution>
451451
<phase>package</phase>
@@ -529,7 +529,7 @@
529529
<plugin>
530530
<groupId>org.apache.maven.plugins</groupId>
531531
<artifactId>maven-deploy-plugin</artifactId>
532-
<version>3.0.0-M2</version>
532+
<version>3.0.0</version>
533533
</plugin>
534534

535535
<plugin>
@@ -633,7 +633,7 @@
633633
<plugin>
634634
<groupId>org.apache.maven.plugins</groupId>
635635
<artifactId>maven-install-plugin</artifactId>
636-
<version>3.0.0-M1</version>
636+
<version>3.0.0</version>
637637
</plugin>
638638

639639
<plugin>
@@ -683,7 +683,7 @@
683683
<plugin>
684684
<groupId>org.apache.maven.plugins</groupId>
685685
<artifactId>maven-project-info-reports-plugin</artifactId>
686-
<version>3.3.0</version>
686+
<version>3.4.0</version>
687687
</plugin>
688688

689689
<plugin>

scripts/vars.2.5.0.0

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ VERSION=2.5.0.0
88
PREV_VERSION=2.4.0.0
99

1010
# Release date of current version in yyyy-mm-dd format
11-
YYYY_MM_DD_RELEASE_DATE=2022-07-17
11+
YYYY_MM_DD_RELEASE_DATE=2022-07-20
1212

1313
# Previous ESAPI release date in same format
1414
PREV_RELEASE_DATE=2022-04-24

suppressions.xml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,50 @@
1111
<packageUrl regex="true">^pkg:maven/org\.apache\.xmlgraphics/batik\-i18n@.*$</packageUrl>
1212
<cve>CVE-2020-7791</cve>
1313
</suppress>
14+
15+
16+
<!-- NOTE: These 4 suppression rules are redundant. Will decide later which one to keep. -->
17+
<suppress>
18+
<notes><![CDATA[
19+
CVE-2017-10355 in library xercesImpl-2.12.2.jar, which is a transitive dependency, pulled in via AntiSamy.
20+
It is a Denial of Service vulnerability with a CVSSv3 score of 5.9.
21+
22+
We are suppressing this because it is believed by the ESAPI and AntiSamy teams that it is a false positive.
23+
Dependency Check itself doesn't flag this and neither does Snyk. Dependency Check reports it because it is reported
24+
directly by Sonatype's OSS Index. For futher details, see
25+
https://ossindex.sonatype.org/vulnerability/sonatype-2017-0348?component-type=maven&component-name=xerces%2FxercesImpl
26+
27+
OSS Index seems to have the wrong CPE. They have 'cpe:2.3:a:xerces:xercesImpl:2.12.2:*:*:*:*:*:*:*', whereas the CPE IDs
28+
associated with NVD are 'cpe:2.3:a:apache:xerces-j:2.12.2:*:*:*:*:*:*:*' and
29+
'cpe:2.3:a:apache:xerces2_java:2.12.2:*:*:*:*:*:*:*'.
30+
31+
Note also that this has been reported as GitHub issue #a 4614
32+
https://github.com/jeremylong/DependencyCheck/issues/4614
33+
]]></notes>
34+
<sha1>f051f988aa2c9b4d25d05f95742ab0cc3ed789e2</sha1>
35+
<cpe>cpe:/a:apache:xerces-j</cpe>
36+
</suppress>
37+
<suppress>
38+
<notes><![CDATA[
39+
CVE-2017-10355 in xercesImpl. See above for details.
40+
]]></notes>
41+
<sha1>f051f988aa2c9b4d25d05f95742ab0cc3ed789e2</sha1>
42+
<cpe>cpe:/a:apache:xerces2_java</cpe>
43+
</suppress>
44+
<suppress>
45+
<notes><![CDATA[
46+
CVE-2017-10355 in xercesImpl. See above for details.
47+
48+
This is the one that matches the OSS Index
49+
]]></notes>
50+
<packageUrl regex="true">^pkg:maven/xerces/xercesImpl@.*$</packageUrl>
51+
<vulnerabilityName>CVE-2017-10355</vulnerabilityName>
52+
</suppress>
53+
<suppress>
54+
<notes><![CDATA[
55+
FP per Dependency Check GitHub issue #4614
56+
]]></notes>
57+
<cve>CVE-2017-10355</cve>
58+
</suppress>
59+
1460
</suppressions>

0 commit comments

Comments
 (0)