CVE-2017-12624: Improper Input Validation in Apache CXF

org.apache.cxf:cxf-core Updated 02 Oct 2025

Summary

13/05/2022
Yes i
Moderate
5.5

CVE-2017-12624: Improper Input Validation in Apache CXF. Affects org.apache.cxf:cxf-core across 3 version ranges.

< 3.0.16 >= 3.1.0, < 3.1.14 >= 3.2.0, < 3.2.1

Fixed in 3.0.16, 3.1.14 or 3.2.1, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Apache CXF is a popular open-source framework for building web services using Java. It supports sending and receiving attachments via the JAX-WS and JAX-RS specifications. This vulnerability affects both JAX-WS and JAX-RS services in Apache CXF. The vulnerability allows an attacker to craft a message attachment header that could lead to a Denial of Service (DoS) attack on a CXF web service provider. The issue was first identified in Apache CXF version 3.2.0 and was fixed in version 3.2.1. The vulnerability is rated as moderate in severity with a CVSS score of 5.5.

Vulnerability Detail

The vulnerability arises from improper input validation of message attachment headers in Apache CXF. An attacker can exploit this by crafting a malicious message attachment header that exceeds 300 characters. When the vulnerable CXF web service provider receives such a message, it may consume excessive resources and become unresponsive, leading to a DoS condition. The impact of this vulnerability is limited to the availability of the affected web service. The vulnerability has been assigned the identifier CVE-2017-12624.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 3.0.16 3.0.16
  • >= 3.1.0, < 3.1.14 3.1.14
  • >= 3.2.0, < 3.2.1 3.2.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is recommended to apply the fix by upgrading to a patched version of Apache CXF.

Conclusion

The vulnerability in Apache CXF allows for a Denial of Service (DoS) attack on web service providers. It is recommended to upgrade to Apache CXF version 3.2.1 or later to mitigate this vulnerability. No known workarounds exist. For further assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.cxf:cxf-core →

Share this vulnerability

FAQ

Apache CXF is an open-source framework for building web services using Java. It provides support for various web service standards and protocols.

JAX-WS (Java API for XML Web Services) is a Java API for creating and consuming SOAP-based web services.

JAX-RS (Java API for RESTful Web Services) is a Java API for creating and consuming RESTful web services.

A Denial of Service (DoS) attack is an attempt to make a computer or network resource unavailable to its intended users by overwhelming it with a flood of illegitimate requests or excessive resource consumption.

This vulnerability is rated as moderate in severity with a CVSS score of 5.5.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.cxf:cxf-core.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 3.0.16 3.0.16
  • >= 3.1.0, < 3.1.14 3.1.14
  • >= 3.2.0, < 3.2.1 3.2.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback