Vulnerability from bitnami_vulndb
Published
2024-03-06 10:58
Modified
2025-05-20 10:02
Summary
Failure to strip relative path components in net/url
Details
JoinPath and URL.JoinPath do not remove ../ path elements appended to a relative path. For example, JoinPath("https://go.dev", "../go") returns the URL "https://go.dev/../go", despite the JoinPath documentation stating that ../ path elements are removed from the result.
{
"affected": [
{
"package": {
"ecosystem": "Bitnami",
"name": "golang",
"purl": "pkg:bitnami/golang"
},
"ranges": [
{
"events": [
{
"introduced": "1.19.0-0"
},
{
"fixed": "1.19.1"
}
],
"type": "SEMVER"
}
],
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
}
]
}
],
"aliases": [
"CVE-2022-32190"
],
"database_specific": {
"cpes": [
"cpe:2.3:a:golang:go:1.19.0:-:*:*:*:*:*:*",
"cpe:2.3:a:golang:go:1.19.0:beta1:*:*:*:*:*:*",
"cpe:2.3:a:golang:go:1.19.0:rc1:*:*:*:*:*:*",
"cpe:2.3:a:golang:go:1.19.0:rc2:*:*:*:*:*:*",
"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*"
],
"severity": "High"
},
"details": "JoinPath and URL.JoinPath do not remove ../ path elements appended to a relative path. For example, JoinPath(\"https://go.dev\", \"../go\") returns the URL \"https://go.dev/../go\", despite the JoinPath documentation stating that ../ path elements are removed from the result.",
"id": "BIT-golang-2022-32190",
"modified": "2025-05-20T10:02:07.006Z",
"published": "2024-03-06T10:58:50.479Z",
"references": [
{
"type": "WEB",
"url": "https://go.dev/cl/423514"
},
{
"type": "WEB",
"url": "https://go.dev/issue/54385"
},
{
"type": "WEB",
"url": "https://groups.google.com/g/golang-announce/c/x49AQzIVX-s"
},
{
"type": "WEB",
"url": "https://pkg.go.dev/vuln/GO-2022-0988"
},
{
"type": "WEB",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-32190"
}
],
"schema_version": "1.5.0",
"summary": "Failure to strip relative path components in net/url"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…