Vulnerabilities in pkg:maven/org.graniteds/granite-server-core
PACKAGECVE-2017-3200 is a HIGH (CVSS 8.1) graniteds insecure deserialization vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Granite server core libraries in the Maven ecosystem. The issue involves graniteds insecure deserialization. Remediation is available in the latest vendor maintenance releases.
pkg:maven/org.graniteds/granite-server-core
Vulnerability advisories affecting package pkg:maven/org.graniteds/granite-server-core. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-vx9j-rvmj-jc32 | CVE-2017-3200 | HIGH | GraniteDS Insecure Deserialization |
CVE-2017-3200 at a Glance
Security Impact
CVSS: 8.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2017-3200
To remediate this vulnerability, upgrade all affected Granite server core 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.graniteds</groupId>
<artifactId>granite-server-core</artifactId>
<version>Latest secure release</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.graniteds
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2017-3200, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.graniteds
Analyze the terminal output to locate any version of Granite server core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.graniteds 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-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Granite server core, 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-3200 Affected Granite server core Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.graniteds:granite-server-core
|
Maven |
≤ 3.1.1.GA
|
|
References
Frequently Asked Questions
What is CVE-2017-3200?
Which Granite server core versions are affected?
What version fixes CVE-2017-3200?
Is granite-server-core affected?
What is the CVSS score of CVE-2017-3200?
What CWE is associated with CVE-2017-3200?
How can I check Maven dependencies for CVE-2017-3200?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vx9j-rvmj-jc32",
"modified" : "2023-10-10T14:31:11Z",
"published" : "2022-05-13T01:28:41Z",
"aliases" : [ "CVE-2017-3200" ],
"summary" : "GraniteDS Insecure Deserialization",
"details" : "The Java implementation of AMF3 deserializers used in GraniteDS, version 3.1.1.GA, may allow instantiation of arbitrary classes via their public parameter-less constructor and subsequently call arbitrary Java Beans setter methods. The ability to exploit this vulnerability depends on the availability of classes in the class path that make use of deserialization. A remote attacker with the ability to spoof or control information may be able to send serialized Java objects with pre-set properties that result in arbitrary code execution when deserialized.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.graniteds:granite-server-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "3.1.1.GA"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-3200"
}, {
"type" : "WEB",
"url" : "https://codewhitesec.blogspot.com/2017/04/amf.html"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/graniteds/graniteds"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20210124021547/http://www.securityfocus.com/bid/97382"
}, {
"type" : "WEB",
"url" : "https://www.kb.cert.org/vuls/id/307983"
}, {
"type" : "WEB",
"url" : "http://www.securityweek.com/flaws-java-amf-libraries-allow-remote-code-execution"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-25T23:01:36Z",
"nvd_published_at" : "2018-06-11T17:29:00Z"
}
}