Skip to content
OpenAdvisories
Critical · 9.8 CVE-2017-12621 EUVD-2022-2787GHSA-6g33-82gc-3pw5

Improper Restriction of XML External Entity Reference in Jelly

Published Sep 27, 2017 · Updated Sep 16, 2024 · Assigned by apache

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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Commons Jelly 1.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS jenkins-commons-jelly No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven commons-jelly:commons-jelly < 1.0.1 1.0.1 GHSA-6g33-82gc-3pw5

References