Vulnerability · Published May 5, 2022 · Assigned by GitHub_M

CVE-2022-29161Crypto script service uses hashing algorithm SHA1 with RSA for certificate signature in xwiki-platform

Medium 5.4

In plain English

A medium-severity broken cryptography in xwiki-platform from xwiki. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.4%top 64.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. The XWiki Crypto API will generate X509 certificates signed by default using SHA1 with RSA, which is not considered safe anymore for use in certificate signatures, due to the risk of collisions with SHA1. The problem has been patched in XWiki version 13.10.6, 14.3.1 and 14.4-rc-1. Since then, the Crypto API will generate X509 certificates signed by default using SHA256 with RSA. Administrators are advised to upgrade their XWiki installation to one of the patched versions. If the upgrade is not possible, it is possible to patch the module xwiki-platform-crypto in a local installation by applying the change exposed in 26728f3 and re-compiling the module.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.xwiki.platform:xwiki-platform-crypto13.10.6GHSA-h8v5-p258-pqf4
Mavenorg.xwiki.platform:xwiki-platform-crypto14.3.1GHSA-h8v5-p258-pqf4

Affected products (as reported)

VendorProductVersions
xwiki xwiki-platform < 13.10.6>= 14.0.0, < 14.3.1>= 14.4.0, < 14.4-rc-1

Weakness: CWE-327 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N

References