Description
xml-security is a library that implements XML signatures and encryption. Prior to versions 2.3.1 and 1.13.9, XML nodes encrypted with either aes-128-gcm, aes-192-gcm, or aes-256-gcm lack validation of the authentication tag length. An attacker can use this to brute-force an authentication tag, recover the GHASH key, and decrypt the encrypted nodes. It also allows to forge arbitrary ciphertexts without knowing the encryption key. This vulnerability is fixed in 2.3.1 and 1.13.9.
Problem types
CWE-354: Improper Validation of Integrity Check Value
Product status
< 1.13.9
References
github.com/...curity/security/advisories/GHSA-r353-4845-pr5p
github.com/...ommit/cad6d57cf0a5a0b7e0cc4e4a5b18752e56eb1520
github.com/...ommit/fdc12449e959c610943f9fd428e95e3832d74c25