An improper input validation of the p2c parameter in the Apache CXF JOSE code before 4.0.5, 3.6.4 and 3.5.9 allows an attacker to perform a denial of service attack by specifying a large value for this parameter in a token.
Summary
AIApache CXF JOSE code does not properly validate the p2c parameter in a token. An attacker can cause a denial of service by supplying a token with a large p2c value; the input does not specify whether authentication, network access, or user interaction is required.
Who should check
Teams using Maven package org.apache.cxf:cxf-rt-rs-security-jose in versions before 3.5.9, from 3.6.0 to before 3.6.4, or from 4.0.0 to before 4.0.5 should check their deployments.
What to do
- 1Upgrade org.apache.cxf:cxf-rt-rs-security-jose to 4.0.5, 3.6.4, or 3.5.9, as appropriate for your release line.