{"id":"CVE-2014-3584","aliases":["EUVD-2022-4022","GHSA-gw5j-77f9-v2g2","MGASA-2014-0557"],"status":"published","title":"Loop with Unreachable Exit Condition in Apache CXF","description":"The SamlHeaderInHandler in Apache CXF before 2.6.11, 2.7.x before 2.7.8, and 3.0.x before 3.0.1 allows remote attackers to cause a denial of service (infinite loop) via a crafted SAML token in the authorization header of a request to a JAX-RS service.","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.07177,"percentile":0.94332,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-399","CWE-835"],"published":"2014-10-30T14:00:00Z","modified":"2026-06-17T00:08:34Z","fixes":[{"ecosystem":"Maven","package":"org.apache.cxf:cxf-rt-frontend-jaxrs","fixed_in":["2.7.8","3.0.1","2.6.11"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.cxf:cxf-rt-frontend-jaxrs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.0"},{"fixed":"2.7.8"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.apache.cxf:cxf-rt-frontend-jaxrs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.0.1"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.apache.cxf:cxf-rt-frontend-jaxrs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.0"},{"fixed":"2.6.11"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.apache.cxf:cxf-rt-frontend-jaxrs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.0"},{"fixed":"2.6.11"}]}],"versions":["2.5.0","2.5.1","2.5.10","2.5.11","2.5.2","2.5.3","2.5.4","2.5.5","2.5.6","2.5.7","2.5.8","2.5.9","2.6.0","2.6.1","2.6.10","2.6.2","2.6.3","2.6.4","2.6.5","2.6.6","2.6.7","2.6.8","2.6.9"]},{"source":"osv","ecosystem":"Maven","package":"org.apache.cxf:cxf-rt-frontend-jaxrs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.0"},{"fixed":"2.7.8"}]}],"versions":["2.7.0","2.7.1","2.7.2","2.7.3","2.7.4","2.7.5","2.7.6","2.7.7"]},{"source":"osv","ecosystem":"Maven","package":"org.apache.cxf:cxf-rt-frontend-jaxrs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.0.1"}]}],"versions":["3.0.0"]},{"source":"osv","ecosystem":"Mageia:4","package":"cxf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.5-3.1.mga4"}]}],"bundled":2}],"products":[{"vendor":"apache","product":"cxf"}],"references":[{"url":"http://seclists.org/oss-sec/2014/q4/437","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://secunia.com/advisories/61909","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.securityfocus.com/bid/70738","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/97753","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://cxf.apache.org/security-advisories.data/CVE-2014-3584.txt.asc","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","web","advisory"]},{"url":"https://lists.apache.org/thread.html/rc774278135816e7afc943dc9fc78eb0764f2c84a2b96470a0187315c%40%3Ccommits.cxf.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.apache.org/thread.html/r36e44ffc1a9b365327df62cdfaabe85b9a5637de102cea07d79b2dbf%40%3Ccommits.cxf.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.apache.org/thread.html/rff42cfa5e7d75b7c1af0e37589140a8f1999e578a75738740b244bd4%40%3Ccommits.cxf.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.apache.org/thread.html/rd49aabd984ed540c8ff7916d4d79405f3fa311d2fdbcf9ed307839a6%40%3Ccommits.cxf.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.apache.org/thread.html/rec7160382badd3ef4ad017a22f64a266c7188b9ba71394f0d321e2d4%40%3Ccommits.cxf.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.apache.org/thread.html/rfb87e0bf3995e7d560afeed750fac9329ff5f1ad49da365129b7f89e%40%3Ccommits.cxf.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-3584","tags":["advisory"]},{"url":"https://lists.apache.org/thread.html/r36e44ffc1a9b365327df62cdfaabe85b9a5637de102cea07d79b2dbf@%3Ccommits.cxf.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/rc774278135816e7afc943dc9fc78eb0764f2c84a2b96470a0187315c@%3Ccommits.cxf.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/rd49aabd984ed540c8ff7916d4d79405f3fa311d2fdbcf9ed307839a6@%3Ccommits.cxf.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/rec7160382badd3ef4ad017a22f64a266c7188b9ba71394f0d321e2d4@%3Ccommits.cxf.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/rfb87e0bf3995e7d560afeed750fac9329ff5f1ad49da365129b7f89e@%3Ccommits.cxf.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/rff42cfa5e7d75b7c1af0e37589140a8f1999e578a75738740b244bd4@%3Ccommits.cxf.apache.org%3E","tags":["web"]},{"url":"https://github.com/apache/cxf/commit/0b3894f57388b9955f2c33b2295223f2835cd7b3","tags":["web"]},{"url":"https://github.com/apache/cxf/commit/47b127dbdb4a10d282be92f2ebbe646f8cf6b03e","tags":["web"]},{"url":"https://issues.apache.org/jira/browse/CXF-5390","tags":["web"]},{"url":"https://github.com/advisories/GHSA-gw5j-77f9-v2g2"},{"url":"https://github.com/apache/cxf","tags":["web"]},{"url":"https://advisories.mageia.org/MGASA-2014-0557.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=14363","tags":["report"]},{"url":"http://cxf.apache.org/security-advisories.data/CVE-2014-3577.txt.asc","tags":["advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1157330","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1129074","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2014-3584","description":"The SamlHeaderInHandler in Apache CXF before 2.6.11, 2.7.x before 2.7.8, and 3.0.x before 3.0.1 allows remote attackers to cause a denial of service (infinite loop) via a crafted SAML token in the authorization header of a request to a JAX-RS service.","status":"published","published":"2014-10-30T14:00:00Z","modified":"2024-08-06T10:50:17.625Z","updated_at":"2026-11-02T14:33:44.23164Z"}],"euvd":[{"id":"EUVD-2022-4022","description":"The SamlHeaderInHandler in Apache CXF before 2.6.11, 2.7.x before 2.7.8, and 3.0.x before 3.0.1 allows remote attackers to cause a denial of service (infinite loop) via a crafted SAML token in the authorization header of a request to a JAX-RS service.","status":"published","published":"2014-10-30T14:00:00Z","modified":"2024-08-06T10:50:17Z","updated_at":"2026-11-03T01:57:09.905604Z"}],"ghsa":[{"id":"GHSA-gw5j-77f9-v2g2","title":"Loop with Unreachable Exit Condition in Apache CXF","description":"The SamlHeaderInHandler in Apache CXF before 2.6.11, 2.7.x before 2.7.8, and 3.0.x before 3.0.1 allows remote attackers to cause a denial of service (infinite loop) via a crafted SAML token in the authorization header of a request to a JAX-RS service.","status":"published","published":"2022-05-13T01:09:20Z","modified":"2024-05-15T06:57:55Z","cwes":["CWE-835"],"updated_at":"2026-11-02T14:37:49.48194Z"}],"nvd":[{"id":"CVE-2014-3584","description":"The SamlHeaderInHandler in Apache CXF before 2.6.11, 2.7.x before 2.7.8, and 3.0.x before 3.0.1 allows remote attackers to cause a denial of service (infinite loop) via a crafted SAML token in the authorization header of a request to a JAX-RS service.","status":"published","published":"2014-10-30T14:55:07.66Z","modified":"2026-06-17T00:08:34.09Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-399"],"updated_at":"2026-11-02T14:02:56.921017Z"}],"osv":[{"id":"GHSA-gw5j-77f9-v2g2","title":"Loop with Unreachable Exit Condition in Apache CXF","description":"The SamlHeaderInHandler in Apache CXF before 2.6.11, 2.7.x before 2.7.8, and 3.0.x before 3.0.1 allows remote attackers to cause a denial of service (infinite loop) via a crafted SAML token in the authorization header of a request to a JAX-RS service.","status":"published","published":"2022-05-13T01:09:20Z","modified":"2024-11-29T05:31:51.730097Z","cwes":["CWE-835"],"updated_at":"2026-11-02T15:46:48.191583Z"},{"id":"MGASA-2014-0557","title":"Updated cxf packages fix security vulnerabilities","description":"Updated cxf packages fix security vulnerabilities:\n\nAn Apache CXF JAX-RS service can process SAML tokens received in the\nauthorization header of a request via the SamlHeaderInHandler. However it is\npossible to cause an infinite loop in the parsing of this header by passing \ncertain bad values for the header, leading to a Denial of Service attack on\nthe service (CVE-2014-3584).\n\nApache CXF is vulnerable to a possible SSL hostname verification bypass, due\nto a flaw in comparing the server hostname to the domain name in the Subject's\nDN field. A Man In The Middle attack can exploit this vulnerability by using\na specially crafted Subject DN to spoof a valid certificate (CVE-2014-3577).\n","status":"published","published":"2014-12-31T12:28:04Z","modified":"2026-04-16T06:24:24.85545314Z","updated_at":"2026-11-02T15:49:39.488462Z"}]}}
