CVE-2020-13942 in the critical feed json
Remote Code Execution in Apache Unomi
published 5y ago modified 4mo ago also GHSA-xp5j-wj4h-2jq9 , EUVD-2022-1257
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 68.5%
- EPSS 68.5% chance of exploitation in 30 days, percentile 99.3%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
It is possible to inject malicious OGNL or MVEL scripts into the /context.json public endpoint. This was partially fixed in 1.5.1 but a new attack vector was found. In Apache Unomi version 1.5.2 scripts are now completely filtered from the input. It is highly recommended to upgrade to the latest available version of the 1.5.x release to fix this problem.
Patch / fix
- maven org.apache.unomi:unomi 1.5.2
- Apache Software Foundation Apache Unomi 1.5.2
Is CVE-2020-13942 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 FencerExploit prediction
68.52% chance of exploitation in the next 30 days, higher than 99.3% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- Nuclei template Apache Unomi <1.5.2 - Remote Code Execution nuclei detection template
- advisory.checkmarx.net https://advisory.checkmarx.net/advisory/CX-2020-4284 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.unomi:unomi | <1.5.2 |
1.5.2 |
Affected products
- Apache Software Foundation Apache Unomi
Classification
References
-
advisory.checkmarx.net
/advisory/CX-2020-4284
web, exploit, third-party-advisory
-
unomi.apache.org.
/security/cve-2020-13942.txt
web, mailing-list, vendor-advisory
-
lists.apache.org
/thread.html/rcb6d2eafcf15def433aaddfa06738e5faa5060cef2647769e178999a%40%3Cdev.unomi.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rcb6d2eafcf15def433aaddfa06738e5faa5060cef2647769e178999a%40%3Cusers.unomi.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r4a8fa91836687eaca42b5420a778ca8c8fd3a3740e4cf4401acc9118%40%3Cusers.unomi.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r4a8fa91836687eaca42b5420a778ca8c8fd3a3740e4cf4401acc9118%40%3Cdev.unomi.apache.org%3E
mailing-list
-
openwall.com
/lists/oss-security/2020/11/24/5
mailing-list, web, third-party-advisory
-
lists.apache.org
/thread.html/r08a4057ff7196b8880117edaa4b6207cbd36ed692d8dd1f5a56b4d0f%40%3Cannounce.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r79672c25e0ef9bb4b9148376281200a8e61c6d5ef5bb705e9a363460%40%3Ccommits.unomi.apache.org%3E
mailing-list
-
nvd.nist.gov
/vuln/detail/CVE-2020-13942
advisory
-
lists.apache.org
/thread.html/r08a4057ff7196b8880117edaa4b6207cbd36ed692d8dd1f5a56b4d0f@%3Cannounce.apache.org%3E
web
-
lists.apache.org
/thread.html/r4a8fa91836687eaca42b5420a778ca8c8fd3a3740e4cf4401acc9118@%3Cdev.unomi.apache.org%3E
web
-
lists.apache.org
/thread.html/r4a8fa91836687eaca42b5420a778ca8c8fd3a3740e4cf4401acc9118@%3Cusers.unomi.apache.org%3E
web
-
lists.apache.org
/thread.html/r79672c25e0ef9bb4b9148376281200a8e61c6d5ef5bb705e9a363460@%3Ccommits.unomi.apache.org%3E
web
-
lists.apache.org
/thread.html/rcb6d2eafcf15def433aaddfa06738e5faa5060cef2647769e178999a@%3Cdev.unomi.apache.org%3E
web
-
lists.apache.org
/thread.html/rcb6d2eafcf15def433aaddfa06738e5faa5060cef2647769e178999a@%3Cusers.unomi.apache.org%3E
web
Sources
- CVE List CVE-2020-13942
- GitHub Advisory GHSA-xp5j-wj4h-2jq9
- NVD CVE-2020-13942
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.