Vulnerabilities in pkg:golang/github.com/darklynx/request-baskets
PACKAGECVE-2023-27163 is a MODERATE (CVSS 6.5) request-baskets vulnerable to server-side request vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Github.com/darklynx/request baskets libraries in the Go ecosystem. The issue involves request-baskets vulnerable to server-side request forgery. Remediation is available in the latest vendor maintenance releases.
pkg:golang/github.com/darklynx/request-baskets
Vulnerability advisories affecting package pkg:golang/github.com/darklynx/request-baskets. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-58g2-vgpg-335q | CVE-2023-27163 | MODERATE | request-baskets vulnerable to Server-Side Request Forgery |
CVE-2023-27163 at a Glance
Security Impact
CVSS: 6.5
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:N).
How to Fix CVE-2023-27163
To remediate this vulnerability, upgrade all affected Github.com/darklynx/request baskets 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 github.com/darklynx/request-baskets to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/darklynx/request-baskets
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-27163, inspect your project dependencies for Github.com/darklynx/request baskets:
inspect dependencies for github.com/darklynx/request-baskets
Analyze the terminal output to locate any version of Github.com/darklynx/request baskets in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), 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 Github.com/darklynx/request baskets, 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-2023-27163 Affected Github.com/darklynx/request baskets Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/darklynx/request-baskets
|
Go |
≤ 1.2.1
|
|
References
Frequently Asked Questions
What is CVE-2023-27163?
Which Github.com/darklynx/request baskets versions are affected?
What version fixes CVE-2023-27163?
Is github.com/darklynx/request-baskets affected?
What is the CVSS score of CVE-2023-27163?
What CWE is associated with CVE-2023-27163?
How can I check Go dependencies for CVE-2023-27163?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-58g2-vgpg-335q",
"modified" : "2023-04-07T22:47:43Z",
"published" : "2023-03-31T21:30:39Z",
"aliases" : [ "CVE-2023-27163" ],
"summary" : "request-baskets vulnerable to Server-Side Request Forgery",
"details" : "request-baskets up to v1.2.1 was discovered to contain a Server-Side Request Forgery (SSRF) via the component /api/baskets/{name}. This vulnerability allows attackers to access network resources and sensitive information via a crafted API request.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/darklynx/request-baskets"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.2.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-27163"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/b33t1e/3079c10c88cad379fb166c389ce3b7b3"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/darklynx/request-baskets"
}, {
"type" : "WEB",
"url" : "https://notes.sjtu.edu.cn/s/MUUhEymt7"
}, {
"type" : "WEB",
"url" : "http://packetstormsecurity.com/files/174128/Request-Baskets-1.2.1-Server-Side-Request-Forgery.html"
}, {
"type" : "WEB",
"url" : "http://packetstormsecurity.com/files/174129/Maltrail-0.53-Remote-Code-Execution.html"
}, {
"type" : "WEB",
"url" : "http://request-baskets.com"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-918" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-03-31T22:44:28Z",
"nvd_published_at" : "2023-03-31T20:15:00Z"
}
}