c3p0 exposes a deserialization "sink" via JDBC DataSource bean properties
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 | c3p0 | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Swaldman | C3p0 |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-w6w4-rjh9-9r58 | c3p0 can, in combination with other libraries, compose to a "sink" for deserialization gadgets |
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.480% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Swaldman
Swaldman c3p0 |
|
| Vendors & Products |
Swaldman
Swaldman c3p0 |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | c3p0 is a JDBC Connection pooling library. In versions prior to 0.14.0, c3p0 in combination with other libraries, can compose to a "sink" for deserialization gadgets. The JDBC spec's DataSource.getConnection() and ConnectionPoolDataSource.getPooledConnection() match the getXXX() form, so JavaBean libraries treat them as "properties" assumed safe while they actually call into JDBC drivers. Attackers can thus craft malicious DataSource objects whose property lookups invoke vulnerable drivers, then smuggle them in serialized form to where an application deserializes and auto-resolves bean properties — triggering the attack. This requires a susceptible DataSource/ConnectionPoolDataSource and JDBC driver on the CLASSPATH, plus a carrier that auto-looks-up JavaBean properties on = deserialization, most commonly a collection paired with an Apache commons-beanutils Comparator that sorts by bean properties. c3p0 supplied that susceptible DataSource/ConnectionPoolDataSource, which was an essential component of the trigger. This issue has been fixed in version 0.14.0. | |
| Title | c3p0 exposes a deserialization "sink" via JDBC DataSource bean properties | |
| Weaknesses | CWE-502 CWE-915 |
|
| References |
| |
| Metrics |
cvssV4_0
|