Vulnerabilities in pkg:maven/org.quartz-scheduler/quartz
PACKAGECVE-2019-13990 is a CRITICAL (CVSS 9.8) xml external entity injection vulnerability (CWE-611: Improper Restriction of XML External Entity Reference) affecting Quartz libraries in the Maven ecosystem. The issue involves xml external entity injection in terracotta quartz scheduler. Remediation is available by upgrading affected packages to version 2.3.2.
pkg:maven/org.quartz-scheduler/quartz
Vulnerability advisories affecting package pkg:maven/org.quartz-scheduler/quartz. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-9qcf-c26r-x5rf | CVE-2019-13990 | CRITICAL | XML external entity injection in Terracotta Quartz Scheduler |
CVE-2019-13990 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.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2019-13990
To remediate this vulnerability, upgrade all affected Quartz 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.quartz-scheduler</groupId>
<artifactId>quartz</artifactId>
<version>2.3.2</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.quartz-scheduler
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2019-13990, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.quartz-scheduler
Analyze the terminal output to locate any version of Quartz in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.3.2), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.quartz-scheduler 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-611: Improper Restriction of XML External Entity Reference, where the product processes an xml document that can contain xml entities with uris that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output. In Quartz, 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-2019-13990 Affected Quartz Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.quartz-scheduler:quartz
|
Maven |
< 2.3.2
|
2.3.2
|
References
Frequently Asked Questions
What is CVE-2019-13990?
Which Quartz versions are affected?
What version fixes CVE-2019-13990?
Is quartz affected?
What is the CVSS score of CVE-2019-13990?
What CWE is associated with CVE-2019-13990?
How can I check Maven dependencies for CVE-2019-13990?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9qcf-c26r-x5rf",
"modified" : "2024-10-15T23:33:04Z",
"published" : "2020-07-01T17:55:03Z",
"aliases" : [ "CVE-2019-13990" ],
"summary" : "XML external entity injection in Terracotta Quartz Scheduler",
"details" : "initDocumentParser in xml/XMLSchedulingDataProcessor.java in Terracotta Quartz Scheduler through 2.3.0 allows XXE attacks via a job description.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.quartz-scheduler:quartz"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.3.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-13990"
}, {
"type" : "WEB",
"url" : "https://github.com/quartz-scheduler/quartz/issues/467"
}, {
"type" : "WEB",
"url" : "https://github.com/quartz-scheduler/quartz/pull/501"
}, {
"type" : "WEB",
"url" : "https://github.com/quartz-scheduler/quartz/commit/13c1d45aa1db15d0fa0e4997139c99ba219be551"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r21df13c8bd2c2eae4b9661aae814c4a2a814d1f7875c765b8b115c9a@%3Ccommits.tomee.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r3a6884e8d819f32cde8c07b98934de3e80467859880f784950bf44cf%40%3Ccommits.tomee.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r3a6884e8d819f32cde8c07b98934de3e80467859880f784950bf44cf@%3Ccommits.tomee.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/re9b56ac1934d7bf16afc83eac1c39c98c1b20b4b15891dce923bf8aa%40%3Ccommits.tomee.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/re9b56ac1934d7bf16afc83eac1c39c98c1b20b4b15891dce923bf8aa@%3Ccommits.tomee.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20221028-0002"
}, {
"type" : "WEB",
"url" : "https://snyk.io/vuln/SNYK-JAVA-ORGQUARTZSCHEDULER-461170"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com//security-alerts/cpujul2021.html"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com/security-alerts/cpuapr2020.html"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com/security-alerts/cpujan2021.html"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com/security-alerts/cpujul2020.html"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com/security-alerts/cpuoct2020.html"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com/security-alerts/cpuoct2021.html"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r21df13c8bd2c2eae4b9661aae814c4a2a814d1f7875c765b8b115c9a%40%3Ccommits.tomee.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/f74b170d3d58d7a24db1afd3908bb0ab58a3900e16e73275674cdfaf@%3Ccommits.tomee.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/f74b170d3d58d7a24db1afd3908bb0ab58a3900e16e73275674cdfaf%40%3Ccommits.tomee.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/e493e718a50f21201e05e82d42a8796b4046e83f0d286b90e58e0629@%3Cdev.tomee.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/e493e718a50f21201e05e82d42a8796b4046e83f0d286b90e58e0629%40%3Cdev.tomee.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/6b6e3480b19856365fb5eef03aa0915a4679de4b019a1e975502d949@%3Cdev.tomee.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/6b6e3480b19856365fb5eef03aa0915a4679de4b019a1e975502d949%40%3Cdev.tomee.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/1870324fea41ea68cff2fd1bf6ee2747432dc1d9d22a22cc681e0ec3@%3Cdev.tomee.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/1870324fea41ea68cff2fd1bf6ee2747432dc1d9d22a22cc681e0ec3%40%3Cdev.tomee.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/172d405e556e2f1204be126bb3eb28c5115af91bcc1651b4e870bb82@%3Cdev.tomee.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/172d405e556e2f1204be126bb3eb28c5115af91bcc1651b4e870bb82%40%3Cdev.tomee.apache.org%3E"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/quartz-scheduler/quartz"
}, {
"type" : "WEB",
"url" : "https://confluence.atlassian.com/security/ssot-117-cve-2019-13990-xxe-xml-external-entity-injection-vulnerability-in-jira-service-management-data-center-and-jira-service-management-server-1295385959.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-611" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2020-07-01T17:54:54Z",
"nvd_published_at" : "2019-07-26T19:15:00Z"
}
}