WaratekVRT Sign in

CVE-2017-12621 Apache Commons Jelly

Affected softwareApache Commons Jelly
Severity9.8 Critical CVSS 3.1 2 scores
Fixed in1.0.1
WeaknessXML external entity (XXE) (CWE-611)
Published28 Sep 2017
Updated17 Jun 2026

Description

During Jelly (xml) file parsing with Apache Xerces, if a custom doctype entity is declared with a "SYSTEM" entity with a URL and that entity is used in the body of the Jelly file, during parser instantiation the parser will attempt to connect to said URL. This could lead to XML External Entity (XXE) attacks in Apache Commons Jelly before 1.0.1.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 9 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 8.1% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full XXE
  • Action available security rule
  • Review automated Inferred
  • Record active
Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR xxe security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-611: XML External Entity Reference.

How to mitigate CVE-2017-12621

Upgrade Apache Commons Jelly to 1.0.1 or later. Until you can, Waratek RASP blocks exploitation with its XXE rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

9.8 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 2.0 7.5 none AV:N/AC:L/Au:N/C:P/I:P/A:P NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
commons-jelly:commons-jelly 0 1.0.1 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
nvd apache commons jelly generic < 1.0.1
osv commons-jelly commons-jelly generic < 1.0.1

References

URLTags
https://github.com/apache/commons-jelly PACKAGE
https://issues.apache.org/jira/browse/JELLY-293 WEB
https://lists.apache.org/thread.html/f1fc3f2c45264af44ce782d54b5908ac95f02bf7ad88bb57bfb04b73@%3Cdev.commons.apache.org%3E WEB
https://web.archive.org/web/20200227144849/http://www.securityfocus.com/bid/101052 WEB
https://web.archive.org/web/20210303081618/http://www.securitytracker.com/id/1039444 WEB
http://www.securityfocus.com/bid/101052 Third Party Advisory, VDB Entry
http://www.securitytracker.com/id/1039444 Third Party Advisory, VDB Entry
https://lists.apache.org/thread.html/f1fc3f2c45264af44ce782d54b5908ac95f02bf7ad88bb57bfb04b73%40%3Cdev.commons.apache.org%3E

Timeline

Published2017-09-28By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.