gsd-2022-26945
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
go-getter up to 1.5.11 and 2.0.2 allowed protocol switching, endless redirect, and configuration bypass via abuse of custom HTTP response header processing. Fixed in 1.6.1 and 2.1.0.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2022-26945",
"description": "HashiCorp go-getter before 2.0.2 allows Command Injection.",
"id": "GSD-2022-26945",
"references": [
"https://access.redhat.com/errata/RHSA-2022:5673",
"https://access.redhat.com/errata/RHSA-2022:5069",
"https://access.redhat.com/errata/RHSA-2022:6133",
"https://access.redhat.com/errata/RHSA-2022:6147",
"https://access.redhat.com/errata/RHSA-2022:6258",
"https://access.redhat.com/errata/RHSA-2022:6308",
"https://access.redhat.com/errata/RHSA-2022:6801",
"https://access.redhat.com/errata/RHSA-2022:6805",
"https://access.redhat.com/errata/RHSA-2022:6905",
"https://access.redhat.com/errata/RHSA-2022:7201",
"https://access.redhat.com/errata/RHSA-2022:7211",
"https://access.redhat.com/errata/RHSA-2022:7216",
"https://access.redhat.com/errata/RHSA-2022:7874",
"https://access.redhat.com/errata/RHSA-2022:9111"
]
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2022-26945"
],
"details": "go-getter up to 1.5.11 and 2.0.2 allowed protocol switching, endless redirect, and configuration bypass via abuse of custom HTTP response header processing. Fixed in 1.6.1 and 2.1.0.",
"id": "GSD-2022-26945",
"modified": "2023-12-13T01:19:39.597246Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2022-26945",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "n/a",
"version": {
"version_data": [
{
"version_value": "n/a"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "go-getter up to 1.5.11 and 2.0.2 allowed protocol switching, endless redirect, and configuration bypass via abuse of custom HTTP response header processing. Fixed in 1.6.1 and 2.1.0."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "n/a"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://discuss.hashicorp.com",
"refsource": "MISC",
"url": "https://discuss.hashicorp.com"
},
{
"name": "https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930",
"refsource": "MISC",
"url": "https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930"
}
]
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003cv1.6.1 || \u003e=v2.0.0 \u003cv2.1.0",
"affected_versions": "All versions before 1.6.1, all versions starting from 2.0.0 before 2.1.0",
"cvss_v2": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-77",
"CWE-937"
],
"date": "2022-06-01",
"description": "HashiCorp go-getter before 2.0.2 allows Command Injection.",
"fixed_versions": [
"v1.6.1",
"v2.1.0"
],
"identifier": "CVE-2022-26945",
"identifiers": [
"GHSA-x24g-9w7v-vprh",
"CVE-2022-26945"
],
"not_impacted": "All versions starting from 1.6.1 before 2.0.0, all versions starting from 2.1.0",
"package_slug": "go/github.com/hashicorp/go-getter",
"pubdate": "2022-05-26",
"solution": "Upgrade to versions 1.6.1, 2.1.0 or above.",
"title": "Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2022-26945",
"https://discuss.hashicorp.com",
"https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930",
"https://github.com/advisories/GHSA-x24g-9w7v-vprh"
],
"uuid": "b8146e20-ab32-44e0-a79a-ff063643ae15",
"versions": [
{
"commit": {
"sha": "0054847f032d201611cb592762fc6fd4fbfd5e9d",
"tags": [
"v2.0.0"
],
"timestamp": "20210104150104"
},
"number": "v2.0.0"
},
{
"commit": {
"sha": "f710948d90b08a7a6914c9267c8a65f57f361159",
"tags": [
"v1.6.1"
],
"timestamp": "20220519173544"
},
"number": "v1.6.1"
},
{
"commit": {
"sha": "31c3313ffd18b389e238d3edb9a00c951bd829e2",
"tags": [
"v2.1.0"
],
"timestamp": "20220523170440"
},
"number": "v2.1.0"
}
]
},
{
"affected_range": "\u003cv2.1.0",
"affected_versions": "All versions before 2.1.0",
"cvss_v2": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-77",
"CWE-937"
],
"date": "2023-02-09",
"description": "go-getter up to 1.5.11 and 2.0.2 allowed protocol switching, endless redirect, and configuration bypass via abuse of custom HTTP response header processing. Fixed in 1.6.1 and 2.1.0.",
"fixed_versions": [
"v2.1.0"
],
"identifier": "CVE-2022-26945",
"identifiers": [
"GHSA-x24g-9w7v-vprh",
"CVE-2022-26945"
],
"not_impacted": "All versions starting from 2.1.0",
"package_slug": "go/github.com/hashicorp/go-getter/gcs/v2",
"pubdate": "2022-05-26",
"solution": "Upgrade to version 2.1.0 or above.",
"title": "Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2022-26945",
"https://discuss.hashicorp.com",
"https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930",
"https://github.com/hashicorp/go-getter/pull/359",
"https://github.com/hashicorp/go-getter/pull/361",
"https://github.com/hashicorp/go-getter/commit/38e97387488f5439616be60874979433a12edb48",
"https://github.com/hashicorp/go-getter/commit/a2ebce998f8d4105bd4b78d6c99a12803ad97a45",
"https://pkg.go.dev/vuln/GO-2022-0586",
"https://github.com/advisories/GHSA-x24g-9w7v-vprh"
],
"uuid": "a784e927-7fb6-4ccd-91be-43b7942bfecf",
"versions": [
{
"commit": {
"sha": "31c3313ffd18b389e238d3edb9a00c951bd829e2",
"tags": [
"v2.1.0"
],
"timestamp": "20220523170440"
},
"number": "v2.1.0"
}
]
},
{
"affected_range": "\u003cv2.1.0",
"affected_versions": "All versions before 2.1.0",
"cvss_v2": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-77",
"CWE-937"
],
"date": "2023-02-09",
"description": "go-getter up to 1.5.11 and 2.0.2 allowed protocol switching, endless redirect, and configuration bypass via abuse of custom HTTP response header processing. Fixed in 1.6.1 and 2.1.0.",
"fixed_versions": [
"v2.1.0"
],
"identifier": "CVE-2022-26945",
"identifiers": [
"GHSA-x24g-9w7v-vprh",
"CVE-2022-26945"
],
"not_impacted": "All versions starting from 2.1.0",
"package_slug": "go/github.com/hashicorp/go-getter/s3/v2",
"pubdate": "2022-05-26",
"solution": "Upgrade to version 2.1.0 or above.",
"title": "Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2022-26945",
"https://discuss.hashicorp.com",
"https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930",
"https://github.com/hashicorp/go-getter/pull/359",
"https://github.com/hashicorp/go-getter/pull/361",
"https://github.com/hashicorp/go-getter/commit/38e97387488f5439616be60874979433a12edb48",
"https://github.com/hashicorp/go-getter/commit/a2ebce998f8d4105bd4b78d6c99a12803ad97a45",
"https://pkg.go.dev/vuln/GO-2022-0586",
"https://github.com/advisories/GHSA-x24g-9w7v-vprh"
],
"uuid": "aeea415f-8792-4798-92cd-8be2c7662e41",
"versions": [
{
"commit": {
"sha": "31c3313ffd18b389e238d3edb9a00c951bd829e2",
"tags": [
"v2.1.0"
],
"timestamp": "20220523170440"
},
"number": "v2.1.0"
}
]
},
{
"affected_range": "\u003cv2.1.0",
"affected_versions": "All versions before 2.1.0",
"cvss_v2": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-77",
"CWE-937"
],
"date": "2023-02-09",
"description": "go-getter up to 1.5.11 and 2.0.2 allowed protocol switching, endless redirect, and configuration bypass via abuse of custom HTTP response header processing. Fixed in 1.6.1 and 2.1.0.",
"fixed_versions": [
"v2.1.0"
],
"identifier": "CVE-2022-26945",
"identifiers": [
"GHSA-x24g-9w7v-vprh",
"CVE-2022-26945"
],
"not_impacted": "All versions starting from 2.1.0",
"package_slug": "go/github.com/hashicorp/go-getter/v2",
"pubdate": "2022-05-26",
"solution": "Upgrade to version 2.1.0 or above.",
"title": "Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2022-26945",
"https://discuss.hashicorp.com",
"https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930",
"https://github.com/hashicorp/go-getter/pull/359",
"https://github.com/hashicorp/go-getter/pull/361",
"https://github.com/hashicorp/go-getter/commit/38e97387488f5439616be60874979433a12edb48",
"https://github.com/hashicorp/go-getter/commit/a2ebce998f8d4105bd4b78d6c99a12803ad97a45",
"https://pkg.go.dev/vuln/GO-2022-0586",
"https://github.com/advisories/GHSA-x24g-9w7v-vprh"
],
"uuid": "644da738-5c74-4ee0-a868-05913a752139",
"versions": [
{
"commit": {
"sha": "31c3313ffd18b389e238d3edb9a00c951bd829e2",
"tags": [
"v2.1.0"
],
"timestamp": "20220523170440"
},
"number": "v2.1.0"
}
]
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:hashicorp:go-getter:2.0.2:*:*:*:*:*:*:*",
"cpe_name": [],
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:a:hashicorp:go-getter:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndIncluding": "1.5.11",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2022-26945"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "go-getter up to 1.5.11 and 2.0.2 allowed protocol switching, endless redirect, and configuration bypass via abuse of custom HTTP response header processing. Fixed in 1.6.1 and 2.1.0."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-77"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930",
"refsource": "MISC",
"tags": [
"Mitigation",
"Vendor Advisory"
],
"url": "https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930"
},
{
"name": "https://discuss.hashicorp.com",
"refsource": "MISC",
"tags": [
"Vendor Advisory"
],
"url": "https://discuss.hashicorp.com"
}
]
}
},
"impact": {
"baseMetricV2": {
"acInsufInfo": false,
"cvssV2": {
"accessComplexity": "LOW",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "PARTIAL",
"baseScore": 7.5,
"confidentialityImpact": "PARTIAL",
"integrityImpact": "PARTIAL",
"vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
"version": "2.0"
},
"exploitabilityScore": 10.0,
"impactScore": 6.4,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"severity": "HIGH",
"userInteractionRequired": false
},
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9
}
},
"lastModifiedDate": "2022-12-07T02:46Z",
"publishedDate": "2022-05-25T12:15Z"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…