Description
A weakness has been identified in xlnt-community xlnt up to 1.6.1. Impacted is the function xlnt::detail::decode_base64 of the file source/detail/cryptography/base64.cpp of the component Encrypted XLSX File Parser. Executing a manipulation can lead to off-by-one. The attack requires local access. The exploit has been made available to the public and could be used for attacks. This patch is called f2d7bf494e5c52706843cf7eb9892821bffb0734. Applying a patch is advised to resolve this issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| xlnt-community | xlnt | 1.6.0, 1.6.1 | — |
References
- VDB-346649 | xlnt-community xlnt Encrypted XLSX File base64.cpp decode_base64 off-by-one vdb-entry technical-description
- VDB-346649 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- Submit #754377 | xlnt-community xlnt 5606f5b Heap-based Buffer Overflow third-party-advisory
- https://github.com/xlnt-community/xlnt/issues/137 issue-tracking
- https://github.com/oneafter/0128/blob/main/xl1/repro exploit
- https://github.com/xlnt-community/xlnt/commit/f2d7bf494e5c52706843cf7eb9892821bffb0734 patch
- https://github.com/xlnt-community/xlnt/ product