Vulnerabilities in pkg:maven/org.primefaces/primefaces

PACKAGE
Advisory Identifier: GHSA-j239-4gqg-5j54
Advisory Summary

CVE-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.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.primefaces/primefaces

2 Known Advisory Record(s)

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

CVE Identifier CVE-2017-1000486
GHSA Identifier GHSA-j239-4gqg-5j54
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-326: Inadequate Encryption Strength
Affected Product Primefaces
Package Ecosystem Maven
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (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.

org.primefaces:primefaces fixed: 6.0
<dependency>
    <groupId>org.primefaces</groupId>
    <artifactId>primefaces</artifactId>
    <version>6.0</version>
</dependency>
Verify Direct and Transitive Dependencies

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

Primetek Primefaces 5.x is vulnerable to a weak encryption flaw resulting in remote code execution

CVE-2017-1000486 Affected Primefaces Versions

1 component(s)
Fixed Versions:
6.0
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?
CVE-2017-1000486 is a security vulnerability in Primefaces involving Inadequate Encryption Strength under CWE-326: Inadequate Encryption Strength.
Which Primefaces versions are affected?
Affected versions include releases prior to 6.0 across affected packages: org.primefaces:primefaces.
What version fixes CVE-2017-1000486?
Upgrading to 6.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is primefaces affected?
Yes, org.primefaces:primefaces is affected in releases prior to 6.0. Upgrade your dependency to 6.0 or later.
What is the CVSS score of CVE-2017-1000486?
CVE-2017-1000486 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2017-1000486?
CVE-2017-1000486 is classified under CWE-326: Inadequate Encryption Strength (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.).
How can I check Maven dependencies for CVE-2017-1000486?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.primefaces'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}