CVE-2021-4075: Snipe/snipe it Server-Side Request Forgery Vulnerability
HIGHCVE-2021-4075 is a HIGH (CVSS 7.2) server-side request forgery vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Snipe/snipe it libraries in the Packagist ecosystem. The issue involves server-side request forgery in snipe/snipe-it. Remediation is available by upgrading affected packages to version 6.0.0-GM.
CVE-2021-4075 at a Glance
Security Impact
CVSS: 7.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2021-4075
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.0-GM
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-2021-4075, 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.0-GM), 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-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. 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-2021-4075 Affected Snipe/snipe it Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
snipe/snipe-it
|
Packagist |
< 6.0.0-GM
|
6.0.0-GM
|
References
Frequently Asked Questions
What is CVE-2021-4075?
Which Snipe/snipe it versions are affected?
What version fixes CVE-2021-4075?
Is snipe/snipe-it affected?
What is the CVSS score of CVE-2021-4075?
What CWE is associated with CVE-2021-4075?
How can I check Packagist dependencies for CVE-2021-4075?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-553q-hpvp-q8pc",
"modified" : "2021-12-07T21:24:53Z",
"published" : "2021-12-10T20:22:15Z",
"aliases" : [ "CVE-2021-4075" ],
"summary" : "Server-Side Request Forgery in snipe/snipe-it",
"details" : "Admin users on the external network can perform blind POST-based SSRF (issue requests on behalf of the server into the internal network) via the Slack Integration. This vulnerability is capable of port-scanning of the internal network, issue POST requests to web servers on the internal network which can be escalated to higher-impact.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "snipe/snipe-it"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.0.0-GM"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 5.3.3"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-4075"
}, {
"type" : "WEB",
"url" : "https://github.com/snipe/snipe-it/commit/4612b9e711b3ff5d2bcddbec5b18866d25f8e34e"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/snipe/snipe-it"
}, {
"type" : "WEB",
"url" : "https://huntr.dev/bounties/4386fd8b-8c80-42bb-87b8-b506c46597de"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-918" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2021-12-07T21:24:53Z",
"nvd_published_at" : "2021-12-06T21:15:00Z"
}
}