mchange-commons-java: Remote Code Execution via JNDI Reference Resolution
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| swaldman | mchange-commons-java | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Swaldman | Mchange-commons-java |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-m2cm-222f-qw44 | mchange-commons-java: Remote Code Execution via JNDI Reference Resolution |
Ubuntu USN |
USN-8642-1 | c3p0 vulnerabilities |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.977% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Mchange
Mchange mchange Commons Java |
|
| CPEs | cpe:2.3:a:mchange:mchange_commons_java:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Mchange
Mchange mchange Commons Java |
|
| Metrics |
cvssV3_1
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Swaldman
Swaldman mchange-commons-java |
|
| Vendors & Products |
Swaldman
Swaldman mchange-commons-java |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-502 | |
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | mchange-commons-java: Remote Code Execution via JNDI Reference Resolution | |
| Weaknesses | CWE-74 | |
| References |
| |
| Metrics |
cvssV4_0
|