CVE-2021-40399 (https://security.wps.cn/notices/28): An exploitable use-after-free vulnerability exists in WPS Spreadsheets ( ET ) as part of WPS Office, version 11.2.0.10351. A specially-crafted XLS file can cause a use-after-free condition, resulting in remote code execution. An attacker needs to provide a malformed file to the victim to trigger the vulnerability. Advisory seems to be in Chinese, so not sure about fixed versions.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab72d48cebe15dc25e159fd94888fae818dc08b5 commit ab72d48cebe15dc25e159fd94888fae818dc08b5 Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2022-05-15 18:38:33 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2022-05-15 18:38:33 +0000 app-office/wps-office: add 11.1.0.10976 Bug: https://bugs.gentoo.org/844067 Signed-off-by: Pacho Ramos <pacho@gentoo.org> app-office/wps-office/Manifest | 1 + .../wps-office/wps-office-11.1.0.10976.ebuild | 94 ++++++++++++++++++++++ 2 files changed, 95 insertions(+)
I am unsure if that version contains the fixes for this... but it is the latest available for now
(In reply to Pacho Ramos from comment #2) > I am unsure if that version contains the fixes for this... but it is the > latest available for now I've asked their CNA contact email about fixed versions. The advisory is in Chinese, and it's an image, so it can't be pasted into a translator.
"I asked a Chinese speaker in our organization and they said the advisory says the following: WPS Office 2019 International Version, Windows, Up to 11.2.0. 11074 (Not inclusive) WPS Office 2019 Individual Version, Windows, Up to 11.1.0 11691 (Not inclusive) WPS Office 2019 Enterprise Version, Windows, Up to 11.8.2 11542 (Not inclusive)" So, it would seem that only Windows is affected, but I'm not sure I really trust that. Not only that, but the latest version available at the time of the advisory is less than the fixed version according to the advisory?
I think versions are different because linux and windows versions are not synced. Personally I would opt for trusting it I am also going to bump to a newer version, but I couldn't find any reference to this in its changelog https://www.wps.com/whatsnew/linux/
Bumping down to ~ as there was never a stable version in tree.