MidnightBSD

Advisories for mchange

CVE-2018-20433 HIGH

c3p0 0.9.5.2 allows XXE in extractXmlConfigFromInputStream in com/mchange/v2/c3p0/cfg/C3P0ConfigXmlUtils.java during initialization.

CVSS 2.0

Severity: HIGH

Problem Type: CWE-611,

Products Affected

Vendor Product Version
mchange c3p0 0.9.5.2
debian debian_linux 8.0
CVE-2019-5427 MEDIUM

c3p0 version < 0.9.5.4 may be exploited by a billion laughs attack when loading XML configuration due to missing protections against recursive entity expansion when loading configuration.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 3.9 3.6

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-776,CWE-776,

Products Affected

Vendor Product Version
oracle hyperion_infrastructure_technology 11.1.2.4
fedoraproject fedora 30
fedoraproject fedora 29
oracle communications_session_route_manager *
oracle retail_xstore_point_of_service 16.0
oracle enterprise_manager_ops_center 12.4.0.0
oracle communications_ip_service_activator 7.3.0
mchange c3p0 *
oracle flexcube_private_banking 12.0.0
oracle flexcube_private_banking 12.1.0
oracle communications_ip_service_activator 7.4.0
oracle retail_xstore_point_of_service 15.0
oracle retail_xstore_point_of_service 17.0
oracle webcenter_sites 12.2.1.3.0
oracle webcenter_sites 12.2.1.4.0
oracle retail_xstore_point_of_service 18.0
oracle enterprise_manager_base_platform 13.2.1.0
oracle retail_xstore_point_of_service 19.0
oracle documaker *
CVE-2026-27727

mchange-commons-java, a library that provides Java utilities, includes code that mirrors early implementations of JNDI functionality, including support for remote `factoryClassLocation` values, by which code can be downloaded and invoked within a running application. If an attacker can provoke an application to read a maliciously crafted `jaxax.naming.Reference` or serialized object, they can provoke the download and execution of malicious code. Implementations of this functionality within the JDK were disabled by default behind a System property that defaults to `false`, `com.sun.jndi.ldap.object.trustURLCodebase`. However, since mchange-commons-java includes an independent implementation of JNDI derefencing, libraries (such as c3p0) that resolve references via that implementation could be provoked to download and execute malicious code even after the JDK was hardened. Mirroring the JDK patch, mchange-commons-java's JNDI functionality is gated by configuration parameters that default to restrictive values starting in version 0.4.0. No known workarounds are available. Versions prior to 0.4.0 should be avoided on application CLASSPATHs.

Products Affected

Vendor Product Version
mchange mchange_commons_java *