Vulnerabilities in pkg:npm/cassproject
PACKAGECVE-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.
pkg:npm/cassproject
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
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).
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.
npm install cassproject@1.5.8
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
CVE-2022-29229 Affected Cassproject Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
cassproject
|
npm |
< 1.5.8
|
1.5.8
|
References
Frequently Asked Questions
What is CVE-2022-29229?
Which Cassproject versions are affected?
What version fixes CVE-2022-29229?
Is cassproject affected?
What is the CVSS score of CVE-2022-29229?
What CWE is associated with CVE-2022-29229?
How can I check npm dependencies for CVE-2022-29229?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}