High
Security advisory
The getLocalePrefix function in ResourceManager.java in Eclipse Mojarra before 2.3.7 is affected by Directory Traversal via the loc parameter. A remote attacker can download configuration files or Java bytecodes from applications.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-14371
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:26 UTC · Revision 1
Source evidence
The getLocalePrefix function in ResourceManager.java in Eclipse Mojarra before 2.3.7 is affected by Directory Traversal via the loc parameter. A remote attacker can download configuration files or Java bytecodes from applications.
osv:CVE-2018-14371
Complete source record
{
"id": "198cd79289c08c681e815ffea8d9fd560e7aa2ec07a9227f4e78eff83699a754",
"url": "https://osv.dev/vulnerability/CVE-2018-14371",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-14371",
"summary": "The getLocalePrefix function in ResourceManager.java in Eclipse Mojarra before 2.3.7 is affected by Directory Traversal via the loc parameter. A remote attacker can download configuration files or Java bytecodes from applications.",
"evidence": "osv:CVE-2018-14371",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2018-14371",
"aliases": [
"CVE-2018-14371",
"GHSA-43q7-q5vp-3g68"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/eclipse-ee4j/mojarra",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "1b434748d9239f42eae8aa7d37d7a0930c061e24"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "1b434748d9239f42eae8aa7d37d7a0930c061e24"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"initial-contribution"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-14371.json",
"vanir_signatures": [
{
"id": "CVE-2018-14371-049ce9b2",
"digest": {
"length": 731,
"function_hash": "78985184270963556182314007368417430050"
},
"source": "https://github.com/eclipse-ee4j/mojarra/commit/1b434748d9239f42eae8aa7d37d7a0930c061e24",
"target": {
"file": "impl/src/main/java/com/sun/faces/application/resource/ResourceManager.java",
"function": "getLocalePrefix"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2018-14371-93e1e03b",
"digest": {
"threshold": 0.9,
"line_hashes": [
"70322480537739052774084584317398054035",
"231251267116386616632618780783746322157",
"291069530633298000581908944237761418377",
"288578048813723010792164654894819094770"
]
},
"source": "https://github.com/eclipse-ee4j/mojarra/commit/1b434748d9239f42eae8aa7d37d7a0930c061e24",
"target": {
"file": "impl/src/main/java/com/sun/faces/application/resource/ResourceManager.java"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2018-14371-bfc96243",
"digest": {
"threshold": 0.9,
"line_hashes": [
"308523144820732483400291549987336030538",
"279007306830836050829605516263463414455",
"204613409217991402601037419095691594240",
"123030983730660267491737243797690444936"
]
},
"source": "https://github.com/eclipse-ee4j/mojarra/commit/1b434748d9239f42eae8aa7d37d7a0930c061e24",
"target": {
"file": "impl/src/main/java/com/sun/faces/application/applicationimpl/InstanceFactory.java"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2018-14371-eff33215",
"digest": {
"length": 113,
"function_hash": "35268667866906904737243452786281145631"
},
"source": "https://github.com/eclipse-ee4j/mojarra/commit/1b434748d9239f42eae8aa7d37d7a0930c061e24",
"target": {
"file": "impl/src/main/java/com/sun/faces/application/applicationimpl/InstanceFactory.java",
"function": "createComponent"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:31:43Z"
}
}
],
"modified": "2026-10-20T13:31:43.212904364Z",
"provider": "osv",
"references": [
"https://github.com/javaserverfaces/mojarra/issues/4364",
"https://github.com/eclipse-ee4j/mojarra/commit/1b434748d9239f42eae8aa7d37d7a0930c061e24"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:eclipse:mojarra:*:*:*:*:*:*:*:*"
],
"vendor_product": "eclipse:mojarra",
"extracted_events": [
{
"range": [
{
"fixed": "2.3.7"
}
],
"source": "CPE_RANGE"
}
]
},
{
"extracted_events": [
{
"range": [
{
"fixed": "2.3.7"
}
],
"source": "DESCRIPTION"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2018-14371",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387783,
"published_at": "2018-07-18T12:29:00.257+00:00"
}