Vulnerabilities in pkg:maven/org.primefaces/primefaces
PACKAGECVE-2017-1000486 is a CRITICAL (CVSS 9.8) inadequate encryption strength vulnerability (CWE-326: Inadequate Encryption Strength) affecting Primefaces libraries in the Maven ecosystem. The issue involves inadequate encryption strength. Remediation is available by upgrading affected packages to version 6.0.
pkg:maven/org.primefaces/primefaces
Vulnerability advisories affecting package pkg:maven/org.primefaces/primefaces. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-j239-4gqg-5j54 | CVE-2017-1000486 | CRITICAL | Inadequate Encryption Strength |
| GHSA-fw5f-7c6c-3vmv | CVE-2020-10544 | MODERATE | Cross-site Scripting in PrimeFaces |
CVE-2017-1000486 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2017-1000486
To remediate this vulnerability, upgrade all affected Primefaces dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.primefaces</groupId>
<artifactId>primefaces</artifactId>
<version>6.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.primefaces
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2017-1000486, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.primefaces
Analyze the terminal output to locate any version of Primefaces in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.primefaces command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-326: Inadequate Encryption Strength, where the product stores or transmits sensitive data using an encryption scheme that is theoretically sound, but is not strong enough for the level of protection required. In Primefaces, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2017-1000486 Affected Primefaces Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.primefaces:primefaces
|
Maven |
≥ 5.0
< 6.0
|
6.0
|
References
Frequently Asked Questions
What is CVE-2017-1000486?
Which Primefaces versions are affected?
What version fixes CVE-2017-1000486?
Is primefaces affected?
What is the CVSS score of CVE-2017-1000486?
What CWE is associated with CVE-2017-1000486?
How can I check Maven dependencies for CVE-2017-1000486?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j239-4gqg-5j54",
"modified" : "2025-01-22T21:44:51Z",
"published" : "2021-06-03T19:22:22Z",
"aliases" : [ "CVE-2017-1000486" ],
"summary" : "Inadequate Encryption Strength",
"details" : "Primetek Primefaces 5.x is vulnerable to a weak encryption flaw resulting in remote code execution",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.primefaces:primefaces"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0"
}, {
"fixed" : "6.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-1000486"
}, {
"type" : "WEB",
"url" : "https://github.com/primefaces/primefaces/issues/1152"
}, {
"type" : "WEB",
"url" : "https://cryptosense.com/weak-encryption-flaw-in-primefaces"
}, {
"type" : "WEB",
"url" : "https://www.exploit-db.com/exploits/43733"
}, {
"type" : "WEB",
"url" : "http://blog.mindedsecurity.com/2016/02/rce-in-oracle-netbeans-opensource.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-326" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2021-06-03T19:22:05Z",
"nvd_published_at" : "2018-01-03T20:29:00Z"
}
}