CVE-2022-29161 json
Crypto script service uses hashing algorithm SHA1 with RSA for certificate signature in xwiki-platform
published 2022-05-05 4 y ago modified 2026-06-17 4 mo ago also GHSA-h8v5-p258-pqf4 , EUVD-2022-4111
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 35%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.xwiki.platform:xwiki-platform-crypto 13.10.6, 14.3.1
- xwiki xwiki 13.10.6, 14.3.1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.41% chance of exploitation in the next 30 days, higher than 35% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.xwiki.platform:xwiki-platform-crypto | <13.10.6 >=14.0.0, <14.3.1 |
13.10.6 14.3.1 |
Affected products
- xwiki xwiki-platform
Classification
References
-
github.com
/xwiki/xwiki-platform/commit/26728f3f23658288683667a5182a916c7ecefc52
web, patch, third-party-advisory
-
jira.xwiki.org
/browse/XWIKI-19676
web, vendor-advisory
-
github.com
/xwiki/xwiki-platform/security/advisories/GHSA-h8v5-p258-pqf4
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-29161
advisory
-
github.com
/xwiki/xwiki-platform
package
Sources
- CVE List CVE-2022-29161
- GitHub Advisory GHSA-h8v5-p258-pqf4
- NVD CVE-2022-29161
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.