Vulnerabilities in pkg:npm/cassproject

PACKAGE
Advisory Identifier: GHSA-7qcx-4p32-qcmx
Advisory Summary

CVE-2022-29229 is a MODERATE (CVSS 6.3) missing cryptographic step vulnerability (CWE-325: Missing Cryptographic Step) affecting Cassproject libraries in the npm ecosystem. The issue involves missing cryptographic step in cassproject. Remediation is available by upgrading affected packages to version 1.5.8.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/cassproject

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/cassproject. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-7qcx-4p32-qcmx CVE-2022-29229 MODERATE Missing Cryptographic Step in cassproject

CVE-2022-29229 at a Glance

CVE Identifier CVE-2022-29229
GHSA Identifier GHSA-7qcx-4p32-qcmx
Severity MODERATE
CVSS v3.1 Base Score 6.3
CWE Classification CWE-325: Missing Cryptographic Step
Affected Product Cassproject
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 6.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2022-29229

To remediate this vulnerability, upgrade all affected Cassproject dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

cassproject fixed: 1.5.8
npm install cassproject@1.5.8
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls cassproject

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2022-29229, inspect your project dependencies using npm:

npm ls cassproject

Analyze the terminal output to locate any version of Cassproject in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.5.8), your application is affected.

Note: The npm ls cassproject command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-325: Missing Cryptographic Step, where the product does not implement a required step in a cryptographic algorithm, resulting in weaker encryption than advertised by the algorithm. In Cassproject, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact CaSS Library, (npm:cassproject) has a missing cryptographic step when storing cryptographic keys that can allow a server administrator access to an account’s cryptographic keys. This affects CaSS servers using standalone username/password authentication, which uses a method that expects e2e cryptographic security of authorization credentials. ### Patches The issue has been patched in 1.5.8, however, the vulnerable accounts are only resecured when the user next logs in using standalone authentication, as the data required to resecure the account is not available to the server. ### Workarounds The issue may be mitigated by using SSO or client side certificates to log in. Please note that SSO and client side certificate authentication does not have this expectation of no-knowledge credential access, and cryptographic keys are available to the server administrator. ### References There are no references at this time. ### For more information If you have any questions or comments about this advisory: * Open an issue in [the CaSS Project Github](https://github.com/cassproject/CASS/issues) * Email us at [the CaSS Project](mailto:cass@eduworks.com)

CVE-2022-29229 Affected Cassproject Versions

1 component(s)
Fixed Versions:
1.5.8
Product / Package Ecosystem Affected Versions Fixed Version
cassproject
npm
< 1.5.8
1.5.8

References

Frequently Asked Questions

What is CVE-2022-29229?
CVE-2022-29229 is a security vulnerability in Cassproject involving Missing Cryptographic Step in cassproject under CWE-325: Missing Cryptographic Step.
Which Cassproject versions are affected?
Affected versions include releases prior to 1.5.8 across affected packages: cassproject.
What version fixes CVE-2022-29229?
Upgrading to 1.5.8 (or the latest patched release for your respective branch) resolves the vulnerability.
Is cassproject affected?
Yes, cassproject is affected in releases prior to 1.5.8. Upgrade your dependency to 1.5.8 or later.
What is the CVSS score of CVE-2022-29229?
CVE-2022-29229 has a CVSS v3.1 base score of 6.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
What CWE is associated with CVE-2022-29229?
CVE-2022-29229 is classified under CWE-325: Missing Cryptographic Step (The product does not implement a required step in a cryptographic algorithm, resulting in weaker encryption than advertised by the algorithm.).
How can I check npm dependencies for CVE-2022-29229?
Run the dependency tree command: 'npm ls cassproject'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-7qcx-4p32-qcmx",
  "modified" : "2022-06-08T18:04:47Z",
  "published" : "2022-05-25T19:34:20Z",
  "aliases" : [ "CVE-2022-29229" ],
  "summary" : "Missing Cryptographic Step in cassproject",
  "details" : "### Impact\nCaSS Library, (npm:cassproject) has a missing cryptographic step when storing cryptographic keys that can allow a server administrator access to an account’s cryptographic keys. This affects CaSS servers using standalone username/password authentication, which uses a method that expects e2e cryptographic security of authorization credentials.\n\n### Patches\nThe issue has been patched in 1.5.8, however, the vulnerable accounts are only resecured when the user next logs in using standalone authentication, as the data required to resecure the account is not available to the server.\n\n### Workarounds\nThe issue may be mitigated by using SSO or client side certificates to log in. Please note that SSO and client side certificate authentication does not have this expectation of no-knowledge credential access, and cryptographic keys are available to the server administrator.\n\n### References\nThere are no references at this time.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [the CaSS Project Github](https://github.com/cassproject/CASS/issues)\n* Email us at [the CaSS Project](mailto:cass@eduworks.com)\n\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "cassproject"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.5.8"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/cassproject/CASS/security/advisories/GHSA-7qcx-4p32-qcmx"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-29229"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/cassproject/CASS"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cassproject/CASS/releases/tag/1.5.8"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-325" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-05-25T19:34:20Z",
    "nvd_published_at" : "2022-05-18T21:15:00Z"
  }
}