GHSA-95F9-94VC-665H
Vulnerability from github – Published: 2022-07-06 00:00 – Updated: 2023-08-28 23:44
VLAI?
Summary
Path Traversal in Beego
Details
The leafInfo.match() function in Beego v2.0.3 and below uses path.join() to deal with wildcardvalues which can lead to cross directory risk.
Severity ?
9.8 (Critical)
{
"affected": [
{
"package": {
"ecosystem": "Go",
"name": "github.com/beego/beego"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.12.11"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "Go",
"name": "github.com/beego/beego/v2"
},
"ranges": [
{
"events": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.0.4"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2022-31836"
],
"database_specific": {
"cwe_ids": [
"CWE-22"
],
"github_reviewed": true,
"github_reviewed_at": "2022-07-06T20:01:19Z",
"nvd_published_at": "2022-07-05T15:15:00Z",
"severity": "CRITICAL"
},
"details": "The `leafInfo.match()` function in Beego v2.0.3 and below uses `path.join()` to deal with wildcardvalues which can lead to cross directory risk.",
"id": "GHSA-95f9-94vc-665h",
"modified": "2023-08-28T23:44:10Z",
"published": "2022-07-06T00:00:28Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-31836"
},
{
"type": "WEB",
"url": "https://github.com/beego/beego/issues/4961"
},
{
"type": "WEB",
"url": "https://github.com/beego/beego/pull/5025"
},
{
"type": "WEB",
"url": "https://github.com/beego/beego/pull/5025/commits/ea5ae58d40589d249cf577a053e490509de2bf57"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-95f9-94vc-665h"
},
{
"type": "PACKAGE",
"url": "https://github.com/beego/beego"
},
{
"type": "WEB",
"url": "https://pkg.go.dev/vuln/GO-2022-0569"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "Path Traversal in Beego"
}
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…