CVE-2020-6950 is a medium-severity (CVSS 6.5) Path Traversal vulnerability in org.glassfish:mojarra-parent. EPSS puts its 30-day exploitation probability at 10.1% (96th percentile). A fix is available for org.glassfish:mojarra-parent — see the affected versions and patch details below.
Directory traversal in Eclipse Mojarra
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.glassfish:mojarra-parentReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Directory traversal in Eclipse Mojarra before 2.3.14 allows attackers to read arbitrary files via the loc parameter or con parameter.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.glassfish:mojarra-parent | all versions | 2.3.14org.glassfish:mojarra-parent:2.3.14 |
Affected Products
mojarraeclipsebanking enterprise default managementoraclebanking platformoraclecommunications network integrityoraclecommunications pricing design centeroraclehyperion calculation manageroracleDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.glassfish:mojarra-parent, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.glassfish:mojarra-parent to 2.3.14 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-6950 is resolved across your whole dependency graph.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
How to detect CVE-2020-6950
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2020-6950 -u https://target- Template
- Eclipse Mojarra - Local File Read
- Severity
- medium
- Impact
- Attackers can read arbitrary files from the server including configuration files and credentials, potentially leading to further exploitation and data exposure.
- Remediation
- Upgrade to Eclipse Mojarra version 2.3.14 or later.
Template by ProjectDiscovery nuclei-templates (iamnoooob, pdresearch), MIT licensed. View the full template. Scan only systems you are authorised to test.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
There is no currently known mitigation for this flaw.Source: Red Hat security advisory for CVE-2020-6950 (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| EAP-CD 20 Tech Preview | jsf-impl | RHSA-2020:3585 |
| Red Hat Fuse 7.9 | jsf-impl | RHSA-2021:3140 |
| Red Hat JBoss Enterprise Application Platform 7 | jsf-impl | RHSA-2020:3642 |
| Red Hat JBoss Enterprise Application Platform 7 | jsf-impl | RHSA-2020:2515 |
| Red Hat JBoss Enterprise Application Platform 7.2 for RHEL 6 | eap7-dom4j-0:2.1.3-1.redhat_00001.1.el6eap | RHSA-2020:3637 |
| Red Hat JBoss Enterprise Application Platform 7.2 for RHEL 7 | eap7-dom4j-0:2.1.3-1.redhat_00001.1.el7eap | RHSA-2020:3638 |
| Red Hat JBoss Enterprise Application Platform 7.2 for RHEL 8 | eap7-dom4j-0:2.1.3-1.redhat_00001.1.el8eap | RHSA-2020:3639 |
| Red Hat JBoss Enterprise Application Platform 7.3 for RHEL 6 | eap7-activemq-artemis-0:2.9.0-4.redhat_00010.1.el6eap | RHSA-2020:2511 |
Frequently Asked Questions
Is CVE-2020-6950 in your dependencies?
Find it across Maven, including transitive dependencies.