Description
XML-Sig versions 0.27 through 0.67 for Perl incorrectly validates XML files if signatures are omitted.
An attacker can remove the signature from the XML document to make it pass the verification check.
XML-Sig is a Perl module to validate signatures on XML files. An unsigned XML file should return an error message. The affected versions return true when attempting to validate an XML file that contains no signatures.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| TIMLEGGE | XML::Sig | 0.27 – < 0.68 | 0.68 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | perl-xml-sig | 0.68-r0 | — |
| Alpine v3.23 | perl-xml-sig | 0.68-r0 | — |
| Alpine v3.22 | perl-xml-sig | 0.68-r0 | — |