CVE-2018-20433
c3p0: XML external entity processing in extractXmlConfigFromInputStream
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (medium), Ubuntu (medium).
Description
c3p0 0.9.5.2 allows XXE in extractXmlConfigFromInputStream in com/mchange/v2/c3p0/cfg/C3P0ConfigXmlUtils.java during initialization.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | com.mchange:c3p0 | 0.9.5.3 |
| debian 11 | c3p0 | 0.9.1.2-10 |
| debian 12 | c3p0 | 0.9.1.2-10 |
| debian 13 | c3p0 | 0.9.1.2-10 |
| debian 14 | c3p0 | 0.9.1.2-10 |
| debian 8 | c3p0 | 0.9.1.2-9+deb8u1 |
| debian 9 | c3p0 | 0.9.1.2-9+deb9u1 |
| echo | c3p0 | 0.9.1.2-10 |
| Red Hat | c3p0, opendaylight, rhevm-dependencies | no fix listed |
| ubuntu 14.04 | c3p0 | 0.9.1.2-9+deb8u1build0.14.04.1 |
| ubuntu 14.04-ESM | c3p0 | 0.9.1.2-9+deb8u1build0.14.04.1 |
| ubuntu 16.04 | c3p0 | 0.9.1.2-9+deb8u1build0.16.04.1 |
Show all 18 entries from 16 sources
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | com.mchange:c3p0 | 0.9.5.3 |
| debian 11 | c3p0 | 0.9.1.2-10 |
| debian 12 | c3p0 | 0.9.1.2-10 |
| debian 13 | c3p0 | 0.9.1.2-10 |
| debian 14 | c3p0 | 0.9.1.2-10 |
| debian 8 | c3p0 | 0.9.1.2-9+deb8u1 |
| debian 9 | c3p0 | 0.9.1.2-9+deb9u1 |
| echo | c3p0 | 0.9.1.2-10 |
| Red Hat | c3p0 | no fix listed |
| Red Hat | opendaylight | no fix listed |
| Red Hat | rhevm-dependencies | no fix listed |
| ubuntu 14.04 | c3p0 | 0.9.1.2-9+deb8u1build0.14.04.1 |
| ubuntu 14.04-ESM | c3p0 | 0.9.1.2-9+deb8u1build0.14.04.1 |
| ubuntu 16.04 | c3p0 | 0.9.1.2-9+deb8u1build0.16.04.1 |
| ubuntu 16.04-ESM | c3p0 | 0.9.1.2-9+deb8u1build0.16.04.1 |
| ubuntu 18.04 | c3p0 | 0.9.1.2-9+deb8u1build0.18.04.1 |
| ubuntu 18.04-ESM | c3p0 | 0.9.1.2-9+deb8u1build0.18.04.1 |
| ubuntu 18.10 | c3p0 | 0.9.1.2-9+deb8u1build0.18.10.1 |
References
- https://access.redhat.com/security/cve/CVE-2018-20433
- https://github.com/advisories/GHSA-q485-j897-qc27
- https://github.com/zhutougg/c3p0
- https://github.com/zhutougg/c3p0/commit/2eb0ea97f745740b18dd45e4a909112d4685f87b
- https://lists.debian.org/debian-lts-announce/2018/12/msg00021.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BFIVX6HOVNLAM7W3SUAMHYRNLCVQSAWR
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BFIVX6HOVNLAM7W3SUAMHYRNLCVQSAWR/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MQ47OFV57Y2DAHMGA5H3JOL4WHRWRFN4