Security advisory
Apache CXF supports sending and receiving attachments via either the JAX-WS or JAX-RS specifications. It is possible to craft a message attachment header that could lead to a Denial of Service (DoS) attack on a CXF web service provider. Both JAX-WS and JAX-RS services are vulnerable to this attack. From Apache CXF 3.2.1 and 3.1.14, message attachment headers that are greater than 300 characters will be rejected by default. This value is configurable via the property "attachment-max-header-size".
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-12624
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 05:43 UTC · Revision 1
Source evidence
Apache CXF supports sending and receiving attachments via either the JAX-WS or JAX-RS specifications. It is possible to craft a message attachment header that could lead to a Denial of Service (DoS) attack on a CXF web service provider. Both JAX-WS and JAX-RS services are vulnerable to this attack. From Apache CXF 3.2.1 and 3.1.14, message attachment headers that are greater than 300 characters will be rejected by default. This value is configurable via the property "attachment-max-header-size".
osv:CVE-2017-12624
Complete source record
{
"id": "a4af634e262a99240918d6673319fffc8f317ef90d4fc9ed4f06841709a26be6",
"url": "https://osv.dev/vulnerability/CVE-2017-12624",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-12624",
"summary": "Apache CXF supports sending and receiving attachments via either the JAX-WS or JAX-RS specifications. It is possible to craft a message attachment header that could lead to a Denial of Service (DoS) attack on a CXF web service provider. Both JAX-WS and JAX-RS services are vulnerable to this attack. From Apache CXF 3.2.1 and 3.1.14, message attachment headers that are greater than 300 characters will be rejected by default. This value is configurable via the property \"attachment-max-header-size\".",
"evidence": "osv:CVE-2017-12624",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2017-12624",
"aliases": [
"CVE-2017-12624",
"GHSA-7vgj-8mw4-hg8r"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/cxf",
"type": "GIT",
"events": [
{
"introduced": "fd92c807e8773c363df37cfaf946971f5bac763b"
},
{
"fixed": "0d845b9519423abd31e8d13c33c68a4800dd5d40"
},
{
"introduced": "a04a1e06f7fffc5f145e33c6832f31b04782516b"
},
{
"fixed": "4b7b2c7c5b8a82c022042ace73905807e5134b07"
},
{
"introduced": "f5ee3b786e22a081121eeebbba6d02fa9f4e7206"
},
{
"fixed": "dc2d22e374cb6adaabe0a963b73ca3d5c119f185"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.0.0"
},
{
"fixed": "3.0.16"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.1.0"
},
{
"fixed": "3.1.14"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.2.0"
},
{
"fixed": "3.2.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"cxf-3.2.0",
"cxf-3.1.13",
"cxf-3.0.15",
"cxf-3.0.14",
"cxf-3.1.12",
"cxf-3.1.11",
"cxf-3.0.13",
"cxf-3.1.10",
"cxf-3.1.9",
"cxf-3.0.12",
"cxf-3.1.8",
"cxf-3.0.11",
"cxf-3.1.7",
"cxf-3.0.10",
"cxf-3.0.9",
"cxf-3.1.6",
"cxf-3.0.8",
"cxf-3.1.5",
"cxf-3.1.4",
"cxf-3.0.7",
"cxf-3.1.3",
"cxf-3.1.2",
"cxf-3.0.6",
"cxf-3.1.1",
"cxf-3.1.0",
"cxf-3.0.5",
"cxf-3.0.4",
"cxf-3.0.3",
"cxf-3.0.2",
"cxf-3.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-12624.json"
}
}
],
"modified": "2026-10-24T10:30:32.954601669Z",
"provider": "osv",
"references": [
"https://lists.apache.org/thread.html/r36e44ffc1a9b365327df62cdfaabe85b9a5637de102cea07d79b2dbf%40%3Ccommits.cxf.apache.org%3E",
"https://lists.apache.org/thread.html/rc774278135816e7afc943dc9fc78eb0764f2c84a2b96470a0187315c%40%3Ccommits.cxf.apache.org%3E",
"https://lists.apache.org/thread.html/rd49aabd984ed540c8ff7916d4d79405f3fa311d2fdbcf9ed307839a6%40%3Ccommits.cxf.apache.org%3E",
"https://lists.apache.org/thread.html/rec7160382badd3ef4ad017a22f64a266c7188b9ba71394f0d321e2d4%40%3Ccommits.cxf.apache.org%3E",
"https://lists.apache.org/thread.html/rfb87e0bf3995e7d560afeed750fac9329ff5f1ad49da365129b7f89e%40%3Ccommits.cxf.apache.org%3E",
"https://lists.apache.org/thread.html/rff42cfa5e7d75b7c1af0e37589140a8f1999e578a75738740b244bd4%40%3Ccommits.cxf.apache.org%3E",
"https://access.redhat.com/errata/RHSA-2018:2423",
"https://access.redhat.com/errata/RHSA-2018:2424",
"https://access.redhat.com/errata/RHSA-2018:2425",
"https://access.redhat.com/errata/RHSA-2018:2428"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-12624",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 433143,
"published_at": "2017-11-14T16:29:00.203+00:00"
}