[ 
https://issues.apache.org/jira/browse/CAMEL-27775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-27775:
--------------------------------
    Fix Version/s: 4.25.0

> camel-xmlsecurity: Enforce configured xmlCipherAlgorithm during unmarshalling
> -----------------------------------------------------------------------------
>
>                 Key: CAMEL-27775
>                 URL: https://issues.apache.org/jira/browse/CAMEL-27775
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-xmlsecurity
>            Reporter: Andrea Cosentino
>            Assignee: Andrea Cosentino
>            Priority: Major
>             Fix For: 4.25.0
>
>
> XMLSecurityDataFormat currently initializes XMLCipher.getInstance() without 
> checking the incoming EncryptedData EncryptionMethod algorithm against the 
> configured xmlCipherAlgorithm (which defaults to AES_256_GCM).
> Update XMLSecurityDataFormat so that when an AEAD/GCM xmlCipherAlgorithm is 
> configured, unmarshalling rejects non-AEAD data encryption algorithms (such 
> as CBC or 3DES) unless a non-GCM algorithm is explicitly configured, 
> consistent with how keyCipherAlgorithm already restricts RSA_v1dot5.
> Update affected tests in EncryptionAlgorithmTest and add a migration note to 
> the upgrade guide.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to