VDB
KO
CRITICAL 9.8

GHSA-g5v7-jchf-7jrr

Apache CXF OAuth2 has Inverted IP Binding Check that Defeats Security Control

Quick fix

GHSA-g5v7-jchf-7jrr — org.apache.cxf:cxf-rt-rs-security-oauth2: upgrade to the fixed version with the command below.

# pom.xml: bump <version>4.2.2</version> for org.apache.cxf:cxf-rt-rs-security-oauth2

Details

A logic error in OAuthRequestFilter rejects legitimate requests originating from the bound IP address, while blindly allowing requests from any other IP address. Enabling this

security feature inadvertently creates an inverse security check. Users are recommended to upgrade to versions 4.2.2 or 4.1.7, which fixes this issue.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven / org.apache.cxf:cxf-rt-rs-security-oauth2
Introduced in: 4.2.0 Fixed in: 4.2.2
Fix # pom.xml: bump <version>4.2.2</version> for org.apache.cxf:cxf-rt-rs-security-oauth2
Maven / org.apache.cxf:cxf-rt-rs-security-oauth2
Introduced in: 0 Fixed in: 4.1.7
Fix # pom.xml: bump <version>4.1.7</version> for org.apache.cxf:cxf-rt-rs-security-oauth2

References