7.5high
Use of a Broken or Risky Cryptographic Algorithm in packbackbooks/lti-1-3-php-library
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.46% (higher than 41% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-768m-5w34-2xf5
Description
LTI 1.3 Tool Library is a library used for building IMS-certified LTI 1.3 tool providers in PHP. Prior to version 5.0, the function used to generate random nonces was not sufficiently cryptographically complex. Users should upgrade to version 5.0 to receive a patch. There are currently no known workarounds.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| packbackbooks lti-1-3-php-library | < 5.0 | CVE List |
| packbackbooks/lti-1-3-php-library (Packagist) | before 5.0 | GitHub Advisory Database |
| packback lti_1.3_tool_library | before 5.0.0 | NVD |
All scores
| GitHub_M | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Classification
What each source says
CVE List
LTI 1.3 Tool Library is a library used for building IMS-certified LTI 1.3 tool providers in PHP. Prior to version 5.0, the function used to generate random nonces was not sufficiently cryptographically complex. Users should upgrade to version 5.0 to receive a patch. There are currently no known workarounds.
GitHub Advisory Database
Impact
The function used to generate random nonces was not sufficiently cryptographically complex. As a result values may be predictable and tokens may be forgable.
Patches
Users should upgrade to version 5.0 immediately
Workarounds
None.
NVD (es)
LTI versión 1.3 Tool Library es una biblioteca usada para construir proveedores de herramientas LTI versión 1.3 certificados por IMS en PHP. En versiones anteriores a 5.0, la función usada para generar nonces aleatorios no era suficientemente compleja desde el punto de vista criptográfico. Los usuarios deben actualizar a versión 5.0 para recibir un parche. Actualmente no se presentan mitigaciones conocidas
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-31157 changed 2025-04-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-768m-5w34-2xf5 changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2022-31157 changed 2026-06-17 | Public domain |