CVE-2022-31157
JSON

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 packageVersionsReported by
packbackbooks lti-1-3-php-library< 5.0CVE List
packbackbooks/lti-1-3-php-library (Packagist)before 5.0GitHub Advisory Database
packback lti_1.3_tool_librarybefore 5.0.0NVD

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Classification

CWE-327CWE-330

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

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

SourceRecordLicence
CVE ListCVE-2022-31157 changed 2025-04-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-768m-5w34-2xf5 changed 2023-11-08CC-BY-4.0
NVDCVE-2022-31157 changed 2026-06-17Public domain