You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by rh...@apache.org on 2023/10/10 20:56:09 UTC
svn commit: r1912878 - in /db/derby/code/trunk: RELEASE-NOTES.html releaseSummary.xml
Author: rhillegas
Date: Tue Oct 10 20:56:09 2023
New Revision: 1912878
URL: http://svn.apache.org/viewvc?rev=1912878&view=rev
Log:
DERBY-7157: Checkin first draft of release notes for Derby 10.17.1.0; commit derby-7157-01-aa-draftReleaseNotes.diff.
Modified:
db/derby/code/trunk/RELEASE-NOTES.html
db/derby/code/trunk/releaseSummary.xml
Modified: db/derby/code/trunk/RELEASE-NOTES.html
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/RELEASE-NOTES.html?rev=1912878&r1=1912877&r2=1912878&view=diff
==============================================================================
--- db/derby/code/trunk/RELEASE-NOTES.html (original)
+++ db/derby/code/trunk/RELEASE-NOTES.html Tue Oct 10 20:56:09 2023
@@ -1,10 +1,10 @@
<html lang="en">
-<title>Release Notes for Apache Derby 10.16.0.0</title>
+<title>Release Notes for Apache Derby 10.17.1.0</title>
<body>
<h1>
-<a name="Release Notes for Apache Derby 10.16.0.0"></a>Release Notes for Apache Derby 10.16.0.0</h1>
+<a name="Release Notes for Apache Derby 10.17.1.0"></a>Release Notes for Apache Derby 10.17.1.0</h1>
<div>
-<p>These notes describe the difference between Apache Derby release 10.16.0.0 and the preceding release 10.15.2.0.</p>
+<p>These notes describe the difference between Apache Derby release 10.17.1.0 and the preceding release 10.16.1.1.</p>
</div>
<ul>
<li>
@@ -59,12 +59,12 @@ Derby functionality includes:
<p>
-The 10.16 release family supports the following Java and JDBC versions:
+The 10.17 release family supports the following Java and JDBC versions:
</p>
<ul>
-<li>Java SE 17 and higher with JDBC 4.2.</li>
+<li>Java SE 21 and higher with JDBC 4.2.</li>
</ul>
@@ -75,35 +75,15 @@ The 10.16 release family supports the fo
<p>
-This is a feature release. The following significant change has been made:
+The major feature of this release is support for Java SE 21.
</p>
-<ul>
-
-
-<li>
-<b>SecurityManager deprecated</b> - Derby no longer supports the Java SecurityManager. This is because the Open JDK team deprecated the SecurityManager and marked it for removal. This deprecation happened under the aegis of
-<a href="https://openjdk.java.net/jeps/411">JEP 411</a>.
-</li>
-
-
-</ul>
-
-
<p>
New users should consult the
-<a href="https://db.apache.org/derby/manuals/index.html#docs_10.16">10.16 documentation</a>,
+<a href="https://db.apache.org/derby/manuals/index.html#docs_10.17">10.17 documentation</a>,
especially the
-<a href="https://db.apache.org/derby/docs/10.16/getstart/index.html">Getting Started With Derby</a> guide.
-</p>
-
-
-<p>
-Existing users who want to run Derby with a SecurityManager must NOT upgrade to version 10.16.
-Instead, those users must continue to use older versions of Derby. Please see the
-<a href="https://db.apache.org/derby/derby_downloads.html">Derby download page</a>
-in order to understand how Derby and Java versions correspond.
+<a href="https://db.apache.org/derby/docs/10.17/getstart/index.html">Getting Started With Derby</a> guide.
</p>
@@ -111,7 +91,7 @@ in order to understand how Derby and Jav
<h2>
<a name="Bug Fixes"></a>Bug Fixes</h2>
<div>
-<p>The following issues are addressed by Derby release 10.16.0.0. These issues are not addressed in the preceding 10.15.2.0 release.</p>
+<p>The following issues are addressed by Derby release 10.17.1.0. These issues are not addressed in the preceding 10.16.1.1 release.</p>
<table border="2">
<tr>
<th>
@@ -119,55 +99,16 @@ in order to understand how Derby and Jav
</th><th>Description</th>
</tr>
<tr>
-<td><a href="https://issues.apache.org/jira/browse/DERBY-7040">DERBY-7040</a></td><td>Add dependency stanzas to maven poms</td>
-</tr>
-<tr>
-<td><a href="https://issues.apache.org/jira/browse/DERBY-7137">DERBY-7137</a></td><td>Compile 10.16 into Java 17 byte code so that it won't run on earlier platforms</td>
-</tr>
-<tr>
-<td><a href="https://issues.apache.org/jira/browse/DERBY-7125">DERBY-7125</a></td><td>Dead link in BUILDING.html</td>
+<td><a href="https://issues.apache.org/jira/browse/DERBY-7143">DERBY-7143</a></td><td>HarmonySerialBlob.getBinaryStream(long, long) makes it impossible to retrieve the last character of the Blob.</td>
</tr>
<tr>
-<td><a href="https://issues.apache.org/jira/browse/DERBY-7031">DERBY-7031</a></td><td>Errors running upgrade tests from 10.15.1.0 release candidate to 10.16 trunk</td>
+<td><a href="https://issues.apache.org/jira/browse/DERBY-7144">DERBY-7144</a></td><td>MERGE INSERT failing when target has GENERATED IDENTITY column</td>
</tr>
<tr>
-<td><a href="https://issues.apache.org/jira/browse/DERBY-7124">DERBY-7124</a></td><td>Errors seen while running the junit-all target</td>
+<td><a href="https://issues.apache.org/jira/browse/DERBY-7147">DERBY-7147</a></td><td>LDAP injection vulnerability in LDAPAuthenticationImpl</td>
</tr>
<tr>
-<td><a href="https://issues.apache.org/jira/browse/DERBY-7053">DERBY-7053</a></td><td>Further top build.xml streamlining</td>
-</tr>
-<tr>
-<td><a href="https://issues.apache.org/jira/browse/DERBY-7050">DERBY-7050</a></td><td>In build.xml of derby root there's a vestigial target (+ patch)</td>
-</tr>
-<tr>
-<td><a href="https://issues.apache.org/jira/browse/DERBY-7087">DERBY-7087</a></td><td>Make it possible to build and run tests cleanly on Java 15</td>
-</tr>
-<tr>
-<td><a href="https://issues.apache.org/jira/browse/DERBY-7110">DERBY-7110</a></td><td>Make it possible to build and test Derby cleanly with OpenJDK 17</td>
-</tr>
-<tr>
-<td><a href="https://issues.apache.org/jira/browse/DERBY-7126">DERBY-7126</a></td><td>Make it possible to build and test Derby cleanly with OpenJDK 18</td>
-</tr>
-<tr>
-<td><a href="https://issues.apache.org/jira/browse/DERBY-7088">DERBY-7088</a></td><td>Make it possible to build and test Derby using JDK 16</td>
-</tr>
-<tr>
-<td><a href="https://issues.apache.org/jira/browse/DERBY-7046">DERBY-7046</a></td><td>NoClassDefFoundError on 'java -jar derbynet.jar'</td>
-</tr>
-<tr>
-<td><a href="https://issues.apache.org/jira/browse/DERBY-7138">DERBY-7138</a></td><td>Remove references to the Java Security Manager</td>
-</tr>
-<tr>
-<td><a href="https://issues.apache.org/jira/browse/DERBY-7052">DERBY-7052</a></td><td>Reordering and (mildly) reorganizing build.xml Ant targets around buildsource</td>
-</tr>
-<tr>
-<td><a href="https://issues.apache.org/jira/browse/DERBY-7057">DERBY-7057</a></td><td>Unreferenced failing target in main build</td>
-</tr>
-<tr>
-<td><a href="https://issues.apache.org/jira/browse/DERBY-7038">DERBY-7038</a></td><td>Upgrade ant version and re-write javadoc build targets to use improved <javadoc>task</td>
-</tr>
-<tr>
-<td><a href="https://issues.apache.org/jira/browse/DERBY-7041">DERBY-7041</a></td><td>null pointer exception when creating view based on other views</td>
+<td><a href="https://issues.apache.org/jira/browse/DERBY-7149">DERBY-7149</a></td><td>Make it possible to build and test Derby cleanly with JDK 20</td>
</tr>
</table>
</div>
@@ -176,97 +117,22 @@ in order to understand how Derby and Jav
<div>
<ul>
<li>
-<a href="#Note for DERBY-7137"><span>Note for DERBY-7137:
-Derby 10.16 compiles into Java 17 byte code.
-</span></a>
-</li>
-<li>
-<a href="#Note for DERBY-7138"><span>Note for DERBY-7138:
-As part of JEP 411, the Open JDK team deprecated the SecurityManager and marked it for future removal. In response, Derby release 10.16 removes support for the SecurityManager.
+<a href="#Note for DERBY-7147"><span>Note for DERBY-7147:
+Denial of service attacks might have been possible when using LDAP authentication.
</span></a>
</li>
</ul>
-<p>Compared with the previous release (10.15.2.0), Derby release 10.16.0.0 introduces the following new features and incompatibilities. These merit your special attention.</p>
+<p>Compared with the previous release (10.16.1.1), Derby release 10.17.1.0 introduces the following new features and incompatibilities. These merit your special attention.</p>
<hr>
<h3>
-<a name="Note for DERBY-7137"></a>Note for DERBY-7137</h3>
+<a name="Note for DERBY-7147"></a>Note for DERBY-7147</h3>
<div>
-<!--
- Release note for DERBY-7137
--->
-
<h4>Summary of Change</h4>
<p>
-Derby 10.16 compiles into Java 17 byte code.
-</p>
-
-
-
-<h4>Symptoms Seen by Applications Affected by Change</h4>
-
-<p>
-Derby 10.16 will not run on Java 16 or earlier JVMs.
-</p>
-
-
-
-<h4>Rationale for Change</h4>
-
-<p>
-Derby 10.16 no longer supports the Java SecurityManager
-(see <a href="https://issues.apache.org/jira/browse/DERBY-7138">DERBY-7138</a>)
-due to its deprecation by Java 17
-(see <a href="https://openjdk.java.net/jeps/411">JEP 411</a>).
-Java 17 and Derby 10.16 must not be used by applications which install a SecurityManager.
-</p>
-
-
-<!--
- OPTIONAL: DESCRIBE HOW TO REVERT TO THE PREVIOUS BEHAVIOR OR
- OTHERWISE AVOID THE INCOMPATIBILITIES INTRODUCED BY THIS CHANGE.
-
- For instance:
-
- Users must recode applications which open multiple streams on the same column.
--->
-
-
-<h4>Application Changes Required</h4>
-
-<p>
-Applications must not use the SecurityManager if they run with Derby 10.16 on Java 17 or later JVMs.
-Applications which need a SecurityManager must use earlier versions of Derby and the JVM.
-See the
-<a href="https://db.apache.org/derby/derby_downloads.html">Derby download page</a>
-for the correspondence between Derby and JVM versions.
-</p>
-
-
-
-</div>
-<hr>
-<h3>
-<a name="Note for DERBY-7138"></a>Note for DERBY-7138</h3>
-<div>
-
-<!--
- SUMMARIZE THE ISSUE. This is a one line, one sentence summary of the
- issue. It serves as the title for the issue in the Issues section of
- the full Release Notes.
-
- For instance:
-
- Applications may no longer open two InputStreams on the same ResultSet column.
--->
-
-
-<h4>Summary of Change</h4>
-
-<p>
-As part of JEP 411, the Open JDK team deprecated the SecurityManager and marked it for future removal. In response, Derby release 10.16 removes support for the SecurityManager.
+Denial of service attacks might have been possible when using LDAP authentication.
</p>
@@ -286,196 +152,21 @@ As part of JEP 411, the Open JDK team de
<h4>Symptoms Seen by Applications Affected by Change</h4>
<p>
-Previous Derby releases let database administrators install a Java SecurityManager. This, in turn, let applications customize access to security-sensitive objects such as files, network sockets, system properties, and class loaders. In previous Derby releases, the Derby network server installed a SecurityManager with default permissions if the administrator forgot to provide a customized security policy.
-</p>
-
-
-<p>
-Recently, Open JDK 17 deprecated the SecurityManager and marked it for future removal. Open JDK 17 also began writing warnings to the console when applications called SecurityManager-related methods.
-</p>
-
-
-<p>
-Open JDK 18 goes even further. Open JDK 18 forces users to set <i>-Djava.security.manager=allow</i> when booting an application which installs a SecurityManager. Furthermore, the meaning of that property has changed since Open JDK 11. In Open JDK 11, <i>java.security.manager</i> was the name of a user-written SecurityManager class. The property is now a directive which is required for applications which want to run a SecurityManager.
-</p>
-
-
-<!--
- OPTIONAL: DESCRIBE INCOMPATIBILITIES WITH PREVIOUS RELEASE, IF ANY.
-
- For instance:
-
- Applications which open two InputStreams on the ResultSet column now
- fail.
--->
-
-
-<h4>Incompatibilities with Previous Release</h4>
-
-<p>
-Derby 10.16 removes support for the deprecated SecurityManager. The Derby 10.16 network server no longer installs a SecurityManager with a default policy file. Derby 10.16 will fail to run under the SecurityManager.
+An LDAP injection vulnerablilty was identified. It was assigned this id: CVE-2022-46337.
+Credit for finding the vulnerability goes to 4ra1n and Y4tacker.
+Someone exploiting this vulnerability might have been able to log on with a bizarre user name
+which looked like an LDAP protocol string. The user would then have been able to create
+and populate tables and therefore exhaust disk resources.
+The vulnerability was closed by escaping LDAP protocol strings.
</p>
-<p>
-Applications which need to run under a SecurityManager should use an earlier version of Derby, such as 10.15.
-Those applications will see warnings and will need to set <i>-Djava.security.manager=allow</i> when running on JVMs from Open JDK 17 upward.
-</p>
-
-
-<!--
- DESCRIBE WHY THE CHANGE WAS MADE.
-
- For instance:
-
- The previous behavior violated the JDBC standard. The new behavior
- is correct.
--->
-
-
-<h4>Rationale for Change</h4>
-
-<p>
-The Open JDK team has deprecated the SecurityManager because it is too expensive to maintain. The Open JDK team feels that files and sockets can be protected better by running applications inside operating system containers.
-</p>
-
-
-<!--
- OPTIONAL: DESCRIBE HOW TO REVERT TO THE PREVIOUS BEHAVIOR OR
- OTHERWISE AVOID THE INCOMPATIBILITIES INTRODUCED BY THIS CHANGE.
-
- For instance:
-
- Users must recode applications which open multiple streams on the same column.
--->
-
-
<h4>Application Changes Required</h4>
<p>
- Derby-powered applications should not rely on the SecurityManager and should no longer expect the Derby network server to install a SecurityManager with a default policy. Instead, applications should remove their own support for the SecurityManager.
-</p>
-
-
-<p>
-The following table suggests defenses against several threats. Some threats have no defenses now. Applications must wait until the Open JDK team builds or recommends replacement defenses for the protections deprecated by JEP 411.
+No application changes are necessary.
</p>
-
-<table border="1">
-
-<tbody>
-
-<tr>
-
-<th>Operation</th>
- <th>Threat</th>
- <th>Mitigation</th>
-
-</tr>
-
-
-<tr>
-
-<td>File access</td>
- <td>
-<ul>
-<li>Privacy</li>
-<li>Data corruption</li>
-<li>Loading of malware</li>
-</ul>
-</td>
- <td>Containerize application</td>
-
-</tr>
-
-
-<tr>
-
-<td>Network access</td>
- <td>Loading of malware</td>
- <td>Containerize application</td>
-
-</tr>
-
-
-<tr>
-
-<td>Access to Derby internals</td>
- <td>
-<ul>
-<li>Privacy</li>
-<li>Data corruption</li>
-<li>Loading of malware</li>
-</ul>
-</td>
- <td>Run Derby from the module path</td>
-
-</tr>
-
-
-<tr>
-
-<td>Engine and server shutdown</td>
- <td>Denial of service</td>
- <td>Use authorization to restrict logins</td>
-
-</tr>
-
-
-<tr>
-
-<td>Creation of class loaders</td>
- <td>Loading of malware</td>
- <td>-</td>
-
-</tr>
-
-
-<tr>
-
-<td>De-registration of JDBC driver</td>
- <td>Denial of service</td>
- <td>-</td>
-
-</tr>
-
-
-<tr>
-
-<td>Reading and setting system properties</td>
- <td>
-<ul>
-<li>Privacy</li>
-<li>Denial of service</li>
-</ul>
-</td>
- <td>-</td>
-
-</tr>
-
-
-<tr>
-
-<td>JMX monitoring of engine and server</td>
- <td>Harmless</td>
- <td>-</td>
-
-</tr>
-
-
-<tr>
-
-<td>Re-loading of security policy</td>
- <td>N/A</td>
- <td>-</td>
-
-</tr>
-
-
-</tbody>
-
-</table>
</div>
@@ -483,16 +174,16 @@ The following table suggests defenses ag
<h2>
<a name="Build Environment"></a>Build Environment</h2>
<div>
-<p>Derby release 10.16.0.0 was built using the following environment:</p>
+<p>Derby release 10.17.1.0 was built using the following environment:</p>
<ul>
<li>
-<b>Branch</b> - Source code came from the 10.16 branch.</li>
+<b>Branch</b> - Source code came from the 10.17 branch.</li>
<li>
<b>Machine</b> - Mac OSX 11.2.3.</li>
<li>
<b>Ant</b> - Apache Ant(TM) version 1.10.6 compiled on May 2 2019.</li>
<li>
-<b>Compiler</b> - All classes were compiled by the javac from OpenJDK 64-Bit Server VM (build 17+35-2724, mixed mode, sharing).</li>
+<b>Compiler</b> - All classes were compiled by the javac from OpenJDK 64-Bit Server VM (build 21+35-2513, mixed mode, sharing).</li>
</ul>
</div>
<h2>
Modified: db/derby/code/trunk/releaseSummary.xml
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/releaseSummary.xml?rev=1912878&r1=1912877&r2=1912878&view=diff
==============================================================================
--- db/derby/code/trunk/releaseSummary.xml (original)
+++ db/derby/code/trunk/releaseSummary.xml Tue Oct 10 20:56:09 2023
@@ -33,7 +33,7 @@ with real information.
E.g.: 10.2.1.7
-->
-<previousReleaseID>10.15.2.0</previousReleaseID>
+<previousReleaseID>10.16.1.1</previousReleaseID>
<!--
Identifier(s) of previously released versions. Any issue that was fixed in
@@ -59,7 +59,7 @@ with real information.
The 1.4.2_12-b03 javac was used to compile all classes
except for the JDBC4 drivers. The JDBC4 driver classes were compiled using the 1.6.0-b105 javac.
-->
- <compilers>All classes were compiled by the javac from OpenJDK 64-Bit Server VM (build 17+35-2724, mixed mode, sharing).</compilers>
+ <compilers>All classes were compiled by the javac from OpenJDK 64-Bit Server VM (build 21+35-2513, mixed mode, sharing).</compilers>
</buildInfo>
@@ -85,39 +85,24 @@ Derby functionality includes:
</ul>
<p>
-The 10.16 release family supports the following Java and JDBC versions:
+The 10.17 release family supports the following Java and JDBC versions:
</p>
<ul>
- <li>Java SE 17 and higher with JDBC 4.2.</li>
+ <li>Java SE 21 and higher with JDBC 4.2.</li>
</ul>
</overview>
<newFeatures>
<p>
-This is a feature release. The following significant change has been made:
+The major feature of this release is support for Java SE 21.
</p>
-<ul>
-
-<li><b>SecurityManager deprecated</b> - Derby no longer supports the Java SecurityManager. This is because the Open JDK team deprecated the SecurityManager and marked it for removal. This deprecation happened under the aegis of
-<a href="https://openjdk.java.net/jeps/411">JEP 411</a>.
-</li>
-
-</ul>
-
<p>
New users should consult the
-<a href="https://db.apache.org/derby/manuals/index.html#docs_10.16">10.16 documentation</a>,
+<a href="https://db.apache.org/derby/manuals/index.html#docs_10.17">10.17 documentation</a>,
especially the
-<a href="https://db.apache.org/derby/docs/10.16/getstart/index.html">Getting Started With Derby</a> guide.
-</p>
-
-<p>
-Existing users who want to run Derby with a SecurityManager must NOT upgrade to version 10.16.
-Instead, those users must continue to use older versions of Derby. Please see the
-<a href="https://db.apache.org/derby/derby_downloads.html">Derby download page</a>
-in order to understand how Derby and Java versions correspond.
+<a href="https://db.apache.org/derby/docs/10.17/getstart/index.html">Getting Started With Derby</a> guide.
</p>
</newFeatures>