CVE-2018-1330: Mesos Crash When Decoding Malformed HTTP Vulnerability
HIGHCVE-2018-1330 is a HIGH (CVSS 7.5) crash when decoding malformed http vulnerability (CWE-248: Uncaught Exception) affecting Mesos libraries in the Maven ecosystem. The issue involves crash when decoding malformed http requests or malformed json payload. Remediation is available by upgrading affected packages to version 1.6.0.
CVE-2018-1330 at a Glance
Security Impact
CVSS: 7.5
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:N/I:N/A:H).
How to Fix CVE-2018-1330
To remediate this vulnerability, upgrade all affected Mesos 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.apache.mesos</groupId>
<artifactId>mesos</artifactId>
<version>1.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.apache.mesos
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2018-1330, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.mesos
Analyze the terminal output to locate any version of Mesos in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.6.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.mesos 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-248: Uncaught Exception, where an exception is thrown from a function, but it is not caught. In Mesos, 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-2018-1330 Affected Mesos Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.mesos:mesos
|
Maven |
≥ 1.4.0
< 1.6.0
|
1.6.0
|
References
Frequently Asked Questions
What is CVE-2018-1330?
Which Mesos versions are affected?
What version fixes CVE-2018-1330?
Is mesos affected?
What is the CVSS score of CVE-2018-1330?
What CWE is associated with CVE-2018-1330?
How can I check Maven dependencies for CVE-2018-1330?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-95q3-pppp-r683",
"modified" : "2022-11-01T22:33:40Z",
"published" : "2022-05-14T01:38:24Z",
"aliases" : [ "CVE-2018-1330" ],
"summary" : "Crash when decoding malformed HTTP requests or malformed JSON payload",
"details" : "When parsing a malformed JSON payload, libprocess in Apache Mesos versions 1.4.0 to 1.5.0 might crash due to an uncaught exception. Parsing chunked HTTP requests with trailers can lead to a libprocess crash too because of the mistakenly planted assertion. A malicious actor can therefore cause a denial of service of Mesos masters rendering the Mesos-controlled cluster inoperable.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.mesos:mesos"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.4.0"
}, {
"fixed" : "1.6.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-1330"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/395cb6bcf367702acd1e580a1f39b56cdd7a5953d0368b4c1adb1dde@<dev.mesos.apache.org>"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-248" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-11-01T22:33:40Z",
"nvd_published_at" : "2018-09-13T19:29:00Z"
}
}