CVE-2022-31157
HIGH 7.5CVSS 3.1LTI 1.3 Tool Library's function used to generate random nonces not sufficiently cryptographically complex before v5.0
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.
- Published
- 15 Jul 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-327CWE-330
- Also known as
- GHSA-768m-5w34-2xf5
- Sources
- NVDJSONOSV GHSA-768m-5w34-2xf5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | packback | lti_1.3_tool_librarycpe:2.3:a:packback:lti_1.3_tool_library:*:*:*:*:*:*:*:* |
< 5.0.0 | 5.0.0 |
| OSV | Packagist | packbackbooks/lti-1-3-php-library | < 5.0 | 5.0 |
References
- https://github.com/packbackbooks/lti-1-3-php-library/security/advisories/GHSA-768m-5w34-2xf5 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-31157 · ADVISORY
- https://github.com/packbackbooks/lti-1-3-php-library/commit/de19e8a0b28cdc7750fa3ca98471eeed26ba3e57 · WEB
- https://github.com/packbackbooks/lti-1-3-php-library · PACKAGE
- https://openid.net/specs/openid-connect-core-1_0.html#IDToken · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 15 Jul 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 15 Jul 2022)