org.apache.wss4j:wss4j-ws-security-policy-stax@3.0.5

  • latest version

    4.0.2

  • latest non vulnerable version

  • first published

    13 years ago

  • latest version published

    1 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.apache.wss4j:wss4j-ws-security-policy-stax package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Improper Verification of Cryptographic Signature

    Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature via XPath conversion in PolicyUtils and matching in SignedElementsAssertionState and related element assertion states in the StAX WS-SecurityPolicy validator. A remote SOAP peer can send a message containing an element covered by a relative or unsupported XPath expression; because the validator can convert the expression into a path that does not match the observed XML path, it may accept the message without enforcing the element’s required signature or encryption. This skips the policy check.

    How to fix Improper Verification of Cryptographic Signature?

    Upgrade org.apache.wss4j:wss4j-ws-security-policy-stax to version 2.4.4, 3.0.6, 4.0.2 or higher.

    [,2.4.4)[3.0.0,3.0.6)[4.0.0,4.0.2)