Skip to content

Commit 9638cb5

Browse files
committed
Update release notes and CHANGELOG.
1 parent 91430cf commit 9638cb5

File tree

3 files changed

+41
-0
lines changed

3 files changed

+41
-0
lines changed

src/dist-static/CHANGELOG

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
c3p0-0.9.5.3
2+
-- Address CVE-2018-20433, https://nvd.nist.gov/vuln/detail/CVE-2018-20433 re liberal parsing of
3+
XML config. By default, c3p0 no longer expands entity references in XML config files. This
4+
behavior can be overridden via config property 'com.mchange.v2.c3p0.cfg.xml.expandEntityReferences'
5+
by applications that understand the security concerns but wish to make use of entity references.
6+
Thanks to user zhutougg on GitHub for calling attention to and suggesting a fix for this issue.
7+
-- Upgrade dependency to mchange-commons-java 0.2.15, which includes support for log4j2 (implemented
8+
in mchange-commons-java by GitHub user fireandfuel. Many thanks!
9+
110
c3p0-0.9.5.2
211
-- Fix a bug in MLog bridge to slf4j logging, in which loggability of levels of wrapped loggers
312
was misreported, leading to useless allocation of log Strings below the logging threshold. Grr.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
RELEASE NOTES, c3p0-0.9.5.2
2+
===========================
3+
4+
+ This minor bugfix release fixed a bug that caused useless allocation of below-logging-threshold
5+
Strings, and added better debugging information on failed attempts to acquire database Connections.
6+
7+
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
RELEASE NOTES, c3p0-0.9.5.3
2+
===========================
3+
4+
+ This minor bugfix release addresses a security issue:
5+
6+
CVE-2018-20433, https://nvd.nist.gov/vuln/detail/CVE-2018-20433
7+
8+
The c3p0 parsed XML config files liberally, including resolving external
9+
entity references. Incautious use of this feature could permit injection
10+
of malicious config. Now c3p0 does not resolve external entity references
11+
in its the XML config file.
12+
13+
HOWEVER, in the EXCEEDINGLY RARE CASE that your configuration depends on
14+
the old behavior, if you have UNDERSTOOD the security concern, you may
15+
restore external entity resolution with the following config parameter
16+
(in c3p0.properties, as HOCON config, or as a System property):
17+
18+
com.mchange.v2.c3p0.cfg.xml.expandEntityReferences=true
19+
20+
Thanks to user zhutougg on GitHub for calling attention to and suggesting
21+
a fix for this issue.
22+
23+
+ c3p0 now supports logging to log4j2. (Logging to the old, original log4j
24+
library remains supported as well.) Thanks to user fireandfuel on GitHub
25+
for implementing this feature! (In the mchange-commons-java library.)

0 commit comments

Comments
 (0)