LiveActive security incident?Get immediate response
CVE Record

CVE-2022-31157: Use of a Broken or Risky Cryptographic Algorithm in packbackbooks/lti-1-3-php-library

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.

HighCVSS 7.5Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2022-31157 affects PHP applications using packbackbooks/lti-1-3-php-library before 5.0. The library generated nonces with insufficient cryptographic strength, creating a high integrity risk for LTI 1.3 tool-provider integrations. The cited advisory says version 5.0 patches the issue and no workaround is known.

Executive priority

Prioritize remediation for any internet-facing LTI provider using the vulnerable library. The issue has a clear vendor fix and high integrity impact, but no cited active exploitation or workaround. Upgrade should be scheduled promptly through normal emergency change controls if exposed.

Technical view

The vulnerability is CWE-327, use of a broken or risky cryptographic algorithm. Affected versions before 5.0 use insufficiently complex random nonce generation. CVSS 3.1 is 7.5 with network exposure, low attack complexity, no privileges, no user interaction, and high integrity impact.

Likely exposure

Exposure is limited to systems that include packbackbooks/lti-1-3-php-library before version 5.0, especially PHP services acting as LTI 1.3 tool providers. The source bundle does not identify affected deployments, downstream products, or specific runtime configurations.

Exploitation context

The source bundle does not show active exploitation, and the CVE is not listed as KEV. The advisory describes the weakness and patch but does not provide exploitation details. Treat this as a credible integrity risk where the vulnerable library supports trust-sensitive LTI flows.

Researcher notes

Evidence is narrow but consistent: affected package, version boundary, weakness class, CVSS, and fix are stated. The sources do not document exploit maturity, affected configurations beyond versions before 5.0, or workaround details. Avoid inferring broader LTI platform impact without local dependency evidence.

Mitigation direction

  • Upgrade packbackbooks/lti-1-3-php-library to version 5.0 or later.
  • Check the GitHub advisory for any newer vendor guidance.
  • Redeploy affected PHP services after dependency upgrade.
  • Prioritize externally reachable LTI 1.3 tool-provider services.
  • Increase monitoring for unusual LTI authentication or launch integrity failures.

Validation and detection

  • Inventory PHP projects using packbackbooks/lti-1-3-php-library.
  • Review dependency manifests and lockfiles for versions below 5.0.
  • Confirm deployed artifacts include version 5.0 or later.
  • Map affected services to public routes and LTI integrations.
  • Record compensating monitoring if immediate upgrade is delayed.
Prepared
Confidence
high
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-327: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-31157 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.5CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N3.93.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.5High
CVSS 3.1 vector shape for CVE-2022-31157Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
packbackbookslti-1-3-php-library< 5.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-327 · source CWE mapping

Use of a Broken or Risky Cryptographic Algorithm

Use of a Broken or Risky Cryptographic Algorithm represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.