Skip to content
OpenAdvisories

Description

Apache CXF stores large stream based messages as temporary files on the local filesystem. A bug was introduced which means that the entire temporary file is read into memory and then logged. An attacker might be able to exploit this to cause a denial of service attack by causing an out of memory exception. In addition, it is possible to configure CXF to encrypt temporary files to prevent sensitive credentials from being cached unencrypted on the local filesystem, however this bug means that the cached files are written out to logs unencrypted.

Users are recommended to upgrade to versions 3.5.11, 3.6.6, 4.0.7 or 4.1.1, which fixes this issue.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache CXF 3.5.10 – < 3.5.11, 3.6.5 – < 3.6.6, 4.0.6 – < 4.0.7, 4.1.0 – < 4.1.1 3.5.11

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.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling apache-tika-3.1 +1 3.1.0-r7 —
Wolfi rolling apache-tika-3.2 +1 3.2.1-r3 —
Wolfi rolling wildfly +4 36.0.1-r7 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.cxf:cxf-core < 3.5.11 3.5.11 GHSA-36wv-v2qp-v4g4
Maven org.apache.cxf:cxf-core >= 3.6.0, < 3.6.6 3.6.6 GHSA-36wv-v2qp-v4g4
Maven org.apache.cxf:cxf-core >= 4.0.0, < 4.0.7 4.0.7 GHSA-36wv-v2qp-v4g4
Maven org.apache.cxf:cxf-core >= 4.1.0, < 4.1.1 4.1.1 GHSA-36wv-v2qp-v4g4

Advisories 11

References