CVE-2018-12540 json
High severity vulnerability that affects io.vertx:vertx-web
published 8y ago modified 4mo ago also GHSA-rvgg-f8qm-6h7j , EUVD-2018-0690
- cvss
- 8.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.0%
- EPSS 2.0% chance of exploitation in 30 days, percentile 80%
- public exploits
- 0
- none known
Summary
In version from 3.0.0 to 3.5.2 of Eclipse Vert.x, the CSRFHandler do not assert that the XSRF Cookie matches the returned XSRF header/form parameter. This allows replay attacks with previously issued tokens which are not expired yet.
Patch / fix
Is CVE-2018-12540 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-12540 updated cvss 6.8
vertx-web: Incomplete CSRF validation by CSRFHandler
-
Red Hat Text-Only RHOARfixed: vendor fix RHSA-2018:2371
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.99% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:2371 referenced PoC, tagged "exploit" by a source, unverified
- bugs.eclipse.org https://bugs.eclipse.org/bugs/show_bug.cgi?id=536948 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | io.vertx:vertx-web | >=3.0.0, <3.5.3 |
3.5.3 |
Affected products
- The Eclipse Foundation Eclipse Vert.x
Classification
- Weakness
-
- CWE-352 Cross-Site Request Forgery
References
-
github.com
/vert-x3/vertx-web/commit/f42b193b15a29b772fc576b2d0f2497e7474a7e
web
-
access.redhat.com
/errata/RHSA-2018:2371
vendor-advisory, web, exploit, third-party-advisory
-
bugs.eclipse.org
/bugs/show_bug.cgi?id=536948
web, exploit, vendor-advisory
-
lists.apache.org
/thread.html/r59482ebed302aa49ac7e0c51737499746b0d086fcdeb8f90e705951f%40%3Ccommits.pulsar.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r3fffda8e947edaa359152c8dc4c4ea9c96fd8ced1999bbce92bc6b25%40%3Ccommits.pulsar.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rc5b4ae8a7caae6d3d5b3266cb050823b96dd62b30718b90b778d3d8b%40%3Ccommits.pulsar.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r10aef585c521f8ef603f5831f9d97a27d920624025131da950e0c62f%40%3Ccommits.pulsar.apache.org%3E
mailing-list
-
nvd.nist.gov
/vuln/detail/CVE-2018-12540
advisory
-
github.com
/vert-x3/vertx-web/issues/970
web
-
github.com
/advisories/GHSA-rvgg-f8qm-6h7j
advisory
-
github.com
/vert-x3/vertx-web
package
-
lists.apache.org
/thread.html/r10aef585c521f8ef603f5831f9d97a27d920624025131da950e0c62f@%3Ccommits.pulsar.apache.org%3E
web
-
lists.apache.org
/thread.html/r3fffda8e947edaa359152c8dc4c4ea9c96fd8ced1999bbce92bc6b25@%3Ccommits.pulsar.apache.org%3E
web
-
lists.apache.org
/thread.html/r59482ebed302aa49ac7e0c51737499746b0d086fcdeb8f90e705951f@%3Ccommits.pulsar.apache.org%3E
web
-
lists.apache.org
/thread.html/rc5b4ae8a7caae6d3d5b3266cb050823b96dd62b30718b90b778d3d8b@%3Ccommits.pulsar.apache.org%3E
web
Sources
- CVE List CVE-2018-12540
- GitHub Advisory GHSA-rvgg-f8qm-6h7j
- NVD CVE-2018-12540
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.