CVE-2022-2997: Snipe/snipe it Insufficient Session Expiration Vulnerability
MODERATECVE-2022-2997 is a MODERATE (CVSS 4.6) insufficient session expiration vulnerability (CWE-384: Session Fixation) affecting Snipe/snipe it libraries in the Packagist ecosystem. The issue involves insufficient session expiration in snipe/snipe-it. Remediation is available by upgrading affected packages to version 6.0.10.
CVE-2022-2997 at a Glance
Security Impact
CVSS: 4.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N).
How to Fix CVE-2022-2997
To remediate this vulnerability, upgrade all affected Snipe/snipe it dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade snipe/snipe-it to 6.0.10
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for snipe/snipe-it
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-2997, inspect your project dependencies for Snipe/snipe it:
inspect dependencies for snipe/snipe-it
Analyze the terminal output to locate any version of Snipe/snipe it in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.0.10), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-384: Session Fixation, where authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions. In Snipe/snipe it, 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-2997 Affected Snipe/snipe it Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
snipe/snipe-it
|
Packagist |
< 6.0.10
|
6.0.10
|
References
Frequently Asked Questions
What is CVE-2022-2997?
Which Snipe/snipe it versions are affected?
What version fixes CVE-2022-2997?
Is snipe/snipe-it affected?
What is the CVSS score of CVE-2022-2997?
What CWE is associated with CVE-2022-2997?
How can I check Packagist dependencies for CVE-2022-2997?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cmxc-9ghj-jp87",
"modified" : "2022-09-08T14:09:26Z",
"published" : "2022-08-26T00:03:29Z",
"aliases" : [ "CVE-2022-2997" ],
"summary" : "Insufficient Session Expiration in snipe/snipe-it ",
"details" : "Session Fixation in GitHub repository snipe/snipe-it prior to version 6.0.10. The session is not invalidated after a password change.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "snipe/snipe-it"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.0.10"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-2997"
}, {
"type" : "WEB",
"url" : "https://github.com/snipe/snipe-it/commit/6fde72a69335c80079363b7d26aa94e7f67400e1"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/snipe/snipe-it"
}, {
"type" : "WEB",
"url" : "https://huntr.dev/bounties/c09bf21b-50d2-49f0-8c92-49f6b3c358d8"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-384" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-08-30T20:54:45Z",
"nvd_published_at" : "2022-08-25T21:15:00Z"
}
}